Member 14946640 Ответов: 0

Почему приложение ionic 3 не запрашивает разрешения для камеры и микрофона на платформе iOS?


Hi,

I'm currently working on one hybrid app using ionic 3. In this application, I have implemented a video calling interface using WebRTC apis. Its correctly working for android side but for iOS I'm encountering an error at the time of call acceptance. We are using iosrtc Cordova Plugin for iOS purpose. When callee tries to answer a call, console is showing error as : 

'[1269:40158] Check in status usermedia error [object CustomEvent]

2020-09-23 13:29:55.083365+0530 LMG[1269:40158] ERROR: [2020-09-23T07:59:55.082Z][ERROR]apiRTC(WebRTCCall) Failed to get access to local media. Error code was undefined

2020-09-23 13:29:55.083816+0530 LMG[1269:40158] ERROR: [2020-09-23T07:59:55.082Z][ERROR]apiRTC(WebRTCCall) [object Object]'

Clearly from error message, it appears to be camera/microphone permissions issue. Although both camera and microphone permissions have been added in plist file along with descriptions. Still when application opens up, it's not asking user for these two required permissions. 

Could someone put a light on this issue and provide required solution?

Thanks!


Что я уже пробовал:

I have been added camera and microphone permissions with its description in plist file but still it not asking for required permissions when app is opens up.

0 Ответов