Skip to content

Commit 315a896

Browse files
committed
chore(Example): update the example app to v12
1 parent 94a814c commit 315a896

File tree

6 files changed

+126
-29
lines changed

6 files changed

+126
-29
lines changed

Examples/CodePushDemoApp/android/app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,3 @@ dependencies {
117117
implementation jscFlavor
118118
}
119119
}
120-
121-
apply from: "../../node_modules/@bravemobile/react-native-code-push/android/codepush.gradle"

Examples/CodePushDemoApp/ios/CodePushDemoApp.xcodeproj/project.pbxproj

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,14 @@
193193
inputFileListPaths = (
194194
"${PODS_ROOT}/Target Support Files/Pods-CodePushDemoApp/Pods-CodePushDemoApp-frameworks-${CONFIGURATION}-input-files.xcfilelist",
195195
);
196+
inputPaths = (
197+
);
196198
name = "[CP] Embed Pods Frameworks";
197199
outputFileListPaths = (
198200
"${PODS_ROOT}/Target Support Files/Pods-CodePushDemoApp/Pods-CodePushDemoApp-frameworks-${CONFIGURATION}-output-files.xcfilelist",
199201
);
202+
outputPaths = (
203+
);
200204
runOnlyForDeploymentPostprocessing = 0;
201205
shellPath = /bin/sh;
202206
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CodePushDemoApp/Pods-CodePushDemoApp-frameworks.sh\"\n";
@@ -232,10 +236,14 @@
232236
inputFileListPaths = (
233237
"${PODS_ROOT}/Target Support Files/Pods-CodePushDemoApp/Pods-CodePushDemoApp-resources-${CONFIGURATION}-input-files.xcfilelist",
234238
);
239+
inputPaths = (
240+
);
235241
name = "[CP] Copy Pods Resources";
236242
outputFileListPaths = (
237243
"${PODS_ROOT}/Target Support Files/Pods-CodePushDemoApp/Pods-CodePushDemoApp-resources-${CONFIGURATION}-output-files.xcfilelist",
238244
);
245+
outputPaths = (
246+
);
239247
runOnlyForDeploymentPostprocessing = 0;
240248
shellPath = /bin/sh;
241249
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CodePushDemoApp/Pods-CodePushDemoApp-resources.sh\"\n";
@@ -264,7 +272,7 @@
264272
CURRENT_PROJECT_VERSION = 1;
265273
ENABLE_BITCODE = NO;
266274
INFOPLIST_FILE = CodePushDemoApp/Info.plist;
267-
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
275+
IPHONEOS_DEPLOYMENT_TARGET = 15.5;
268276
LD_RUNPATH_SEARCH_PATHS = (
269277
"$(inherited)",
270278
"@executable_path/Frameworks",
@@ -292,7 +300,7 @@
292300
CLANG_ENABLE_MODULES = YES;
293301
CURRENT_PROJECT_VERSION = 1;
294302
INFOPLIST_FILE = CodePushDemoApp/Info.plist;
295-
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
303+
IPHONEOS_DEPLOYMENT_TARGET = 15.5;
296304
LD_RUNPATH_SEARCH_PATHS = (
297305
"$(inherited)",
298306
"@executable_path/Frameworks",

Examples/CodePushDemoApp/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require Pod::Executable.execute_command('node', ['-p',
77

88
ENV['RCT_NEW_ARCH_ENABLED'] = '0'
99

10-
platform :ios, min_ios_version_supported
10+
platform :ios, 15.5
1111
prepare_react_native_project!
1212

1313
linkage = ENV['USE_FRAMEWORKS']

Examples/CodePushDemoApp/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
PODS:
22
- Base64 (1.1.2)
33
- boost (1.84.0)
4-
- CodePush (11.0.0):
4+
- CodePush (12.0.1):
55
- Base64 (~> 1.1)
66
- JWT (~> 3.0.0-beta.12)
77
- React-Core
8-
- SSZipArchive (~> 2.2.2)
8+
- SSZipArchive (~> 2.5.5)
99
- DoubleConversion (1.1.6)
1010
- fast_float (6.1.4)
1111
- FBLazyVector (0.77.1)
@@ -1508,7 +1508,7 @@ PODS:
15081508
- React-perflogger (= 0.77.1)
15091509
- React-utils (= 0.77.1)
15101510
- SocketRocket (0.7.1)
1511-
- SSZipArchive (2.2.3)
1511+
- SSZipArchive (2.5.5)
15121512
- Yoga (0.0.0)
15131513

15141514
DEPENDENCIES:
@@ -1729,7 +1729,7 @@ EXTERNAL SOURCES:
17291729
SPEC CHECKSUMS:
17301730
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
17311731
boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90
1732-
CodePush: dad1256b3cc3f91a945d2bb8ac2a5603df87e198
1732+
CodePush: 4cadecf79f6a25a8e29595c354fa3d84b0798f35
17331733
DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb
17341734
fast_float: 06eeec4fe712a76acc9376682e4808b05ce978b6
17351735
FBLazyVector: 79c4b7ec726447eec5f8593379466bd9fde1aa14
@@ -1796,9 +1796,9 @@ SPEC CHECKSUMS:
17961796
ReactCodegen: 8c6710db5ccee603fa0475978465b606abe1ed77
17971797
ReactCommon: 8da6c58517fa560d0fc7a9da83093457303ae9f8
17981798
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
1799-
SSZipArchive: 62d4947b08730e4cda640473b0066d209ff033c9
1799+
SSZipArchive: c69881e8ac5521f0e622291387add5f60f30f3c4
18001800
Yoga: 2957d0e744897870b5a377f26522e3f08cadd7ac
18011801

1802-
PODFILE CHECKSUM: fde46685cfbbaf765ff8a1df9fe5a6dd0e38bbd5
1802+
PODFILE CHECKSUM: bf0eb4778855e590b59fd64a42a66143c70669cd
18031803

18041804
COCOAPODS: 1.15.2

Examples/CodePushDemoApp/package-lock.json

Lines changed: 108 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/CodePushDemoApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "jest"
1111
},
1212
"dependencies": {
13-
"@bravemobile/react-native-code-push": "^11.0.0",
13+
"@bravemobile/react-native-code-push": "^12.0.1",
1414
"axios": "^1.7.9",
1515
"react": "18.3.1",
1616
"react-native": "0.77.1"

0 commit comments

Comments
 (0)