• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Integrating both Firebase Cloud Messaging (FCM) and Google Cloud Messaging (GCM) on the same App

 
Ranch Hand
Posts: 41
Python Angular Framework Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
I am quite new in implementing mobile push notifications , i have an android application (which is connected to a PHP application server) and uses GCM for delivering push notifications , in the application database they
defined the GCM token as the unique identifier for each user in the application ( I know it's a bad idea ).
I am asked to switch to the Firebase cloud service in order to receive push notifications.

The problem is : If i just migrate from GCM to FCM , the existing users of the application will lose access to their accounts , because the GCM token will be gone.

I think the only walk-around is to run both of the services on the application..

Is this possible ?

If it`s not , do i have another solution ?
 
Ranch Hand
Posts: 606
11
Android Python Open BSD VI Editor Slackware
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Redan Hassoun wrote:Hi ,
I am quite new in implementing mobile push notifications , i have an android application (which is connected to a PHP application server) and uses GCM for delivering push notifications , in the application database they
defined the GCM token as the unique identifier for each user in the application ( I know it's a bad idea ).
I am asked to switch to the Firebase cloud service in order to receive push notifications.

The problem is : If i just migrate from GCM to FCM , the existing users of the application will lose access to their accounts , because the GCM token will be gone.

I think the only walk-around is to run both of the services on the application..

Is this possible ?
If it`s not , do i have another solution ?



sure please have a look at this
 
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic