Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c692d2a
init android app of DemoCodePushAppNewArch example
CHOIMINSEOK Oct 28, 2024
2dc5b81
support new architecture on android sdk
CHOIMINSEOK Oct 29, 2024
098b6ef
exclude examples from compile
kmsbernard Nov 6, 2024
f56f07b
setup test with react-native v0.76.1
kmsbernard Nov 6, 2024
cec5a72
install code-push plugin from the new-arch branch
kmsbernard Nov 6, 2024
317647d
update package version
kmsbernard Nov 8, 2024
85a0ae9
fix gradle script replacement
kmsbernard Dec 14, 2024
bce27c2
add js bundle file supplier on react native host
CHOIMINSEOK Dec 14, 2024
5e2ccf7
fix test for old arch
kmsbernard Dec 14, 2024
097e7f0
add disabling new architecture script
kmsbernard Dec 14, 2024
ce2b6b2
add test script for old arch
kmsbernard Dec 14, 2024
c3a0f12
prevent reinitialize update
kmsbernard Dec 16, 2024
f4c6626
fix deprecated react-native cli
kmsbernard Jan 4, 2025
526f649
restore default NPM_PLUGIN_PATH
kmsbernard Jan 4, 2025
5c9fe26
lazy init PackageList & once
kmsbernard Jan 4, 2025
9c812b7
remove unnecessary code
kmsbernard Jan 4, 2025
9a9779e
remove log
kmsbernard Jan 4, 2025
b5eb89a
patch for ios
CHOIMINSEOK Jan 4, 2025
b90519c
tmp: ios test
kmsbernard Jan 4, 2025
6c0364b
toggle old arch
CHOIMINSEOK Jan 4, 2025
41f0e1b
update android setup
CHOIMINSEOK Jan 4, 2025
5be86cb
fix ios test util
kmsbernard Jan 4, 2025
755068a
use rn0.76.5 in test
kmsbernard Jan 4, 2025
82ac9d9
revert NPM_PLUGIN_PATH
kmsbernard Jan 4, 2025
fcbdae5
Merge pull request #4 from CodePushNext/support-new-arch
CHOIMINSEOK Jan 4, 2025
6d99a10
update npm configuration
CHOIMINSEOK Jan 19, 2025
68d8027
fix wrong import
CHOIMINSEOK Jan 19, 2025
cb4883a
update demo app dependency
CHOIMINSEOK Jan 19, 2025
de17604
fix path
CHOIMINSEOK Jan 19, 2025
748878d
10.0.0-alpha.2
CHOIMINSEOK Jan 19, 2025
2d326ec
10.0.0-alpha.3 - fix path
CHOIMINSEOK Jan 19, 2025
9ed46ed
fix android build error
CHOIMINSEOK Jan 19, 2025
501fe94
remove package manager field
CHOIMINSEOK Jan 19, 2025
8c3a99d
fix test code
CHOIMINSEOK Jan 19, 2025
a19d86e
Remove Redundant Gradle Module Overriding (#6)
CHOIMINSEOK Feb 2, 2025
1a2e28f
alpha5
CHOIMINSEOK Feb 2, 2025
74bab1b
Update README & Setup Guide (#7)
CHOIMINSEOK Feb 2, 2025
290c536
beta0
CHOIMINSEOK Feb 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
10.0.0-alpha.3 - fix path
  • Loading branch information
CHOIMINSEOK committed Jan 19, 2025
commit 2d326ecebf54db5a7f9845781892cc07c82957ed
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@code-push-next/react-native-code-push",
"version": "10.0.0-alpha.2",
"version": "10.0.0-alpha.3",
"description": "React Native plugin for the CodePush service",
"main": "CodePush.js",
"typings": "typings/react-native-code-push.d.ts",
Expand Down Expand Up @@ -76,8 +76,8 @@
]
},
"commands": {
"postlink": "node node_modules/react-native-code-push/scripts/postlink/run",
"postunlink": "node node_modules/react-native-code-push/scripts/postunlink/run"
"postlink": "node node_modules/@code-push-next/react-native-code-push/scripts/postlink/run",
"postunlink": "node node_modules/@code-push-next/react-native-code-push/scripts/postunlink/run"
}
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
Expand Down
2 changes: 1 addition & 1 deletion scripts/tools/linkToolsAndroid.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports.getJSBundleFileOverride = `
`;
exports.reactNativeHostInstantiation = "new ReactNativeHost(this) {";
exports.mainActivityClassDeclaration = "public class MainActivity extends ReactActivity {";
exports.codePushGradleLink = `\napply from: "../../node_modules/react-native-code-push/android/codepush.gradle"`;
exports.codePushGradleLink = `\napply from: "../../node_modules/@code-push-next/react-native-code-push/android/codepush.gradle"`;
exports.deploymentKeyName = "CodePushDeploymentKey";

exports.getMainApplicationLocation = function () {
Expand Down
2 changes: 1 addition & 1 deletion test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class RNAndroid extends Platform.Android implements RNPlatform {
const settingsGradle = path.join(innerprojectDirectory, "android", "settings.gradle");
TestUtil.replaceString(settingsGradle,
"include ':app'",
"include ':app', ':react-native-code-push'\nproject(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')");
"include ':app', ':react-native-code-push'\nproject(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/@code-push-next/react-native-code-push/android/app')");

// Disable new architecture
if (TestConfig.testOldArch) {
Expand Down