You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v4 beta] Android link error on React Native 0.82: undefined symbol folly::detail::ScopeGuardImplBase::terminate() #931
Versions:@lodev09/react-native-true-sheet 4.0.0-beta.25 (also every beta from ~beta.15; beta.10 and earlier don't have it), React Native 0.82.1, New Architecture, AGP/Gradle 9, NDK r27.
What happens:./gradlew :app:assembleDebug fails in :app:buildCMakeDebug[arm64-v8a] while linking libreact_codegen_TrueSheetSpec.so:
Cause:common/cpp/react/renderer/components/TrueSheetSpec/TrueSheetContentViewShadowNode.cpp includes <folly/ScopeGuard.h> and calls folly::makeGuard(...) (around line 98). Its out-of-line terminate() is defined in folly's ScopeGuard.cpp, which RN 0.82's Android prefab doesn't export to third-party libraries. The example app is on RN 0.86, where the symbol presumably resolves, while the v4 migration guide documents RN 0.82+ as supported.
Suggested fix: replace the folly guard with a small local RAII struct, e.g.
Activity
github-actions commentedon Oct 16, 2026
Hey @jerryjiang97! Thanks for opening the issue.
It looks like your issue is missing a valid reproduction link.
A minimal reproduction helps us investigate and fix the issue faster. Without one, we may not be able to help.
Please provide one of the following:
See "How to create a Minimal, Reproducible Example" for more guidance.
You can edit your original issue or leave a comment with the repro link. Issues without reproductions may be closed after 14 days.
fix(android): link error on React Native 0.82–0.85 (lodev09#937)