I built a push notification app with the help of EasyAPNS. Currently I have another app which is a newsstand application. My question is where can I add payload for newsstand notification?
I added something in class_APNS.php like this before I post message:
$usermessage['aps']['content-available'] = 1;
But my application can never receive the push notification. (I’ve already registered for the newsstand push notification already.)
Anybody can help? Thanks
I solved the problem.
My method is correct. Let me explain it in more details. I modified queueMessage function inside the class_APNS.php right before the posting. Here is the code:(I added a flag newsstand to indicate it’s a newsstand push or a normal push