Problem with receive push in some devices with '0123456789ABCDEF' serial number.

I have a problem with some devices that have “0123456789ABCDEF” Serial Number. This is my code for register device:

Backendless.Messaging.registerDevice(GCMSenderId, channels, date, new AsyncCallback<Void>() {
    public void handleResponse(Void arg0) {
        Log.i("GCM", "OK");

    public void handleFault(BackendlessFault arg0) {
        Log.i("GCM", "=" + arg0.getMessage());

Registration work well but these device don’t receive push notifications. Although it’s work very well in other devices with real Serial Number.

1 Like

Hi Reza. Push notifications work only on real devices. Not virtual

I know that, but they are real devices. Most of them have Android 4. I have 10,000 users and 500 of them have this problem. I had a research and find their serial number is the same, and it’s “0123456789ABCDEF”

In order to receive push notification, device serial should be unique.Try to set a unique value to Backendless.Messaging.DEVICE_ID before registering the device :

private static final String DEFAULT_SERIAL = "0123456789ABCDEF";
if (Backendless.Messaging.DEVICE_ID.equals(DEFAULT_SERIAL) {
  Backendless.Messaging.DEVICE_ID = UUID.randomUUID().toString();

Hope it helps

1 Like

Thank you very much Vitaly. It was the answer that i was looking for.