Skip to content

Commit

Permalink
Changed tracing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnyminerZ committed Feb 5, 2025
1 parent 29c6458 commit 6178640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/escalaralcoiaicomtat/android/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class App: Application() {
// Only enable for production builds
options.isEnabled = BuildConfig.DEBUG
// Enable performance metrics if opted in
options.enableTracing = performanceMetrics != false
options.tracesSampleRate = if (performanceMetrics == false) 0.0 else 1.0

// Set the device id as the id of the user
Sentry.setUser(User().apply { id = deviceId })
Expand Down

0 comments on commit 6178640

Please sign in to comment.