opentok / opentok-react-native

OpenTok React Native - a library for OpenTok iOS and Android SDKs
https://tokbox.com/
MIT License
210 stars 155 forks source link

com.opentok.android.Camera2VideoCapturer.initCamera #697

Closed elie-chaaban closed 9 months ago

elie-chaaban commented 10 months ago

image image

Hello,

I am getting these issues on Android only

Fatal Exception: java.lang.SecurityException validateClientPermissionsLocked:1215: Caller "com.sohati.sohatidoc" (PID 10000, UID 32085) cannot open camera "1" without camera permission

"opentok-react-native": "^0.21.3",
"expo": "49.0.6",
"react": "18.2.0",
"react-native": "0.72.5",
marinaserranomontes commented 9 months ago

Hi @elie-chaaban,

This issue should be fixed with this change: https://github.com/opentok/opentok-react-native/pull/687 Please, could you retest with the latest version to confirm the issue was resolved?

Thanks.

elie-chaaban commented 9 months ago

Hello,

Yes, I am not getting anymore this error.