Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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: 536
10
Android Open BSD 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
 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic