Posts

Post not yet marked as solved
1 Replies
1.1k Views
We are using VoIP Notification for generating Video Call. Below is the demo cURL that we are using  curl --location --request POST 'https://api.push.apple.com/3/device/{DEVICE_TOKEN}' \--header 'apns-priority: 10' \--header 'apns-expiration: 1667281936' \--header 'apns-push-type: voip' \--header 'apns-topic: {BUNDLE_ID}.voip' \--header 'Content-Type: application/x-www-form-urlencoded' \--header 'Authorization: Bearer {BEARER_TOKEN}’ \--data-raw '{ "pushType": "push_video_chat",  "extraInfo": {   "callerID": 415 }}' The scenario is coming for production url, if user is in Airplane Mode and he receives a VoIP notification. Now even if we have set the apns-expiration to current EPOCH_TIME + 50 then after 1 minute if we disable airplane mode even then user receives the VoIP notification. The same scenario works fine when we are checking it on sandbox environment.  Please help if anyone has encountered this issue previously.
Posted Last updated
.