danielgek / nativescript-raven

Other
1 stars 0 forks source link

ios application crashes with nativescript-raven plugin #2

Open Dharmendta opened 7 years ago

Dharmendta commented 7 years ago

i have integrated nativescript-raven plugin for my ios application but when i am trying to run the application it crashes with the following error:

JavaScript stack trace:
1   shared@file:///app/tns_modules/nativescript-raven/raven.js:14:29
2   init@file:///app/tns_modules/nativescript-raven/raven.js:14:29
3   @file:///app/app.component.js:7:42
4   notify@file:///app/tns_modules/tns-core-modules/data/observable/observable.js:149:31
5   didFinishLaunchingWithOptions@file:///app/tns_modules/tns-core-modules/application/application.js:127:28
6   @[native code]
7   onReceive@file:///app/tns_modules/tns-core-modules/application/application.js:59:32
8   UIApplicationMain@[native code]
9   start@file:///app/tns_modules/tns-core-modules/application/application.js:251:26
10  bootstrapApp@file:///app/tns_modules/nativescript-angular/platform-common.js:68:28
11  bootstrapModule@file:///app/tns_modules/nativescript-angular/platform-common.js:56:26
12  anonymous@file:///app/main.js:5:57
13  evaluate@[native code]
14  moduleEvaluation@[native code]
15  @[native code]
16  promiseReactionJob@[native code]
JavaScript error:
file:///app/tns_modules/nativescript-raven/raven.js:14:29: JS ERROR TypeError: Sentry.SentryClient is not a function

please find the attached demo application . demoProj.zip

danielgek commented 7 years ago

@Dharmendta just updated the plugin, can you try the new version?