I am implementing a newsstand magazine app, which receives new issues via Urban Airship push notifications.
This works fine, as long as the app is in foreground or background, but as far as I know, the download should also be triggered when the app is completely closed. But sending a push with "content-available":1
in the payload does not do anything if my app is closed.
I set the required background mode in the targets properties and I use NKDontThrottleNewsstandContentNotifications
to avoid problems with testing.
Am I missing something?
Shouldn't the push lead to my
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
being called with UIApplicationLaunchOptionsRemoteNotificationKey
?
Help much appreciated!