Android push notifications

2016-12-06 Thread Mid West Coast Media
I had done some proof of concept testing with push notifications over a year ago but am just now getting around to implementing in an app. The lesson to do so with iOS and demo stack worked great. The lesson for Android seems no longer valid. Google Cloud Messaging is documented, and what I ha

Re: Android push notifications

2015-09-23 Thread sphere
#x27;body' => $abstract, 'payload' => $payload, 'badge' => intval($badge), 'sound' => 'default', 'play_sound=> 'true', 'collapse_key' => 'abcdef', ); Thanks for any help on this. SPhere

Android Push Notifications

2013-05-15 Thread Pascal Lehner
Hey everyone, I used to set up a test with Android push notifications following this HowTo and the stack that comes with it: http://lessons.runrev.com/m/4069/l/59312 I managed to set up all the dev stuff and actually generate my mobile's token. But when I try to send a notification usin

Re: Android push notifications

2013-03-31 Thread Pierre Sahores
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

Re: Android push notifications

2013-03-31 Thread John Craig
ailed 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 haven't even found any reference to them yet, so I'm wondering if th

Re: Android push notifications

2013-03-31 Thread Bernard Devlin
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 dev

Re: Android push notifications

2013-03-31 Thread John Craig
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

Re: Android push notifications

2013-03-31 Thread Pierre Sahores
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

Re: Android push notifications

2013-03-31 Thread John Craig
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

Re: Android push notifications

2013-03-30 Thread John Craig
'sound' => 'default' ) ); $headers = array('Authorization: key=' . $apiKey, 'Content-Type: application/json'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); cu

Re: Android push notifications

2013-03-30 Thread Pierre Sahores
> > curl_setopt($ch, CURLOPT_URL, $url); > curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); > curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); > curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); > curl_setopt($ch, CURLOPT_POST, true); > curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(

Android push notifications

2013-03-30 Thread John Craig
I've added iOS and Android push notifications to a stack I've been working on. When sending notifications to my android device, the message displayed when the notification arrives is 'Notification received'. Does anyone know how to change (if possible) this messag