npm @sentry/react-native 8.20.0

5 hours ago

Fixes

  • Fix iOS screenshots no longer being captured since 8.19.0 (Feedback Widget screenshot, attachScreenshot, Sentry.captureScreenshot()) by reverting the iOS SentrySDK.internal migration from #6380 (#6491, #6497)

  • Strip empty turbo_module.name / turbo_module.method tags in turboModuleContextIntegration so events captured outside an active TurboModule call no longer carry an ingestion "Processing Error" (#6506)

  • Make copySentryJsonConfiguration and the *_SentryUpload Gradle tasks compatible with the Gradle Configuration Cache (#6469)

    These tasks previously read project state at execution time — onlyIf predicates resolving closures from project.extra, plus project.rootDir, project.copy, project.logger, and Project.file inside task actions — which fails the build with Could not evaluate onlyIf predicate when org.gradle.configuration-cache=true (Gradle 9 defaults to recommending it). Environment reads are now captured at configuration time, file copies use an injected FileSystemOperations, and task actions use the task's own logger. No behaviour change. Interim step ahead of the full SAGP migration (getsentry/sentry-android-gradle-plugin#796).

Dependencies

Don't miss a new react-native release

NewReleases is sending notifications on new releases.