Page 1 of 1
Firebase Cloud Messaging (FCM)
Posted: Thu May 26, 2016 10:43 am
by fabio.solaro
Hi, is it possible to implement the new Google Push notification FCM system into a Livecode app ?
I hope it's more reliable, because often the old GCM doesn't work into my app.
Re: Firebase Cloud Messaging (FCM)
Posted: Mon Jul 04, 2016 9:02 am
by sphere
Good question!
I'm checking it out right now also, as my GCM works (with the kind help of Pierre Sahores and a lot of trial and error because the test stack in the lesson is not sufficient enough).(but you can learn from it).
But as google is moving forward we have to do also.
I hope Livecode will evolve with this too, because the aim is also more on mobile with LC8, but this important part seems to be forgotten or ignored.
Also have to rewrite my MySQL (middleware) to PDO as MySQL is deprecated and not supported on PHP7. Many hosts are now stepping over to PHP7 so considder that too. I use the PHP/MySql scripts to get the devices registered in a database, so you know where to send the push notifications to. The id's are send to the google servers to get the message delivered at the mobile device.
As i read quickly FCM should be more easy to implement,but...that's maybe with Android Studio.
So when i get it working then i will report back.
Sphere
Re: Firebase Cloud Messaging (FCM)
Posted: Wed Jul 20, 2016 8:12 pm
by sphere
It seems to use FCM you have to import your existing GCM projects into the developer console of FCM.
But also more important when i'm correct the manifest which is created during export in LC needs to be updated.
https://developers.google.com/cloud-mes ... igrate-fcm
So i think i'm going to post a request if this will be added. As google claims that it will be easier thne GCM.
SPhere
Re: Firebase Cloud Messaging (FCM)
Posted: Sat Jul 30, 2016 1:12 pm
by sphere