Cannot register more than one device

Hi,

I am able to register a device when testing with android studio running one emulator. But when I run another emulator after I close the first emulator, I do not see the second emulator get registered even though the Backendless.Messaging.registerDevice works successfully (checked it via debug)

need this to test push notification between two devices

Can you please assist?

Thanks,
Mohammed

Hi Mohammed,

Probably both emulators have the same deviceId and the second one rewrites the first one?

Hi Sergey,

deviceID shows unknow, if this helps

any other ideas?

Thanks,
Mohammed

Hi Sergey,

Your hint about deviceId is correct, what I did, I changed existing value from unknown to test and this helped me get the second one registered

Thanks,
Mohammed