Open jancabadaj opened 1 year ago
iOS
resolves #1166
If the app uses WebRTC, the user is initially prompted for permission twice, and then prompted again each time the app is restarted.
The solution is inspired by react: https://github.com/react-native-webview/react-native-webview/pull/2257
I tested the changes in a project that is using WebRTC camera streaming.
(platform)
(android)
Works for me, for what its worth!
I would consider setting the default to "grant" because nobody wants the repeated permission request.
Platforms affected
iOS
Motivation and Context
resolves #1166
Description
If the app uses WebRTC, the user is initially prompted for permission twice, and then prompted again each time the app is restarted.
The solution is inspired by react: https://github.com/react-native-webview/react-native-webview/pull/2257
Testing
I tested the changes in a project that is using WebRTC camera streaming.
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)