Open jkjan opened 4 years ago
Seems to be a permission problem with WebView. Take a look at https://stackoverflow.com/questions/40659198/how-to-access-the-camera-from-within-a-webview https://github.com/react-native-community/react-native-webview/issues/508 https://github.com/googlesamples/android-PermissionRequest
You can also use the android example (explained here) https://github.com/googlecreativelab/teachablemachine-community/issues/116
Edit: & https://github.com/googlecreativelab/teachablemachine-community/pull/146
I am using WebView to use this library, but it does not recognize a phone camera as a webcam, and log says "Could not open your camera. You may have denied access." while this app has a permission to the camera.
Is there a way that I can use teachable machine on Android?
This is a code I used on Android :