[OneSignal Notification Demo] cannot read property 'OneSignal' of undefined

[OneSignal Notification Demo] cannot read property 'OneSignal' of undefined

  
Forge Component
(4)
Published on 2016-12-14 by Alexandre Costa
4 votes
Published on 2016-12-14 by Alexandre Costa

I tried to run this application and got the below error on load.


cannot read property 'OneSignal' of undefined


Please could you let me know why it is coming.

Hi Prasanta,

That very likely means you are testing the app in a browser instead of on a real device.

Hi Prasanta, good morning. This compnent was incorporated by OutSystems and now has an official version., for new projects I recommend the use of official component. Please follow this link: https://www.outsystems.com/forge/component/2119/onesignal-plugin/


To run any mobile component you need build .apk or .ipa (native app), so you can test in your device.