Skip devices with harwarde level LEGACY
This commit is contained in:
@@ -18,10 +18,13 @@ Before opening an issue, make sure you try the following:
|
||||
3. Check your Swift version. react-native-vision-camera requires a minimum Swift version of **5.2**.
|
||||
4. Make sure you have created a Swift bridging header in your project.
|
||||
1. Open your project with Xcode (`Example.xcworkspace`)
|
||||
2. In the menu-bar, press **File** > **New** > **File** (<kbd>⌘</kbd><kbd>N</kbd>)
|
||||
2. In the menu-bar, press **File** > **New** > **File** (<kbd>⌘</kbd> + <kbd>N</kbd>)
|
||||
4. Use whatever name you prefer, e.g. `File.swift`, and press **Create**
|
||||
5. Press **Create Bridging Header** when promted.
|
||||
5. If you're experiencing weird behaviour, check the logs in Xcode to find out more.
|
||||
|
||||
## Android
|
||||
|
||||
1. Since the Android implementation uses the not-yet fully stable **CameraX** API, make sure you've browsed the [CameraX issue tracker](https://issuetracker.google.com/issues?q=componentid:618491%20status:open) to find out if your issue is a limitation by the **CameraX** library even I cannot get around.
|
||||
2. If you're experiencing weird behaviour, check the logs in Android Studio/Logcat (<kbd>⌘</kbd> + <kbd>6</kbd>) to find out more.
|
||||
3. If a camera device is not being returned by `getAvailableCameraDevices()`, make sure it meets the minimum requirements - that is minum supported harwdware level of `LIMITED` and above. See [this section in the Android docs](https://developer.android.com/reference/android/hardware/camera2/CameraDevice) for more information.
|
||||
|
Reference in New Issue
Block a user