Page 1 of 2

Device not registering on install

Posted: Fri Mar 13, 2015 2:16 am
by JimmyH

Hi there,

I understand that when you install the app on a device and open it, the device should become registered and a record created in the device table.

This does not seem to be occurring. It was working about a week ago, but more recently is has not worked. Despite having the app running on my device, there is no record entry.

Consequently I can't get push notification working etc.

Thanks
James


Device not registering on install

Posted: Fri Mar 13, 2015 8:02 am
by Illya Stepanov

Hi Jimmy -

Try reconnect the database in Push settings and rebuild and reinstall the app.


Device not registering on install

Posted: Sat Mar 14, 2015 5:05 am
by JimmyH

Hi Illya,

I tried what you suggested but it didn't work.

I also got this error when I tested the app through the browser. Is this related to the issue?

Failed to load resource: the server https://api.appery.io/rest/push/reg/ responded with a status of 400 (Bad Request)

when I clicked on the server link, I got the following:

{"code":"BCXX004","description":"No resource method found for GET, return 405 with Allow header"}

James


Device not registering on install

Posted: Sat Mar 14, 2015 5:14 am
by JimmyH

I looked a bit further in the debugging console and found this error as well:

Image


Device not registering on install

Posted: Sat Mar 14, 2015 5:37 am
by JimmyH

I tested again, didn't get the error. But the device didn't register after following your directions.


Device not registering on install

Posted: Sat Mar 14, 2015 8:04 am
by Illya Stepanov

Are you set correct API key, without any additional characters in it, please check it.

And what device you using for testing?


Device not registering on install

Posted: Sat Mar 14, 2015 8:54 am
by JimmyH

Yes I have just rechecked my api key and it is correct. There aren't any additional characters.

I am testing on a nexus 4. running the current os.


Device not registering on install

Posted: Sat Mar 14, 2015 9:01 am
by Illya Stepanov

Could you please share your app with us and provide us with the following information:

1) App name
2) Test credentials if login functionality is implemented in your app
3) Detailed steps to reproduce the issue


Device not registering on install

Posted: Sat Mar 14, 2015 9:58 am
by JimmyH

Thanks.

I have shared the application.

It is called "application". I have also given you access to the db.

Thanks
james


Device not registering on install

Posted: Sat Mar 14, 2015 10:29 am
by Illya Stepanov

Thanks, we'll check it but this will take some time.