Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Environment and Release #10

Open
Cateye82 opened this issue Apr 6, 2022 · 0 comments
Open

Setting Environment and Release #10

Cateye82 opened this issue Apr 6, 2022 · 0 comments

Comments

@Cateye82
Copy link

Cateye82 commented Apr 6, 2022

Which platform(s) does your issue occur on?

  • iOS
  • emulator

Please, provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it)
    ns -v
    8.2.3
    ✔ Up to date.

  • Cross-platform modules: (check the 'version' attribute in the
    node_modules/tns-core-modules/package.json file in your project)
    I dont't have such a folder, it is a fresh installation (ns create HelloWorld --template @nativescript/template-hello-world-ts)

  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project)
    "@nativescript/android": "8.2.2",
    "@nativescript/ios": "~8.2.0",

  • Plugin(s): (look for the version numbers in the package.json file of your
    project and paste your dependencies and devDependencies here)
    {
    "name": "mtbappmobile",
    "main": "src/main.ts",
    "version": "1.0.0",
    "private": true,
    "dependencies": {
    "@angular/animations": "~13.1.1",
    "@angular/common": "~13.1.1",
    "@angular/compiler": "~13.1.1",
    "@angular/core": "~13.1.1",
    "@angular/forms": "~13.1.1",
    "@angular/platform-browser": "~13.1.1",
    "@angular/platform-browser-dynamic": "~13.1.1",
    "@angular/router": "~13.1.1",
    "@nativescript/angular": "^13.0.0",
    "@nativescript/core": "~8.2.1",
    "@nativescript/theme": "~3.0.1",
    "nativescript": "^8.2.3",
    "nativescript-sentry": "^2.0.1",
    "rxjs": "~7.4.0",
    "zone.js": "~0.11.4"
    },
    "devDependencies": {
    "@angular-devkit/build-angular": "~13.1.1",
    "@angular/compiler-cli": "~13.1.1",
    "@nativescript/android": "8.2.2",
    "@nativescript/ios": "~8.2.0",
    "@nativescript/types": "~8.2.0",
    "@nativescript/webpack": "~5.0.0",
    "@ngtools/webpack": "~13.1.1",
    "typescript": "~4.5.5"
    }
    }

Please, tell us how to recreate the issue in as much detail as possible.

It is not really an issue, I was just wondering, how to set the environment and release param for the dsn.
The SentryModule.forRoot config, doesn't support any other options than the dsn and discardUncaughtJsExceptions.
I tried by adding those params to the dsn url (? separated) but it's not working.
Are there any posibilities to do so?
Thank you for your support and your plugin.

Is there any code involved?

  • provide a code example to recreate the problem
  • (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.
    This is the only code I call for testing:
    try {
    throw new Error('Whoops!');
    } catch (error) {
    console.log(error);
    Sentry.captureException(error, {});
    }
    console.log('test');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant