glocore

Results 32 comments of glocore

@cmendes0101 @datso any updates on this? I figured it out for iOS and have sent out a [PR](https://github.com/datso/react-native-pjsip/pull/157) for it, but couldn't figure it out for Android.

@enisit were you able to find a solution for this?

@tunguyenbhtech I'm also facing this issue, were you able to make it work with @cmendes0101 's hack?

@tunguyenbhtech I was somewhat able to make it work using his fork. If you're using push notifications to handle your incoming calls, then note that `AppState` will report the app...

@tophed what did you end up doing here? The NativeModules solution above doesn't seem to work for me

You'll need to wait for the `didActivateAudioSession` event to fire before actually accepting the call, otherwise your library may fail to get control over the audio. [(issue comment)](https://github.com/ianlin/react-native-callkit/issues/64#issuecomment-448188902)

@henrikbjorn were you able to figure this out? Are you using the [react-native-pjsip](https://github.com/datso/react-native-pjsip) library? I'm working on a SIP calling app that uses that library.

From what I've read ([link](https://stackoverflow.com/q/51304225/7414945), [link](https://forums.developer.apple.com/thread/71080)), CallKit will show the native UI when the phone rings in the unlocked state, but switches to the app view once the user answers...

I'm no expert, but I believe this can't be done on iOS, since they don't let you draw over the lock screen like on Android.