Page 1 of 1

Push Notification question

Posted: Thu Feb 20, 2014 6:02 pm
by Neurox66
Hello,
I've finally added Push Notification to my App
Is it possible to retrieve the contents of Push already read ?
I tried to do so, unfortunately it does not work.

Code: Select all

    iphoneGetNotificationBadgeValue get () 
    put it into tBadge 
   
    if tBadge> 0 then 
        iphoneSetNotificationBadgeValue 0 
       dispatch "pushNotificationReceived" 
    end if
Thanks,
Paolo

Re: Push Notification question

Posted: Fri Feb 21, 2014 5:41 pm
by Neurox66
I've solved it. :D
Saving the push with token in the database on the server.
If the badge value > 0 go to read the message on the server and delete it.

Paolo