-
Notifications
You must be signed in to change notification settings - Fork 5
feat: upgrade react native to latest version and remove codepush #261
base: develop
Are you sure you want to change the base?
Conversation
|
||
// 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" |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove codepush
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') |
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check this, remove codepush
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Lỡ mấy bữa nữa mình gắn lại Codepush thì sao nhỉ |
thì lúc đó gắn vào lại a |
No description provided.