-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incoming call notifications not received in IOS #457
Comments
Hi @aparnakasi16 thanks for reaching out. Is this a real physical iPad or a simulated device? |
Also, have you invoked |
Hi @mhuynh5757 , Yes it is a physical iPad and I have also invoked voice.initializePushRegistry at the very beginning of my app. I'am able to manually send voip notifications through icloud, so there seems to be no issue with my voip certificate and integration as well. Yet I'm unable to receive any notification on incoming call. Is there something I'm missing in my backend ? Probably in When an incoming call comes in weebhook ? |
Hi @mhuynh5757 , Thank you for replying . I am able to receive incoming call notification. Changed my backend endpoint when an incoming call comes to make a client call. But when the app is in killed state, I am unable to receive any notification. Could you please give me an input on this ? |
I can help you |
@aparnakasi16 you were able to perform |
Yes, that's the case. Receiving incoming call when app is in foreground as well as background. But when the app is killed, I'm not able to receive. |
I see. And since the app is killed, it will be hard to get Xcode debug logs from your application. If you can try, will Xcode show any crashes or logs for this scenario? I understand if not. |
Please follow my fork repository. |
Issue
Pre-submission Checklist
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Description
I have successfully registered to twilio push notification with VOIP registry token. But my application is unable to receive any notification on incoming call. Even in logs, I am unable to notice callInvite being triggered. No action is visible on Xcode Logs.
CallSid : [CA8627ad637c097de70f5a27c513c4b871]
Reproduction Steps
Expected Behavior
On making an incoming call to my twilio number, incoming call notification was expected.
Actual Behavior
Application stays idle. No action or logs. No notification is received
Reproduction Frequency
Multiple attempts
Screenshots
Xcode logs :
TRACE:Twilio:Platform : Registering for Twilio push notifications
Access Token: 'access token'
VoIP Registry Token: 'VOIP registry token'
DEBUG:Twilio:Platform : Using default home region
INFO:Twilio:Platform : Background task started for registration/unregistration, identifer = 12
DEBUG:Twilio:Platform : Register for push notifications.
Access token saved to AsyncStorage
DEBUG:Twilio:Platform : Completed registration request.
DEBUG:Twilio:Platform : Registration location: https://ers.us1.twilio.com/v1/registrations/xxxxxx
INFO:Twilio:Platform : Inside register:deviceToken:completion:, registered for Twilio push notifications.
'voice registration result', { status: 'fulfilled', value: undefined }
registration/register/fulfilled
loginAndRegister/fulfilled
DEBUG:Twilio:Platform : Ending registration/unregistration background task, identifier = 12
DEBUG:Twilio:Platform : Registration/unregistration background task ended
Software and Device Information
Please complete the following information.
Additional Context
When an incoming call comes in, do I need to add a webhook with any info? if I am missing.
Is there any backend code required to trigger notification
The text was updated successfully, but these errors were encountered: