Page 1 of 1

Android Device ID not saving in database on connection

Posted: Fri Aug 15, 2014 8:52 pm
by Bad Addy

I have seen a few of these in the past few days

Image

As you can see, on the preA/pre rows, the device starts with prenull;/pre

Is this a bug ?


Android Device ID not saving in database on connection

Posted: Sat Aug 16, 2014 8:55 pm
by Alena Prykhodko

Hello,

Could you please share your app and database. Also please tell their names and steps to test.
What devices do you have? Please tell their Android versions.


Android Device ID not saving in database on connection

Posted: Sat Aug 16, 2014 9:02 pm
by Bad Addy

The database is already shared and its called urVoice 3.

Android versions I only know one, as the rest are users, which is 4.1.2

There are no steps, the second the a user downloads the app and open it, the device is registered. These did not happen before, so is unlikely to be my end, but you never know :)


Android Device ID not saving in database on connection

Posted: Sat Aug 16, 2014 9:05 pm
by Alena Prykhodko

Sure. Thanks. We will test and let you know the result.
Is your app shares with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a as well?


Android Device ID not saving in database on connection

Posted: Mon Aug 18, 2014 2:12 pm
by Evgene Karachevtsev

Hello Addy,

Could you please tell us the name of your app (if it's shared with us)?


Android Device ID not saving in database on connection

Posted: Mon Aug 18, 2014 6:27 pm
by Bad Addy

The app is shared and also called urVoice.


Android Device ID not saving in database on connection

Posted: Tue Aug 19, 2014 9:40 am
by Kateryna Grynko

Hi Addy,

This is an expected behaviour. Device ID beginning with null is not a problem.

The only issue we see here is an undefined token. Most probably you didn't set (or set incorrectly) Sender ID and API Key.


Android Device ID not saving in database on connection

Posted: Tue Aug 19, 2014 9:04 pm
by Bad Addy

If its a null, the notifications will not be directed to the correct device ? If I send a PN then my iPhone gets it, but my Android does not. Hence why I checked and found it was null ?


Android Device ID not saving in database on connection

Posted: Wed Aug 20, 2014 1:34 am
by Yurii Orishchuk

Hi Addy,

Please delete all items with "undefined" value in the token field.
See details http://prntscr.com/4ej9s4/direct

And then try to test again.

Also you don't need to wary about "null;.." in device id.

Regards.