-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Which platform(s) does your issue occur on?
- iOS
- emulator
Please, provide the following version numbers that your issue occurs with:
-
CLI: (run
tns --versionto 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.jsonfile 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 thepackage.jsonfile of your project)
"@nativescript/android": "8.2.2",
"@nativescript/ios": "~8.2.0", -
Plugin(s): (look for the version numbers in the
package.jsonfile 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');