I know you just launched push notifications, which is great, as all my apps use push notifications.
But, I do think we REALLY need the ability to add name value pairs, or some type of flag to the push that is NOT shown to the user. (Apple refers to this as a “Custom Array Property” in the payload.)
I’ve done this with Apple’s APNS service, and it works like this…
First, the payload send via Apples APNS service looks like this:
‘aps’: { ‘title’: ‘Well would ya look at that!’, ‘body’: ‘Hello from the server’, ‘NAME’: ‘VALUE’ },
What I understand from the documentation is that Fuse does not yet support ANY values in the push notification other than the “title” and “body”.
I usually send something like:
‘aps’: { ‘title’: ‘Well would ya look at that!’, ‘body’: ‘Hello from the server’, ‘tab’: ‘news’},
The “tab = news” part of the code is NOT shown to the user, as only the title and body are, but I’m able to get the value of “tab” when the user cicks the notificaiton to open my app, and I can use the value of “tab” to focus the correct part of the app for the user. (The example idea here is a news push comes into the app as a notification, and when the user clicks the push notification, the app opens to the news window of the app, based on the value of the “tab” that was in the push notification payload.) Of course, if the app is open when the push is recieved, then the maybe I also change the app focus to the news window.
The other thing that I think REALLY needs to be included is the badge value, so an app badge icon will show how many alerts have been received. Surprisingly, the app badge number is NOT done on the device, it’s sent with each push, so the math to determine the number to show on the badge is done on the server side, NOT on the app side. Also, the ability to specify a user selectable audio file for the nofication sound should be able to be read from the push notification payload. (Most of my apps have several different types of notifications, and it’s nice if each one can have a different notification sound, or if the user can choose from a list of included sounds for each type of alert.)
I’ve used 3rd party push notificaiton services such as Urban Airship and a few others in the past, and eventually built my own server side APNS service, in part due to the value of being able to fully use the APNS options such as the ones requested here.
So, I’m very happy to see push support added, but respectually ask that we be able to read other values sent in the push payload, such as custom arrays, badge number and notificaiton sounds, in addition to just title and body.
Thanks,
Peter Janett
New Media One Web Services http://www.NewMediaOne.net http://GeoDigs.com support “at” newmediaone.net (303)828-9882
Add us to your address book: http://www.newmediaone.net/New_Media_One.vcf