Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Support for SentryOptions #10

Open
chrisse27 opened this issue Feb 15, 2018 · 1 comment
Open

Support for SentryOptions #10

chrisse27 opened this issue Feb 15, 2018 · 1 comment

Comments

@chrisse27
Copy link

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?

@kkoates
Copy link

kkoates commented May 29, 2019

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants