Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Black map on iOS 8 simulator #3544

Closed
SERCHAT opened this issue Jun 25, 2024 · 1 comment
Closed

[Bug]: Black map on iOS 8 simulator #3544

SERCHAT opened this issue Jun 25, 2024 · 1 comment

Comments

@SERCHAT
Copy link

SERCHAT commented Jun 25, 2024

No description provided.

Copy link

Lint failed 😭

Please fix the errors in your code example - More info.:

error: '../../Store/AppStore' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:4:1:
  2 | import React, { useCallback, useEffect } from 'react';
  3 | import MapboxGL, { LocationPuck } from '@rnmapbox/maps'
> 4 | import useAppStore from '../../Store/AppStore';
    | ^
  5 | import { shallow } from 'zustand/shallow';
  6 | import PScene from '../../Components/PScene';
  7 | import uuid from 'react-native-uuid'


error: '../../Components/PScene' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:6:1:
  4 | import useAppStore from '../../Store/AppStore';
  5 | import { shallow } from 'zustand/shallow';
> 6 | import PScene from '../../Components/PScene';
    | ^
  7 | import uuid from 'react-native-uuid'
  8 | import Camera from './components/Camera';
  9 | import UserLocation from './components/UserLocation';


error: './components/Camera' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:8:1:
   6 | import PScene from '../../Components/PScene';
   7 | import uuid from 'react-native-uuid'
>  8 | import Camera from './components/Camera';
     | ^
   9 | import UserLocation from './components/UserLocation';
  10 | import ParkingWidget from './components/ParkingWidget';
  11 | import NavigateToPoint from './components/NavigateToPoint';


error: './components/UserLocation' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:9:1:
   7 | import uuid from 'react-native-uuid'
   8 | import Camera from './components/Camera';
>  9 | import UserLocation from './components/UserLocation';
     | ^
  10 | import ParkingWidget from './components/ParkingWidget';
  11 | import NavigateToPoint from './components/NavigateToPoint';
  12 | import ClusterPoints from './components/ClusterPoints';


error: './components/ParkingWidget' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:10:1:
   8 | import Camera from './components/Camera';
   9 | import UserLocation from './components/UserLocation';
> 10 | import ParkingWidget from './components/ParkingWidget';
     | ^
  11 | import NavigateToPoint from './components/NavigateToPoint';
  12 | import ClusterPoints from './components/ClusterPoints';
  13 | import { useTheme } from '../../hooks/useTheme';


error: './components/NavigateToPoint' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:11:1:
   9 | import UserLocation from './components/UserLocation';
  10 | import ParkingWidget from './components/ParkingWidget';
> 11 | import NavigateToPoint from './components/NavigateToPoint';
     | ^
  12 | import ClusterPoints from './components/ClusterPoints';
  13 | import { useTheme } from '../../hooks/useTheme';
  14 | import SearchBoxWidget from './components/SearchBoxWidget/SearchBoxWidget';


error: './components/ClusterPoints' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:12:1:
  10 | import ParkingWidget from './components/ParkingWidget';
  11 | import NavigateToPoint from './components/NavigateToPoint';
> 12 | import ClusterPoints from './components/ClusterPoints';
     | ^
  13 | import { useTheme } from '../../hooks/useTheme';
  14 | import SearchBoxWidget from './components/SearchBoxWidget/SearchBoxWidget';
  15 | import { Keyboard, Platform, StatusBar } from 'react-native';


error: '../../hooks/useTheme' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:13:1:
  11 | import NavigateToPoint from './components/NavigateToPoint';
  12 | import ClusterPoints from './components/ClusterPoints';
> 13 | import { useTheme } from '../../hooks/useTheme';
     | ^
  14 | import SearchBoxWidget from './components/SearchBoxWidget/SearchBoxWidget';
  15 | import { Keyboard, Platform, StatusBar } from 'react-native';
  16 | import { setAdjustNothing, setAdjustUnspecified } from 'rn-android-keyboard-adjust';


error: './components/SearchBoxWidget/SearchBoxWidget' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:14:1:
  12 | import ClusterPoints from './components/ClusterPoints';
  13 | import { useTheme } from '../../hooks/useTheme';
> 14 | import SearchBoxWidget from './components/SearchBoxWidget/SearchBoxWidget';
     | ^
  15 | import { Keyboard, Platform, StatusBar } from 'react-native';
  16 | import { setAdjustNothing, setAdjustUnspecified } from 'rn-android-keyboard-adjust';
  17 | import PendingNavigationController from './components/PendingNavigationController';


error: './components/PendingNavigationController' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:17:1:
  15 | import { Keyboard, Platform, StatusBar } from 'react-native';
  16 | import { setAdjustNothing, setAdjustUnspecified } from 'rn-android-keyboard-adjust';
> 17 | import PendingNavigationController from './components/PendingNavigationController';
     | ^
  18 | import FindMeButton from './components/FindMeButton';
  19 | import { LOG } from '../../Core/Logger';
  20 | import SellectedAreaInfoBottomSheet from './components/SellectedAreaInfoBottomSheet';


error: './components/FindMeButton' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:18:1:
  16 | import { setAdjustNothing, setAdjustUnspecified } from 'rn-android-keyboard-adjust';
  17 | import PendingNavigationController from './components/PendingNavigationController';
> 18 | import FindMeButton from './components/FindMeButton';
     | ^
  19 | import { LOG } from '../../Core/Logger';
  20 | import SellectedAreaInfoBottomSheet from './components/SellectedAreaInfoBottomSheet';
  21 | import FilterWidget from './components/FiltersWidget/FilterWidget';


error: '../../Core/Logger' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:19:1:
  17 | import PendingNavigationController from './components/PendingNavigationController';
  18 | import FindMeButton from './components/FindMeButton';
> 19 | import { LOG } from '../../Core/Logger';
     | ^
  20 | import SellectedAreaInfoBottomSheet from './components/SellectedAreaInfoBottomSheet';
  21 | import FilterWidget from './components/FiltersWidget/FilterWidget';
  22 | function MapScreen() {


error: './components/SellectedAreaInfoBottomSheet' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:20:1:
  18 | import FindMeButton from './components/FindMeButton';
  19 | import { LOG } from '../../Core/Logger';
> 20 | import SellectedAreaInfoBottomSheet from './components/SellectedAreaInfoBottomSheet';
     | ^
  21 | import FilterWidget from './components/FiltersWidget/FilterWidget';
  22 | function MapScreen() {
  23 | 


error: './components/FiltersWidget/FilterWidget' import is restricted from being used by a pattern. Repo example should complete - it should not use files from your project (no-restricted-imports) at example.tsx:21:1:
  19 | import { LOG } from '../../Core/Logger';
  20 | import SellectedAreaInfoBottomSheet from './components/SellectedAreaInfoBottomSheet';
> 21 | import FilterWidget from './components/FiltersWidget/FilterWidget';
     | ^
  22 | function MapScreen() {
  23 | 
  24 |     const { colorScheme } = useTheme()


14 errors found.```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant