Page 1 of 1

Push Notification DeviceID Question

Posted: Sat May 28, 2016 2:47 am
by Devin Normand

I was going through the following tutorial, and was doing well up until this part:

https://devcenter.appery.io/tutorials...

In this image:
https://devcenter.appery.io/wp-conten...

I am having trouble getting the deviceID, and I do not know if I should keep that part blank due to how each device will have a unique ID, or if I should input a deviceID from one of my own devices using this tutorial, then putting it into deviceID:

https://devcenter.appery.io/documenta...

But that is where a slight problem comes up, because that tutorial refers to a Device Ready event, but the first tutorial I was using for push spoke nothing about it.

So do I have to put a deviceID where they do it in the image:
https://devcenter.appery.io/wp-conten...

And if so, how can I do that, because the push tutorials are confusing when paired with one another?


Push Notification DeviceID Question

Posted: Sat May 28, 2016 8:55 pm
by Galyna Abramovych

Hello Devin,

Thank you for reaching out to Appery.io support!

I hope this thread will help you: https://getsatisfaction.com/apperyio/... in defining your pushes.


Push Notification DeviceID Question

Posted: Tue May 31, 2016 3:23 pm
by Devin Normand

Thank you for responding!

The thing is that now it says I should make a lostorage variable for the push, which is confusing due to how other tutorials say nothing of it.

So what deviceID should I put in the request parameter referred to in the first link? Could it be anyone registered or does it have to be a specific deviceID?

DN


Push Notification DeviceID Question

Posted: Wed Jun 01, 2016 10:23 am
by Devin Normand

m


Push Notification DeviceID Question

Posted: Wed Jun 01, 2016 3:01 pm
by Serhii Kulibaba

Hello Devin,

You have to use there DeviceID, of the device, which you need to receive Push Notification. E.g. You can save deviceIDs to the database, and read them in your application.

Appery.io automatically registers all devices in the database, if your application has enabled Push notifications