Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Android Device ID ; bug

Dear Addy,

Don't worry, we're working on it.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Android Device ID ; bug

The point is that it works with ";" for us.

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Android Device ID ; bug

I have managed to make it work, but changing how to indexOf.

if(did.indexOf(';') '-1') {
did = did.replace(';', '%3B');
console.log(did + ' changed uuid for Android');
}

This gets me over the URL ; issue, and it logs me in on Android and allows me with ios :)

thought i was about to god mad as a hatter :)

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Android Device ID ; bug

Addy,

Thank you very much for the update! We even couldn't reproduce the issue and glad it works!

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Android Device ID ; bug

That is odd, you did not find it.

My app, the first thing it does is check if the users device is registered and if so, get the user _id. It is this where I had the error. When I used REST to check if the device is registered, it sent only part of the Android device ID.

Is there a way to store the users _id on the phone, so when the app is closed and re-opened, it can collect this id back ?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Android Device ID ; bug

Hello! Please try to delete preif(did.indexOf(';') '-1') {
did = did.replace(';', '%3B');
console.log(did + ' changed uuid for Android');
} /pre and replace preurl: 'https://api.appery.io/rest/push/reg/'+did/pre with preurl: 'https://api.appery.io/rest/push/reg/'+encodeURIComponent(did)/pre

Return to “Issues”