Software Archive
Read-only legacy content
17061 Discussions

Push Notifications

Andrea_P_1
New Contributor I
205 Views

Hello,

i'm trying to create an application that use Push Notifications. I've tried phonegap-plugin-push and OneSignal but even if both plugins are added correctly in the project they doesn't works when i try to debug them via Live Preview on Phone. Basically the plugin is not added into the available plugins and the Javascript classes are not present and so it fail when i try to call them.

Can anyone tell me how can i try to debug (or even use..) those libs to use notifications? Do i need to add some permissions in the build configuration?

Thank you

0 Kudos
2 Replies
Anusha_M_Intel
Employee
205 Views

Generic debugging only supports core plugins. If you want to test phonegap-plugin-push or onesignal, you will have to build either a custom debug module or build the app to test on device.

Refer to this page for information on custom debug module: https://software.intel.com/en-us/xdk/docs/using-the-debug-tab

And refer to this page for an alternative if you are having trouble with custom debug modules: https://software.intel.com/en-us/xdk/docs/using-the-debug-tab#generic_debug

 

0 Kudos
Andrea_P_1
New Contributor I
205 Views

Yes thank you. I've resolved the fantastic OneSignal and debugging the app via "Debug" tab.

0 Kudos
Reply