Closed ynnob closed 10 months ago
This start to be a very old version. we should check the minimum version required by cameraX now and upgrade our minimum android version too. As we rely on cameraX please refer to this minimum version.
This start to be a very old version. we should check the minimum version required by cameraX now and upgrade our minimum android version too. As we rely on cameraX please refer to this minimum version.
According to cameraX they support sdk 21+ (link)
Make sure you have a miniSdkVersion with 21 or higher in your android/app/build.gradle file, because the camera2 API which
CameraX used only support Android 5.0 or above.
Should i open an issue with them instead?
CameraX is not working on 21 sdk. We have upgraded the version. This should now work correctly.
Steps to Reproduce
Open the camera on an old android device. The view will not get initialized because an platform exception is thrown and therefore the StreamSubscription<MediaCapture?> is never subscribed.
Exception captured by Firebase Crashlytics:
About your device
Company: Asus Model: The New PadFone Infinity (A86) Orientation: Portrait FreeRAM: 584.69 MB Free Storage: 3.3 GB
OS: Version: Android 5.0.2 Orientation: Portrait Rooting: No
Your flutter version
CamerAwesome Version
Version: 1.4.0