nativescript-sentry icon indicating copy to clipboard operation
nativescript-sentry copied to clipboard

Support for SentryOptions

Open chrisse27 opened this issue 7 years ago • 1 comments

The SentryOptions interface contains a few useful settings:

export interface SentryOptions {
    environment?: string;
    release?: string;
    tags?: {
        [id: string]: string;
    };
    extra?: any;
}

It would be helpful if one could specify theses options in SentryModule.forRoot.

Are there already any plans on integrating this?

chrisse27 avatar Feb 15 '18 09:02 chrisse27

I discovered you can stick options on the end of DSN and it works on android but not ios:

https://<key>@sentry.io/<project>?environment=dev&release=0.1.2

At a minimum I need env and release. Do we know if anyone has tackled this in a fork and hasn't had time to bring back?

kkoates avatar May 29 '19 21:05 kkoates