tariqyounis Active Member Licensed User Longtime User Oct 3, 2021 #1 hello all; how to ask for permission in b4i to access my camera and mic from the iPhone in a webview?
hello all; how to ask for permission in b4i to access my camera and mic from the iPhone in a webview?
Erel B4X founder Staff member Licensed User Longtime User Oct 3, 2021 #2 Have you added these descriptions? Code: Copy #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string> #PlistExtra:<key>NSMicrophoneUsageDescription</key><string>Record video.</string> Try it. Upvote 0
Have you added these descriptions? Code: Copy #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string> #PlistExtra:<key>NSMicrophoneUsageDescription</key><string>Record video.</string> Try it.
tariqyounis Active Member Licensed User Longtime User Oct 4, 2021 #3 Erel said: Have you added these descriptions? Code: Copy #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string> #PlistExtra:<key>NSMicrophoneUsageDescription</key><string>Record video.</string> Try it. Click to expand... I tried it. It is now asking me for the premises to access the camera and the mic. but still there is no picture is coming. I tried the same website from b4a webview and it is working ok. any advice? Upvote 0
Erel said: Have you added these descriptions? Code: Copy #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string> #PlistExtra:<key>NSMicrophoneUsageDescription</key><string>Record video.</string> Try it. Click to expand... I tried it. It is now asking me for the premises to access the camera and the mic. but still there is no picture is coming. I tried the same website from b4a webview and it is working ok. any advice?
Erel B4X founder Staff member Licensed User Longtime User Oct 4, 2021 #4 This is not a permission issue. Support for WebRTC is problematic with WKWebView. Upvote 0