datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
272 stars 229 forks source link

pjsip module - background mode not receive incoming call in iOS #134

Closed tribeAppMobile closed 5 years ago

tribeAppMobile commented 5 years ago

For the following code in pjsip.js

endpoint.on("call_received", (call) => { dispatch(onCallReceived(call)) })

In Android, pjsip module still can receive incoming call while in background mode.

But, in IOS the event callback not fires. Still after i click the apps in IOS, then the incoming call will be received. Are there any setting have to be configured in iOS ? I have add the voip string in info.plist background UI.

Any solution ?

datso commented 5 years ago

https://github.com/datso/react-native-pjsip/issues/111

nguyentuanit97 commented 5 years ago

any ideas?