JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Device not registering on install

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Device not registering on install

Hi Jimmy -

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

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Device not registering on install

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

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Device not registering on install

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

Image

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Device not registering on install

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Device not registering on install

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

And what device you using for testing?

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Device not registering on install

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Device not registering on install

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

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Device not registering on install

Thanks.

I have shared the application.

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

Thanks
james

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Device not registering on install

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

Return to “Issues”