Background Mode 'remote notifications' ack time sensitive
Background Mode 'remote notifications' ack time sensitive
- Subject: Background Mode 'remote notifications' ack time sensitive
- From: Felice De Luca <email@hidden>
- Date: Tue, 22 Jul 2014 13:09:10 +0200
Hi,
I’m working on a Instant Messaging client, I’m facing a strange behavior
on Background Mode but I can’t find an explanation on the documentation
[1][2][3][4][...] and, neitherr on forums,
here’s my situation:
I need to ack the push notification, so I can tell to the server side that
the push notification message has been received. For this purpose I’ve set
the Background Mode to ‘remote-notifications’ and with an NSURLSession I
POST the ack-message identifier contained into the Push’s userInfo dict.
I notice that the ack POST call is made randomically, on some device is
made instantly on other even 30 minutes.
Is there a way to predict this behaviour?
*Can’t I use the remote-notifications to post time sensitive content?*
*Is the discretionary mode 'always true' even in wifi network(not plugged
in ac)? *
*The POST is just few kb, is there a setting to tell that the call is
time-sensitive?*
*If on iOS7 it’s not possibile, will it be on iOS8?*
Thank you
Felice De Luca
[1] 707_whats_new_in_foundation_networking
[2] 202_What’s New with Multitasking
[3] App State And Multitasking
https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html
[4] About the URL Loading System
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html#//apple_ref/doc/uid/10000165i
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden