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
Hello,
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)
DeviceRegistration dv = new DeviceRegistration();
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:
DeviceRegistration devReg = Backendless.Messaging.getDeviceRegistration();
More info here.
Regards, Olga