-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from lovegaoshi/dev-codepush
feat: codepush
- Loading branch information
Showing
10 changed files
with
361 additions
and
223 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<resources> | ||
<string name="app_name">APM</string> | ||
<string moduleConfig="true" name="CodePushDeploymentKey">r-Ioq8wnNEO-rSWn57I08syRY46vF_EKDdVIJ</string> | ||
</resources> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
rootProject.name = 'azusa-player-mobile' | ||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) | ||
include ':app' | ||
include ':app', ':react-native-code-push' | ||
includeBuild('../node_modules/@react-native/gradle-plugin') | ||
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app') | ||
|
||
apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle") | ||
useExpoModules() |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,10 @@ | |
"prepare": "yarn run compile", | ||
"pretest": "yarn run compile", | ||
"prettify": "prettier --write ./src", | ||
"ios:build": "yarn; cd ios; rm Podfile.lock; pod install --repo-update; cd .." | ||
"ios:build": "yarn; cd ios; rm Podfile.lock; pod install --repo-update; cd ..", | ||
"codepush": "appcenter codepush release-react -a lovegaoshi/Azusa-Player-Mobile", | ||
"codepush:rollback": "appcenter codepush rollback", | ||
"codepush:promote": "appcenter codepush promote" | ||
}, | ||
"dependencies": { | ||
"@react-native-async-storage/async-storage": "^1.18.1", | ||
|
@@ -66,6 +69,7 @@ | |
"react-native-background-timer": "git+https://github.com/lovegaoshi/react-native-background-timer.git", | ||
"react-native-blob-jsi-helper": "git+https://github.com/lovegaoshi/react-native-blob-jsi-helper.git", | ||
"react-native-blob-util": "^0.19.2", | ||
"react-native-code-push": "^8.1.0", | ||
"react-native-countdown-circle-timer": "^3.2.1", | ||
"react-native-draggable-flatlist": "^4.0.1", | ||
"react-native-gesture-handler": "^2.9.0", | ||
|
@@ -95,7 +99,7 @@ | |
"zustand": "^4.4.5" | ||
}, | ||
"resolutions": { | ||
"metro": "^0.79.1" | ||
"metro": "^0.80.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.2", | ||
|
@@ -144,4 +148,4 @@ | |
}, | ||
"isSwift": true, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export enum VERSIONS { | ||
latest = '2.10.15', | ||
latest = '2.11.0', | ||
} |
Oops, something went wrong.
b9171f6
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.
Successfully deployed to the following URLs:
azusa-player-mobile – ./
azusa-player-mobile-git-master-lovegaoshi.vercel.app
azusa-player-mobile.vercel.app
azusa-player-mobile-lovegaoshi.vercel.app