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:
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?