App not receiving VOIP after x time on iOS 10.3 >
Asked Answered
A

3

6

I've got a project I'm working on which uses VOIP notifications to "wake up" apps that have been put into background/terminated. These notifications are sent periodically, and everything seemed to work fine until recent iOS updates.

It appears that after a certain amount of time in which the app has been in the background (happens to some users after 5 minutes, others after 20), the devices no longer process any code after receiving the voip notifications.

I've read a bit in apple dev forums and some other devs are running into similar issues, all speculate if its related to the new iOS updates (10.3.1/10.3.2).

Has anyone else run into this issue, and if so, have you been able to solve it?

Thanks!

Anatto answered 6/7, 2017 at 7:31 Comment(2)
Hi! did you find solution? how did you fix it?Underslung
Have you found any solutions for that?Whiny
R
1

This is the new normal on latest iOS versions.

You should begin to use push notifications.

Here is a guide from Apple.

Rundell answered 17/7, 2017 at 18:26 Comment(0)
A
0

What ended up seeming to be the fix was updating to a newer version of socketio library.

Anatto answered 18/7, 2017 at 0:11 Comment(0)
H
-1

You can try debugging your app in background or in kill state ( terminated state ), so you can get to know that payload from pushkit comes or not or possibly some crash at iOS code end.

Debug pushkit notification in terminated state

  • Put debug pointer on delegate methods
  • Go to edit scheme
  • Select run option then Launch -> Wait for executable to be launched
  • Send push kit payload from back end
  • Once you get payload on device
  • it will automatically invoke and debug pointer will invoke at delegate methods.

enter image description here

Refer

Hulburt answered 12/7, 2017 at 13:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.