Backendless Support
 
Answered

Push notification Device registration

first of all, as Google deprecated GCM since it's shitty and move to FCM, does BACKENDLESS have support for FCM?? and if not, when it will be...

second, i trying to register the device to backendless push, i can see the device in the channel, but when i run the command :

DeviceRegistration dv = new DeviceRegistration();

String myID = dv.getDeviceId();

i getting empty string.

i check in my backendless console, and i can see the device and it's device id.

app id : 7CE1403A-11C3-EA7A-FFA8-82959DD34300

zeev

Leave a Comment

Comments (2)

photo
1

Hello,

1)

  1. does BACKENDLESS have support for FCM?

Everything works fine with Cloud Messaging - there should not be any problems. We'll have fully moved to FCM by the time CGM is removed in April 2019.

2)

  1. DeviceRegistration dv = new DeviceRegistration();
  2. String myID = dv.getDeviceId();

What do you want to do with a newly created DeviceRegistration?

You can receive information about device registration using this method:

  1. DeviceRegistration devReg = Backendless.Messaging.getDeviceRegistration();

More info here.

Regards, Olga

photo
1

working now, thanks