App does not receive VOIP in x time on iOS 10.3>

I have a project I am working on that uses VOIP notifications to "wake up" applications that have been placed in the background / finished. These notifications are sent periodically and everything seemed to be working fine until recent iOS updates.

It looks like after a while when the app was in the background (this happens to some users after 5 minutes, others after 20), the devices no longer process any code after receiving voip notifications.

I've read a bit in the apple dev forums and some other devs are facing similar issues, everyone is guessing if it's related to new iOS updates (10.3.1 / 10.3.2).

Does anyone else have this problem, and if so, can you solve it?

Thank!

+3


source to share


3 answers


This is the new normal version of the latest iOS versions.

You should start using push notifications.



Here is the guide from Apple.

+1


source


You can try debugging your app in the background or in a kill state (state completed) so you can see if the payload is coming from pushkit or not, or maybe a crash at the end of the iOS code.

Debug Submission in Completed State Notification

  • Put a debug pointer to delegate methods
  • Go to editing scheme
  • Select the run option, then Launch -> Wait for the executable to run.
  • Send payload push kit from the back
  • Once you get the payload on the device
  • it will automatically invoke and debug the pointer it will invoke in the delegate methods.


enter image description here

Contact

0


source


As a result, it turned out that the fix was being updated to a newer version of the library socketio

.

0


source







All Articles