react-native-webrtc / react-native-callkit

#deprecated iOS 10 new CallKit framework for React Native
ISC License
122 stars 67 forks source link

Show custom UI after answer call from lock screen #24

Open bsiddiqui opened 6 years ago

bsiddiqui commented 6 years ago

If a user answers a call from the lock screen, they will see the native iPhone call UI instead of the custom UI the app displays.

They then have to click the button on the bottom right with the app name ("HDC" in the screenshot) to see the app UI.

If the phone is unlocked, answering the call allows you to route to the app UI. Is there a way we can display app UI after a user answers the call from the lock screen or do you not have permission for some reason since the phone is locked?

ianlin commented 6 years ago

I think it is the default behaviour and I'm unsure if it can be modified.

bsiddiqui commented 6 years ago

@ianlin messenger, whatsapp, etc don't have this - do you think they're using something custom instead of callkit?

ercpereda commented 6 years ago

Hello @ianlin @bsiddiqui there is something new about this topic?

aarkalyk commented 6 years ago

Hi @ercpereda it's technically impossible in iOS.

ismaiI1 commented 6 years ago

hey @bsiddiqui, which method calling when "HDC" button pressed? :) My app crashed when i touch this button.

LFSCamargo commented 6 years ago

Yeah i need to do this also

glocore commented 5 years ago

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.