Firebase Cloud Messaging (FCM)

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
fabio.solaro
Posts: 1
Joined: Thu May 26, 2016 10:32 am

Firebase Cloud Messaging (FCM)

Post by fabio.solaro » Thu May 26, 2016 10:43 am

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.

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Firebase Cloud Messaging (FCM)

Post by sphere » Mon Jul 04, 2016 9:02 am

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

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Firebase Cloud Messaging (FCM)

Post by sphere » Wed Jul 20, 2016 8:12 pm

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

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Firebase Cloud Messaging (FCM)

Post by sphere » Sat Jul 30, 2016 1:12 pm


Post Reply