iphone - Newsstand Notification Server -
i working on first newsstand app. basic gist of there 2 xml feeds. if no subscription detected, loads free.xml has couple of free issues on it. if subscription receipt detected , valid, shows listing of current issues. xml has title, link, description, , pubdate tags in it. link located , app downloads , displays it. issue how send out newsstand notifications. know different regular push, in has ability trigger automatic downloads of new issues. use xtify.com standard push notifications, use guidance on how set notifications newsstand app.
to trigger automatic downloads in newsstand app, have send key-value pair follows along other keys. new key content-available value 1 responsible invoking application in background.
{ "aps":{ "content-available":1, } }
if current push notifications service provider allow add key, , good, otherwise have use own server , setup push notifications , add key payload.
in addition this, make sure: enable newsstand in itunes connect in device settings > newsstand > automatic content download must "on" app push notifications "on" app.
for more information on newsstand applications, following tutorial helpful, please go through it. understanding answers many of doubts.
http://www.viggiosoft.com/blog/blog/2011/10/17/ios-newsstand-tutorial/
Comments
Post a Comment