roblav96 / nativescript-onesignal

A Nativescript plugin that wraps the iOS and Android OneSignal Push Notifications SDK.
https://documentation.onesignal.com/docs/getting-started
Other
24 stars 42 forks source link

nativescript -> cannot read property One Signal of undefined #18

Closed thiagomotta closed 6 years ago

thiagomotta commented 7 years ago

Hi, When I give android build, I get the error

"cannot read property One Signal of undefined file: "file://data/data/XXX/files/app/tns_modules/nativescript-onesignal/onesignal.js, line: 3, columns: 36"

Please, can you help me? Thanks.

Serge-SDL commented 7 years ago

Got the same issue with webpack

Serge-SDL commented 7 years ago

Hello !

I think I just find the solution: it's related to an old nativescript version: I had not update my NS version fora while, and updating it fix the prolem...

Serge

jkasten2 commented 6 years ago

Closing due to inactivity. Please let us know if you are still seeing this issue.