-
-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Description
🔴 Waiting for
- Release of Java.Lang.IllegalArgumentException when setting MaxBreadcrumbs to 0 sentry-java#3313
- Bump
sentry-androidin RN
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
SDK:
-
@sentry/react-native(>= 1.0.0) -
react-native-sentry(<= 0.43.2)
SDK version: 0.0.0
react-native version: 0.0.0
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
- sentry.io (SaaS)
- on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(@sentry/react-native)
Sentry.init({
// Replace the example DSN below with your own DSN:
dsn: SENTRY_INTERNAL_DSN,
debug: true,
environment: 'dev',
maxBreadcrumbs: 0,
...
});
I have the following issue:
If you set maxBreadcrumbs: 0, the app will crash when opened. it's not mentioned that the size 0 will not work on the docs but if I recall it worked on other SDK that I worked in the past.
Steps to reproduce:
- Step 1
- maxBreadcrumbs: 0 on SentryOptions
- Step 2
- Open the app
Actual result:
Expected result:
The app to not crash and have events without breadcrumbs.
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done