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.
Firebase Cloud Messaging (FCM)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Firebase Cloud Messaging (FCM)
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
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)
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
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)
You can find the request here:
http://quality.livecode.com/show_bug.cgi?id=18075
http://quality.livecode.com/show_bug.cgi?id=18075