Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring 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
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

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: 600
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
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic