ReactNative Troubleshooting
WebView Not Loading
- Ensure the device has an active internet connection.
- Check if the SDK URL (
https://www.glamar.io/sdk
) is accessible.
Camera Permission Issues
- Verify that camera permission is granted in Android settings.
- Ensure
onPermissionRequest
in MainActivity.java
correctly grants camera permissions.
WebView Communication Not Working
- Use
console.log(event.nativeEvent.data)
inside handleMessage
to debug messages received from the WebView.