Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

feat: upgrade react native to latest version and remove codepush #261

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ledutu2
Copy link
Contributor

@ledutu2 ledutu2 commented Apr 4, 2025

No description provided.


// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
buildToolsVersion = "35.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove spaceing

rootProject.name = 'RNBaseProject'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app', ':react-native-code-push'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove codepush

Suggested change
include ':app', ':react-native-code-push'
include ':app'

rootProject.name = 'RNBaseProject'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app', ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove codepush

#if DEBUG
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
#else
CodePush.bundleURL()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check this, remove codepush

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we have this file again?

"react-native": "^0.71.7",
"react-native-code-push": "^8.0.2",
"react": "19.0.0",
"react-native": "0.78.2",
"react-native-config": "^1.5.1",
"react-native-device-info": "^10.6.0",
"react-native-gesture-handler": "^2.8.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider upgrade this too

"react-native-progress": "^5.0.0",
"react-native-safe-area-context": "^4.6.3",
"react-native-reanimated": "^3.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider upgrade this too

"build": "bash ./scripts/build-app.sh"
},
"dependencies": {
"@gorhom/bottom-sheet": "^4.4.6",
"@react-native-async-storage/async-storage": "^1.18.1",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native-stack": "^6.9.12",
Copy link
Contributor

@loc-nguyenthien loc-nguyenthien Apr 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider upgrade this too (if possible) to v7

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think i will upgrade it in another PR

@loc-nguyenthien
Copy link
Contributor

Lỡ mấy bữa nữa mình gắn lại Codepush thì sao nhỉ

@ledutu2
Copy link
Contributor Author

ledutu2 commented Apr 9, 2025

thì lúc đó gắn vào lại a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants