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

1.0.6 crashes app #6

Open davecoffin opened 7 years ago

davecoffin commented 7 years ago

When updating to 1.0.6, I get this error after the app builds:

Fatal JavaScript exception - application has been terminated. Native stack trace: 1 0x1006d5dc0 -[TNSRuntime executeModule:referredBy:] 2 0x1000d9428 main 3 0x191d315b8 JavaScript stack trace: 1 @file:///app/tns_modules/nativescript-onesignal/onesignal.js:2:33 JavaScript error: file:///app/tns_modules/nativescript-onesignal/onesignal.js:2:33: JS ERROR ReferenceError: Metadata for "OneSignal.OneSignal" found but symbol not available at runtime.

I had to downgrade back to 1.0.5, in which case it works fine.

jkasten2 commented 6 years ago

@davecoffin It looks like the OneSignal binary didn't get bundled in to your app. Are you still seeing this with newer versions of this SDK and Native Script?