nativescript-sentry
nativescript-sentry copied to clipboard
Sentry java/cocoa for nativescript
Here is my code: app.module.ts: ``` import { SentryModule } from 'nativescript-sentry/angular'; @NgModule({ bootstrap: [ AppComponent ], imports: [ SentryModule.forRoot({ dsn: 'https://:@sentry.io/' }) ], }) export class AppModule {} ```...
Updates
- Update the platforms dirs - Bump android SDK - Add `typings` dir to npmignore - Improve the `captureException` method in the android.ts file to include the stack/message in a...
Should fix https://github.com/danielgek/nativescript-sentry/issues/31
Hey, I made some small changes that will allow us to use a factory for supplying the dsn when we use the plugin in combination with Angular. This should resolve...
### Make sure to check the demo app(s) for sample usage Did it. ### Make sure to check the existing issues in this repository Recent related is from January and...
The SentryOptions interface contains a few useful settings: ``` export interface SentryOptions { environment?: string; release?: string; tags?: { [id: string]: string; }; extra?: any; } ``` It would be...
When using CaptureException, in Sentry I get something like this instead of a nice stack trace: `{"message":"test","stacktrace":"onLog@file:///app/bundle.js:1398:102 [angular]\n_log@file:///app/vendor.js:88165:38 [angular]\nerror@file:///app/vendor.js:88082:18 [angular]\nerror@file:///app/bundle.js:1306:26 [angular]\ntestError@file:///app/0.js:218:26 [angular]\n\ncallWithDebugContext@file:///app/vendor.js:60013:30 [angular]\ndispatchEvent@file:///app/vendor.js:56392:36 [angular]\nfile:///app/vendor.js:49363:51 [angular]\n__tryOrUnsub@file:///app/vendor.js:92013:20 [angular]\nnext@file:///app/vendor.js:91951:34 [angular]\n_next@file:///app/vendor.js:91895:30 [angular]\nnext@file:///app/vendor.js:91872:23 [angular]\nnext@file:///app/vendor.js:91646:29 [angular]\nemit@file:///app/vendor.js:49335:80...
I get this error when building for prod: ERROR in Error during template compile of 'AppModule' Function calls are not supported in decorators but 'SentryModule' was called. However during dev...
I am not able to install sentry cocoa in `circleci` using `npm install nativescript-sentry`.Below is the stacktrace for the error `/usr/local/bin/git clone https://github.com/getsentry/sentry-cocoa.git /var/folders/gk/lkr9pm5x039fx6d3j9r52rv80000gn/T/d20180724-756-1wj0oxl --template= --single-branch --depth 1 --branch 3.9.1`...
For angular aot requirements, a direct string would work correctly e.g => `SentryModule.forRoot({ dsn: 'abc123' }),` but any `const, function, getter` would break the instanciation e.g => `SentryModule.forRoot({ dsn: AppConfig.sentryDSN...