I'm working on a voip app using PushKit, I can receive voip push notifications in all possible app states (e.g. background, foreground, active, inactive). Using PushKit, I have to register the app with the background mode "voip" in the Info.plist - so far, so good. I still implemented the PFPushRegistryDelegate, which receives push credential updates or voip push notifications.
Everything works well and the notification is received very quickly bu I discovered a serious problem (sistematic) with Voip PushKit: when the app is in suspended state and the screen is locked, my app wakes up after several minutes (at least 2 minutes).
Note:
I tested PushKit with the latest iOS version: 10.0.2 on iPhone6S and iPad.
I'm using a sandbox certificate to test it, with a production one the behaviour is different?
Someone has experience on such kind of bugs?
Thanks
Elio