Upgrade RN templates to React Native 0.82.1#523
Merged
Conversation
- react-native: 0.81.5 → 0.82.1 - react: 19.1.0 → 19.1.1 - @react-native/new-app-screen: 0.81.5 → 0.82.1 - Gradle wrapper: 8.14.3 → 9.0.0 - AGP remains at 8.12.0 (RN 0.82 gradle plugin still expects it)
- Switch from @react-navigation/stack to @react-navigation/native-stack (stack uses deprecated InteractionManager causing 2min render delay in 0.82) - Bump @react-navigation/native: 7.1.10 → 7.2.5 - Bump react-native-safe-area-context: 5.5.2 → 5.8.0
Uses StatusBar component and statusBarTranslucent screenOption to properly color the status bar and reduce excess header height with native-stack navigator.
…mponent The StatusBar component conflicts with react-native-screens which requires UIViewControllerBasedStatusBarAppearance=YES. Use native-stack's built-in statusBarColor/statusBarStyle/statusBarTranslucent screenOptions which work natively on both platforms without the conflict.
Contributor
Author
|
Hmm - the other RN templates still need some work... |
- Switch @react-navigation/stack to @react-navigation/native-stack in TypeScript, Deferred, and MobileSyncExplorer templates - Add statusBarTranslucent/statusBarColor/statusBarStyle screenOptions - Add dependencySubstitution rules to settings.gradle for composite build - Bump Gradle wrapper to 9.3.1 (required by Android SDK dev branch) - Point sdkDependencies to forcedotcom#dev
- NavImgButton: use TouchableOpacity instead of Icon's internal touch (native-stack iOS header doesn't forward touches to TouchableHighlight) - Logout: call oauth.authenticate() after logout to restart login flow (bridgeless mode doesn't auto-restart React surface after logout) - ContactCell: add key props to all ListItem children
…warning - Move Save button outside ScrollView so it stays at bottom of screen - Suppress react-native-elements ListItemBase key warning (library bug)
brandonpage
approved these changes
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@react-navigation/stackto@react-navigation/native-stack7.16.0 (fixes InteractionManager 2-minute delay in RN 0.82)react-native-safe-area-contextto 5.8.0statusBarColor/statusBarStyle/statusBarTranslucentscreenOptions (replacesStatusBarcomponent which conflicts withreact-native-screens)UIViewControllerBasedStatusBarAppearance = YESin all iOS Info.plists (required byreact-native-screens)dependencySubstitutionrules insettings.gradlefor composite build with local Android SDKPre-existing issues fixed (not caused by 0.82 upgrade)
These issues were likely introduced during the New Architecture migration and are unrelated to the 0.82 version bump:
NavImgButtonusedIcon's internalTouchableHighlightwhich doesn't receive touches in native-stack's iOS header. Fixed by wrapping withTouchableOpacity.oauth.logout()was called without a callback. In bridgeless mode, the native side no longer auto-restarts the React surface after logout. Fixed by callingoauth.authenticate()after logout (same pattern as other templates).ScrollViewso it stays at the bottom of the screen.react-native-elements3.4.3ListItemBaserenders separator views without keys internally. Suppressed viaLogBox.ignoreLogs.Before Merging
package.jsonsdkDependencies and react-native-force toforcedotcom#devTest Plan