Devin Normand
Posts: 0
Joined: Tue May 19, 2015 11:29 pm

Push Notification DeviceID Question

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?

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Push Notification DeviceID Question

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.

Devin Normand
Posts: 0
Joined: Tue May 19, 2015 11:29 pm

Push Notification DeviceID Question

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Push Notification DeviceID Question

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

Return to “Issues”