Hello,
sorry to reply to this old thread but it's one of the few with really good
tips.
How to type the sound_enable=true correctly in the php file, because when
using the sample stack androidgcm.zip from livecode's forum i get a sound
notification, but when i use php i do not get a sound notific
Thanks Bernard and John. It does the job there too ;-)
Le 1 avr. 2013 à 01:08, John Craig a écrit :
> play_sound=true
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
Thanks, Bernard. Using play_sound=true, I get a sound with the
notification on android. The elusive badge doesn't seem to appear
anywhere on my device.
John.
On 31/03/2013 23:58, Bernard Devlin wrote:
There is some information in RQCC for bug #10154
I have not seen more detailed informati
There is some information in RQCC for bug #10154
I have not seen more detailed information than that anywhere else.
Bernard
On Sun, Mar 31, 2013 at 9:29 PM, John Craig wrote:
> I've not managed to get a badge or sound for android push notifications.
> Looking through the GCM developer docs,
I've not managed to get a badge or sound for android push
notifications. Looking through the GCM developer docs, I haven't even
found any reference to them yet, so I'm wondering if they are even
possible using the GCM API alone.
On 31/03/2013 15:47, Pierre Sahores wrote:
Hi John,
Does the
Hi John,
Does the badge and sound works in using this way ?
Thanks and Best Regards,
Pierre
Le 31 mars 2013 à 15:44, John Craig a écrit :
> Now that I've tested with the pushNotificationReceived message, this update
> delivers the payload data;
>
> # data element of notification
> put "N
Now that I've tested with the pushNotificationReceived message, this
update delivers the payload data;
# data element of notification
put "New updates available" into tDataA["title"]
put "There are 3 new updates..." into tDataA["body"]
put tDataA["body"] into tDataA["alert"]
put 3
Thanks, Pierre. The 'title' and 'body' keys in the 'data' payload
section did the trick. I'm not getting any badge or sound (yet) - still
looking into it.
Here's a LiveCode version for anyone interested (and a little json encoder)
on mouseUp
# devices to send to (up to 1000)
put "" into
This script works ok in about displaying what's needed instead of "Notification
received" ($abstract) :
>
> $registrationIDs = Array(###devices###);
> $title= "###title###";
> $abstract = "###abstract###";
> $payload