Can Device ID also used as deviceToken for other PUSH rest API?
Can Device ID also used as deviceToken for other PUSH rest API?
DeviceID and DeviceToken are 2 distinct variables. The deviceID obtained through your appery app is unique to that installation of your app. In other words, if you uninstall your app, and reinstall it (through app store or test-flight), it will generate a new deviceID. Same thing with the device token (which is created if the user gives the app Push Notification authorization). I think the device token is to let the apple and google servers know that you are authorized to be sending push notifications to the user.
So, no, you can't use these values for other push rest apis...
So do you know any way to obtain a deviceToken inside Apperyio's environment for 3rd party api?
Hello Mark,
Device ID generates with Cordova "Device" plugin;
deviceToken generates on the google and apple message clouds.
So is there anyway to obtain a deviceToken in Appery.io?
There is Cordava Push plugin outside and I've seen that its preinstalled in apperyio's app, but I am not sure how to obtain one
If you using our Cordova Push plugin you can obtain Device token following way: https://devcenter.appery.io/documenta...