Page 1 of 1
How to find Device ID to send Push Notification to a Specific Device
Posted: Tue Jun 16, 2015 4:11 pm
by Marco Spera
Hi,
I have my app setup and registers properly for push notifications.
I am able to send push notifications to all users and it works great.
I want to do some testing and send push notifications only to my specific personal device.
How can I tell what my device ID is?
I am assuming I need my device ID and then I would only select this ID rather that choosing all IDs.
What is the best way to locate my specific device ID?
Thanks
Marco
How to find Device ID to send Push Notification to a Specific Device
Posted: Tue Jun 16, 2015 5:30 pm
by Serhii Kulibaba
Hello Marco,
Please follow this documentation:
https://devcenter.appery.io/documenta...
How to find Device ID to send Push Notification to a Specific Device
Posted: Tue Jun 16, 2015 5:33 pm
by Marco Spera
I am assuming this involves adding the js into the code of the app, and then reinstalling the newly created app on the device.
I was just wondering if there was an easier way that I could do it through the device directly.
How to find Device ID to send Push Notification to a Specific Device
Posted: Wed Jun 17, 2015 1:21 pm
by Evgene Karachevtsev
Hello Marco,
No, unfortunately seems that this is the only way.
How to find Device ID to send Push Notification to a Specific Device
Posted: Wed Jun 17, 2015 1:57 pm
by Marco Spera
How to find Device ID to send Push Notification to a Specific Device
Posted: Mon Jul 06, 2015 3:42 pm
by Marco Spera
Just a question on this issue. The Device ID that I would use to send push notifications to a specific device, is this the UUID?
And if so, this is different than the UDID correct?
How to find Device ID to send Push Notification to a Specific Device
Posted: Mon Jul 06, 2015 9:43 pm
by Illya Stepanov
The device.uuid parameter or other deviceID variables that can be retrieved by 3rd party applications are not the variables that Appery.io push notifications need to work properly.
How to find Device ID to send Push Notification to a Specific Device
Posted: Thu Jul 09, 2015 12:22 pm
by Marco Spera
Ok Thanks.
But when I use the following code to find the device ID, this is the device ID I can use to query push notifications to only one device, correct?
setTimeout(function() {
alert(localStorage.getItem('pushNotificationDeviceID'));
}, 1);
How to find Device ID to send Push Notification to a Specific Device
Posted: Sat Jul 11, 2015 2:04 pm
by Illya Stepanov
Hi Marco -
Yes, that's correct.