-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
When setting other options in the init, the code fails with:
JS: CONSOLE ERROR: Error starting Sentry Error: Cannot convert boolean to Ljava/lang/Boolean; at index 0 Error: Cannot convert boolean to Ljava/lang/Boolean; at index 0
JS: at file: src/webpack:/MobileApp/node_modules/@nativescript-community/sentry/wrapper.android.js:346:55
For example in the following code:
Sentry.init({
dsn: "dsnhere",
enableAutoPerformanceTracking: true,
enableTracing: true,
tracesSampleRate: 1,
});
The error relates to the following line: https://github.com/nativescript-community/sentry/blob/master/src/sentry/wrapper.android.ts#L385
Perhaps a case for booleans need to be added as well?
Edit: looks like it's specifically enableTracing
.
Metadata
Metadata
Assignees
Labels
No labels