Onesignal-ios-sdk: VoIP push notification not appeared in device.

Created on 2 Oct 2019  路  6Comments  路  Source: OneSignal/OneSignal-iOS-SDK

Description:

I followed the same steps of OneSignal documents. But when I am sending VoIP notification using CURL command by passing separate VoIP app's player id, I am not getting VoIP push notification. But when I am using "Pusher" app to send VoIP notification, I am receiving VoIP notification.

Environment

  1. I am using iOS 11.2.6 and OneSignal Latest Version.
  2. Using CocoaPods.
Need More Information

All 6 comments

I am having the same problem since latest updates. Voip push is working at production but there is a problem at sandbox pushes. As you said, it is working with the Pusher app.

Please follow our issue template. Thanks.

Edit: also, please note that In iOS 13+, PushKit can only be used for VOIP calls. You can鈥檛 use it as a method for ensuring the app starts up in the background. Can you explain how you鈥檙e using PushKit?

@rgomezp , I mentioned above which iOS version I am using. I am not getting VoIP push notification in iOS 11.2.6 in Development mode.

1 - Make sure the push token from pushkit is valid and uploaded to a separate OneSignal app via our API Add A Device POST call

You must use a push kit registered push token and upload it to OneSignal via our API Add a device call. A normal push token from our SDK does not work with voip.

2 - Make sure you uploaded a VOIP PUSH CERTIFICATE from Apple. See step 2 on this page: https://documentation.onesignal.com/docs/voip-notifications

3 - If you are still having issues, you need to turn on logging (use our setLogLevel method to VERBOSE) for your app and share with us the following:

1 - specifically where you get the pushkit push token and what it is
2 - the API call you use to register the device with OneSIgnal using that push token
3 - the call you make to this device to send the voip push
4 - the log from the device when it receives this voip push notification.

@KishanVyas ,
I understand. Can you explain how you're using PushKit (e.g: what are you using it for?)

Closing due to no response

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0x7fs picture 0x7fs  路  6Comments

huahengling picture huahengling  路  5Comments

basememara picture basememara  路  4Comments

chmiiller picture chmiiller  路  6Comments

dirkoswanepoel picture dirkoswanepoel  路  5Comments