Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
16 Views

Push Notifications

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

Tags (2)
0 Kudos
2 Replies
Highlighted
Employee
16 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
Highlighted
New Contributor I
16 Views

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

0 Kudos