iOS SDK - Calls not connecting while app is not running.
RéponduHow to receive a call while app is not running? and how to notify user on incoming calls?
We are following the steps mentioned in the documentation here: https://hub.openrainbow.com/#/documentation/doc/sdk/ios/api/Audio_Video_Call
but its not working.
Thanks in advance.
-
Hello Teena,
Your application must be "Push ready" if you want to receive a call in background mode.
- Apple documentation : https://developer.apple.com/notifications/
- How to setup your app on Rainbow API Hub with sandbox platfom : https://hub.openrainbow.com/#/documentation/doc/sdk/cli/tutorials/Managing_applications (look at this section "ADDING PUSH NOTIFICATIONS FOR YOUR ANDROID OR IOS APPLICATION")
- How to setup push notifications in Rainbow iOS SDK https://hub.openrainbow.com/#/documentation/doc/sdk/ios/guides/Getting_Started (look at this section "PUSH NOTIFICATIONS SETUP")
Best regards,
Joseph -
Hi Gopal,
We will improve our documentation to help you better.
In the meantime, here are additionnal information that could help you identifying on which steps you have the issue.
Could you follow this guide and see if it works:
SDK IOS Push mode in action:
- Developer needs an apple developer account
- Development environment needs to be configured for push mode (Apple has a dev tool ‘pusher’ that developer can use to see if their environment is correctly configured:
- Apple link: Apple documentation : https://developer.apple.com/notifications/
- Developer needs to get the correct push certificates (IM, VOIP) from Apple
- Development certificates have to be used on our Sandbox platform (with a Rainbow application created on the sandbox platform)
- Production certificates have to be used on our Production platform (with a Rainbow application created on the production platform)
- Developer needs to register a Rainbow application
- For development, on our Sandbox platform using the Sandbox developer account + Rainbow CLI tool
- For production, on our Production platform using the developer Rainbow account + Rainbow Hub
- Certificates have to be registered with the Rainbow application
- For development, using the Rainbow CLI on the development application
- For production, using the Rainbow HUB on the production application
- SDK should be initialized with the Rainbow application ID
- For development, appid can be found using the Rainbow CLI with the development application
- For production, appid can be found using the Rainbow HUB with the production application
- Enable Push with the SDK IOS
- Finally, Rainbow application has to be deployed
- For development, nothing to do, application is automatically deployed on the sandbox
- For production, application has to be deployed by the developer (pay-as-you-go / business).
-
We added some information on how to generate certificates compliant with Rainbow
https://support.openrainbow.com/hc/fr/community/posts/360001806899-iOS-notification-issue
Hope it will help,
Regards,
Olivier
Vous devez vous connecter pour laisser un commentaire.
Commentaires
4 commentaires