@arilishu wrote:
hi all!
I am starting using this platform and working with push notifications.
When i go to production, setting "ionic config set dev_push false" if i try the method:
push.register(function(token) {
saveDeviceID(token.token );
console.log("Device token:",token.token);
});i have this error Uncaught ReferenceError: PushNotification is not defined.
So, let's asume that is ok, because i am not on development anymore.But after that, i create the APK.
(it's like 5 minutes, ok!!)And when i open the app on my phone (first in android), the deviceID is not saved.
So i don't know what to do.
There is no information on the site about this kind of problem on production.Do you have any idea, what's next step?
Thanks!
Posts: 1
Participants: 1