Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The example upgrades to React Native 0.89.0-rc.2 while its animation packages only declare support through 0.88, leaving an unmet peer dependency until compatible releases and a regenerated lockfile are provided.
1 open issue
What changed in this PR
This PR upgrades the repository and example app from React Native 0.88 to 0.89.0-rc.2, updating native project configuration, documentation, and dependency lockfiles.
Changes:
- Updates React Native, CLI tooling, Android, iOS, Hermes, Metro, and CocoaPods dependencies.
- Refreshes the example app's Android and iOS template configuration.
- Updates documented React Native compatibility and native-animation workaround comments.
- The example retains Reanimated and Worklets versions whose declared peer range supports only React Native through 0.88.
| File | Description |
|---|---|
| README.md | Updates the supported React Native version range. |
| package.json | Upgrades root React Native development dependencies and tooling. |
| ios/RNCPagerViewComponentView.mm | Clarifies the native-driven animation event workaround. |
| example/package.json | Upgrades the example app and CLI tooling to React Native 0.89.0-rc.2 while retaining the existing animation dependencies. |
| example/ios/Podfile.lock | Refreshes CocoaPods dependency versions and checksums for React Native 0.89. |
| example/ios/PagerViewExample/Info.plist | Applies updated React Native iOS template settings. |
| example/android/build.gradle | Updates Android SDK, NDK, build tools, and Kotlin configuration. |
| example/android/app/src/main/java/com/pagerviewexample/MainActivity.kt | Adopts the React Native 0.89 activity delegate API. |
| docs/docs/docs/getting-started/installation.mdx | Updates the documented React Native compatibility range. |
| bun.lock | Regenerates JavaScript dependency resolutions and integrity data. |
Review effort: Lite
| "@react-navigation/native-stack": "^7.20.0", | ||
| "react": "19.3.0", | ||
| "react-native": "0.88.0", | ||
| "react-native": "0.89.0-rc.2", |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 081ddf0. The verdict and the full list are in the summary comment.
| <key>RCTUseAssetCatalog</key> | ||
| <true/> |
There was a problem hiding this comment.
🟡 Minor · RCTUseAssetCatalog enabled in an app that has no asset catalog
RCTUseAssetCatalog is enabled but the app has no .xcassets or ASSETCATALOG_COMPILER_* build setting, so plain Metro-bundled JS assets like require('../../assets/tabView/album-art-1.jpg') can stop rendering in the Coverflow and TabView examples and e2e screenshots. The flag switches asset resolution to the catalog-backed path while no catalog exists.
Suggested change
Either add Assets.xcassets and the ASSETCATALOG_COMPILER build settings (as the RN template does), or drop RCTUseAssetCatalog from the example Info.plist until the catalog exists; if the flag is intentionally opt-in for this app, say so in the PR.
Details
persona: senior-developer, jvm
Useful? Reply @apex-sentinel-staging like, or @apex-sentinel-staging dislike <why> if it is not.
Reply @apex-sentinel-staging note ... to add context, or @apex-sentinel-staging pivot ... if it is wrong — I will re-check the cited code.
🟢 e2e: 65 passedAll 65 tests in 25 files
Tested by e2e 0.23.1 · 4m 3s · android · run artifacts |
🟢 e2e ios-spm: 49 passedAll 49 tests in 18 files
Tested by e2e 0.23.1 · 7m 45s · ios · run artifacts |
🟢 e2e ios: 49 passedAll 49 tests in 18 files
Tested by e2e 0.23.1 · 8m 58s · ios · run artifacts |
Apex Sentinel · ✅ Approve · review of
|
| Where | Finding |
|---|---|
ios/RNCPagerViewComponentView.mm:101 |
🆕 onPageScroll event coalescing dropped on iOS |
Not in the reviewers' prompt (2 files)
bun.lock: left out as an asset or for its size; reviewers could still search itexample/ios/Podfile.lock: left out as an asset or for its size; reviewers could still search it
3 findings below minor hidden (user_settings.min_severity).
Reviewed with this repository's own Sentinel configuration (3a44ca5c9446).
💬 Talking to Sentinel
In a finding's thread, reply with:
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 8da5f60. The verdict and the full list are in the summary comment.
| // C++ Native Animated reads only folly::dynamic payloads, not the codegen'd | ||
| // typed onPageScroll, so this one dispatch feeds both JS and Animated.event. | ||
| eventEmitter->dispatchEvent("pageScroll", folly::dynamic::object("position", static_cast<double>(position))("offset", offset)); |
There was a problem hiding this comment.
🆕 🟡 Minor · onPageScroll event coalescing dropped on iOS
During a fling, every intermediate onPageScroll offset is now dispatched to the Animated driver and JS listener instead of only the latest one. dispatchEvent has no coalescing, unlike the deleted RCTOnPageScrollEvent which had canCoalesce = YES and coalesceWithEvent: keeping the newest event.
Details
persona: swift-ios, senior-developer
Useful? Reply @apex-sentinel-staging like, or @apex-sentinel-staging dislike <why> if it is not.
Reply @apex-sentinel-staging note ... to add context, or @apex-sentinel-staging pivot ... if it is wrong — I will re-check the cited code.

No description provided.