Anyone can help me ? My window.plugins.pushNotification does not work on real device.I can recive push.But I want to use window.plugins.pushNotificaiton in js to get the devcieToken and clean the badge .But It says windows.plugins.pushNotification is undefinded.
On real devcie ti show a white screen, means something wrong.
I am using Lib V2.0, and I checked the config of pushNotification in config.xml and checked the plugin file.I need anything special config?
I have been working in this for two days ,thanks for any reply.