Vote count:
0
I want to activate the automatic download for newsstand but whether it is at background or foreground, nothing happened.
It does not call didReceiveRemoteNotification or didFinishLaunchingWithOptions method at all. I have activated
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"NKDontThrottleNewsstandContentNotifications"];
[[NSUserDefaults standardUserDefaults] synchronize];
When I push notification, my phone received the notification but nothing happened.
I have set the newsstand app YES and added newsstand-content as well. Anyone experience this? I think I am missing something obvious here.
Below is the background push calling (Urban Airship)
curl -v -X POST -u "<appKey>:<appSecret>" -H "Content-type: application/json" -H "Accept: application/vnd.urbanairship+json; version=3;" --data '{"audience":"all", "device_types" : ["ios"], "notification": {"ios": {"content-available":true, "sound": "default", "badge": 1, "priority":10}}}' http://ift.tt/r0KRUt
When I push I'm getting
[UAPush appReceivedRemoteNotification:applicationState:fetchCompletionHandler:] [Line 478] Application received remote notification: {
"_" = "IJ2ONE_AKWPL3AAbWSEWEL6A";
aps = {
badge = 1;
"content-available" = 1;
sound = default;
};
}
2014-09-30 09:14:31.403 [D] +[UAActionRunner runActionWithName:withArguments:withCompletionHandler:] [Line 55] No action found with name aps, skipping action.
2014-09-30 09:14:31.403 [D] +[UAActionRunner runActionWithName:withArguments:withCompletionHandler:] [Line 55] No action found with name _, skipping action.
asked 36 secs ago
Newsstand background download not calling didFinishLaunchingWithOptions
Aucun commentaire:
Enregistrer un commentaire