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

Plugin wont work with Nativescript-Javascript project #50

Open fabriek-huis opened 5 years ago

fabriek-huis commented 5 years ago

Plugin doesn't work with Nativescript-Javascript type projects. Getting delegate errors can't find "implements".

fabriek-huis commented 5 years ago

error -

`JS ERROR SyntaxError: Unexpected use of reserved word 'implements' in strict mode. Expected opening '{' at the start of a class body. JavaScript call stack: ( ) Terminating app due to uncaught exception 'NativeScript encountered a fatal error: SyntaxError: Unexpected use of reserved word 'implements' in strict mode. Expected opening '{' at the start of a class body. at 1 @file:///app/app.js 2 promiseReactionJob@[native code] ', reason: '(null)' *** First throw call stack: (0x2350d3ef8 0x2342a1a40 0x104ceb7b4 0x104d27c20 0x104357084 0x234b1cb94)

`