Upon device registration, how do I get "token" to NOT be undefined?
I am unable to initialize push notifications or register the token in the db. When a user loads the app on their physical device, a device is recorded in the database. However, token is undefined. I've tried following steps listed in other support threads to get the device token, but every single time it is undefined.
What are the correct steps?
I've followed the tutorial and have tried to print code when the push is initialized, but so far I can't get that event to work.
How do I register the device and get a push to send? This tutorial (https://devcenter.appery.io/documenta...) doesn't help much.