{
"aps" : { "alert" : "Message received from Bob" },
"acme2" : ["bang", "whiz"]
}
How can i access to “acme2” property ?
I’m supposing that corona only takes care of “aps” property and ignore everything else (even inside aps)
[lua]…
local function onNotification( event )
if event.type == “remote” then
native.showAlert( “remote”, json.encode( event ), { “OK” } )
end
end
…[/lua]
returns only :{ “alert”: “Message received from Bob”}
Thanks !
[import]uid: 3638 topic_id: 21006 reply_id: 321006[/import]
Could some one please answer the question!!! I need to use the custom property as well. I have push notification working just fine using jdsoft.APNS, but every time i add a custom property the app crashes on receipt of the push. If some one there could give us a little advice it would be greatly appreciated. Getting no response from corona on the forums is getting very old. [import]uid: 89018 topic_id: 21006 reply_id: 124713[/import]
Could some one please answer the question!!! I need to use the custom property as well. I have push notification working just fine using jdsoft.APNS, but every time i add a custom property the app crashes on receipt of the push. If some one there could give us a little advice it would be greatly appreciated. Getting no response from corona on the forums is getting very old. [import]uid: 89018 topic_id: 21006 reply_id: 124713[/import]