twilio / voice-quickstart-ios

Twilio Voice Quickstart for iOS with Swift
MIT License
183 stars 97 forks source link

Unable to open app when phone call is received from locked state. #473

Closed vaibhavtech1302 closed 3 years ago

vaibhavtech1302 commented 3 years ago

I wan't to run some service sdk and functionality from app when user receive call but that need to run when app is opened so I wan't to open app in case of user received call in terminated and locked state as well. Please let me know how I can open app when user receive call in locked state.

This is for iOS application and version 13.0 or greater

Thanks

bobiechen-twilio commented 3 years ago

Hi @vaibhavtech1302

The quickstart sample app should be able to let you receive incoming call when the app is in the background or when the device is locked. Once the call is answered, in the system call app you should see a button letting you go to your app (passcode/Touch ID/Face ID will be needed if the device was locked).

Cheers, -bobie