teslamotors / react-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.
MIT License
2.48k stars 587 forks source link

bug: Android v9 or lower doesn't work #438

Open renequez opened 2 years ago

renequez commented 2 years ago

Describe the bug Capture doesn't work on devices with Android version lower than 10. It literally doesn't do anything, no picture, no error either. Logging the capture function (either onBottomButtonPressed on CameraScreen, or capture() on Camera component) returns the taken picture details on Android 10 and higher versions, whereas on lower versions nothing happens.

To Reproduce Basic camera screen tested on S7 which has Android 8, on S8 with Android 9, also on emulators of Pixel 5 with all versions.

Additional context "react-native": "0.66.4", "react-native-camera-kit": "^12.0.0"

renequez commented 2 years ago

Is this library not maintained anymore?

savv commented 2 years ago

(Not a maintainer, just reporting back for others.)

The example app works fine for me on the following emulators:

AdamSheaHewett commented 2 years ago

I'm getting this problem on all emulators...

iOS works great