You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -71,17 +72,19 @@ async function requestCameraPermissionAsync() : Promise<void> {
71
72
}
72
73
}
73
74
74
-
// Override the VideoTexture.CreateFromWebCamAsync to insert a camera permissions request. It would be cleaner to do this directly in the NativeCamera implementation, but there are a couple problems with that:
75
-
// 1. React Native does not provide a way to hook into the permissions request result (at least on Android).
76
-
// 2. If it is done on the native side, then we need one implementation per platform.
// Override the navigator.mediaDevices.getUserMedia to insert a camera permissions request. It would be cleaner to do this directly in the NativeCamera implementation, but there are a couple problems with that:
77
+
// 1. React Native does not provide a way to hook into the permissions request result (at least on Android).
78
+
// 2. If it is done on the native side, then we need one implementation per platform.
0 commit comments