Open
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades React Native from version 0.73.4 to 0.77.0 to support Android 16 KB memory page compatibility. The upgrade includes necessary dependency updates, build configuration changes, and code modifications to use the new React Native APIs.
Key Changes:
- Updated React Native to 0.77.0 and related dependencies to their compatible versions
- Migrated BackHandler event listener cleanup to use the new
.remove()API pattern - Updated Android build configuration with higher minSdkVersion (24), new NDK version, and Gradle settings for improved build performance
Reviewed Changes
Copilot reviewed 13 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated React Native core and related dependencies to v0.77.0 compatible versions |
| android/build.gradle | Increased minSdkVersion to 24, updated NDK and Kotlin versions |
| android/gradle.properties | Enabled parallel builds and increased JVM memory allocation |
| android/gradle/wrapper/gradle-wrapper.properties | Updated Gradle wrapper to version 8.10.2 |
| android/settings.gradle | Migrated to new React Native autolinking configuration |
| android/app/build.gradle | Added autolinking, removed Flipper integration, updated Fresco dependency, added environment-based signing config |
| android/app/src/main/AndroidManifest.xml | Added package attribute to manifest element |
| android/app/src/main/java/com/friendlyplans/MainApplication.kt | Updated SoLoader initialization and removed Flipper initialization |
| react-native.config.js | Added React Native CLI configuration file |
| screens/studentsList/StudentsListScreen.tsx | Updated BackHandler cleanup to use new .remove() API |
| screens/studentCreate/StudentCreateScreen.tsx | Updated BackHandler cleanup to use new .remove() API |
| copyExistingPlan/students/StudentsListForCopyPlanScreen.tsx | Updated BackHandler cleanup to use new .remove() API |
| copyExistingPlan/plans/PlansListForCopyScreen.tsx | Updated BackHandler cleanup to use new .remove() API and removed duplicate handler call |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
No description provided.