Merge pull request #14 from gustavo-em/permisssion_accept

Option in webview to request permission just one time
This commit is contained in:
Tiago Jacobs 2022-06-16 10:43:33 -03:00 committed by GitHub
commit abd7254b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,7 @@ export const BigBlueButtonMobile = ({
onMessage={(msg) => handleWebviewMessage(thisInstanceId, webViewRef, msg)}
applicationNameForUserAgent="BBBMobile"
allowsInlineMediaPlayback={true}
mediaCapturePermissionGrantType={'grant'}
onLoadEnd={(content: any) => {
/*in case of success, the property code is not defined*/
if (typeof content.nativeEvent.code !== 'undefined') {