Skip to content

Commit b316b43

Browse files
authored
Merge branch 'reactnativecn:master' into master
2 parents 6ed016c + 3ccc365 commit b316b43

File tree

17 files changed

+260
-133
lines changed

17 files changed

+260
-133
lines changed

Example/testHotUpdate/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
compileSdkVersion = 35
66
targetSdkVersion = 34
77
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.24"
8+
kotlinVersion = "1.9.25"
99
}
1010
repositories {
1111
google()

Example/testHotUpdate/bun.lock

Lines changed: 59 additions & 30 deletions
Large diffs are not rendered by default.

Example/testHotUpdate/ios/Podfile.lock

Lines changed: 61 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ PODS:
12421242
- ReactCommon/turbomodule/bridging
12431243
- ReactCommon/turbomodule/core
12441244
- Yoga
1245-
- react-native-safe-area-context (5.1.0):
1245+
- react-native-safe-area-context (5.2.0):
12461246
- DoubleConversion
12471247
- glog
12481248
- hermes-engine
@@ -1255,8 +1255,8 @@ PODS:
12551255
- React-featureflags
12561256
- React-graphics
12571257
- React-ImageManager
1258-
- react-native-safe-area-context/common (= 5.1.0)
1259-
- react-native-safe-area-context/fabric (= 5.1.0)
1258+
- react-native-safe-area-context/common (= 5.2.0)
1259+
- react-native-safe-area-context/fabric (= 5.2.0)
12601260
- React-NativeModulesApple
12611261
- React-RCTFabric
12621262
- React-rendererdebug
@@ -1265,7 +1265,7 @@ PODS:
12651265
- ReactCommon/turbomodule/bridging
12661266
- ReactCommon/turbomodule/core
12671267
- Yoga
1268-
- react-native-safe-area-context/common (5.1.0):
1268+
- react-native-safe-area-context/common (5.2.0):
12691269
- DoubleConversion
12701270
- glog
12711271
- hermes-engine
@@ -1286,7 +1286,7 @@ PODS:
12861286
- ReactCommon/turbomodule/bridging
12871287
- ReactCommon/turbomodule/core
12881288
- Yoga
1289-
- react-native-safe-area-context/fabric (5.1.0):
1289+
- react-native-safe-area-context/fabric (5.2.0):
12901290
- DoubleConversion
12911291
- glog
12921292
- hermes-engine
@@ -1308,7 +1308,7 @@ PODS:
13081308
- ReactCommon/turbomodule/bridging
13091309
- ReactCommon/turbomodule/core
13101310
- Yoga
1311-
- react-native-update (10.22.0):
1311+
- react-native-update (10.23.0):
13121312
- DoubleConversion
13131313
- glog
13141314
- hermes-engine
@@ -1322,8 +1322,8 @@ PODS:
13221322
- React-featureflags
13231323
- React-graphics
13241324
- React-ImageManager
1325-
- react-native-update/HDiffPatch (= 10.22.0)
1326-
- react-native-update/RCTPushy (= 10.22.0)
1325+
- react-native-update/HDiffPatch (= 10.23.0)
1326+
- react-native-update/RCTPushy (= 10.23.0)
13271327
- React-NativeModulesApple
13281328
- React-RCTFabric
13291329
- React-rendererdebug
@@ -1333,7 +1333,7 @@ PODS:
13331333
- ReactCommon/turbomodule/core
13341334
- SSZipArchive
13351335
- Yoga
1336-
- react-native-update/HDiffPatch (10.22.0):
1336+
- react-native-update/HDiffPatch (10.23.0):
13371337
- DoubleConversion
13381338
- glog
13391339
- hermes-engine
@@ -1356,7 +1356,7 @@ PODS:
13561356
- ReactCommon/turbomodule/core
13571357
- SSZipArchive
13581358
- Yoga
1359-
- react-native-update/RCTPushy (10.22.0):
1359+
- react-native-update/RCTPushy (10.23.0):
13601360
- DoubleConversion
13611361
- glog
13621362
- hermes-engine
@@ -1646,7 +1646,50 @@ PODS:
16461646
- React-logger (= 0.76.6)
16471647
- React-perflogger (= 0.76.6)
16481648
- React-utils (= 0.76.6)
1649-
- ReactNativeCameraKit (14.1.0):
1649+
- ReactNativeCameraKit (14.2.0):
1650+
- DoubleConversion
1651+
- glog
1652+
- hermes-engine
1653+
- RCT-Folly (= 2024.01.01.00)
1654+
- RCTRequired
1655+
- RCTTypeSafety
1656+
- React-Core
1657+
- React-debug
1658+
- React-Fabric
1659+
- React-featureflags
1660+
- React-graphics
1661+
- React-ImageManager
1662+
- React-NativeModulesApple
1663+
- React-RCTFabric
1664+
- React-rendererdebug
1665+
- React-utils
1666+
- ReactCodegen
1667+
- ReactCommon/turbomodule/bridging
1668+
- ReactCommon/turbomodule/core
1669+
- Yoga
1670+
- RNSVG (15.11.1):
1671+
- DoubleConversion
1672+
- glog
1673+
- hermes-engine
1674+
- RCT-Folly (= 2024.01.01.00)
1675+
- RCTRequired
1676+
- RCTTypeSafety
1677+
- React-Core
1678+
- React-debug
1679+
- React-Fabric
1680+
- React-featureflags
1681+
- React-graphics
1682+
- React-ImageManager
1683+
- React-NativeModulesApple
1684+
- React-RCTFabric
1685+
- React-rendererdebug
1686+
- React-utils
1687+
- ReactCodegen
1688+
- ReactCommon/turbomodule/bridging
1689+
- ReactCommon/turbomodule/core
1690+
- RNSVG/common (= 15.11.1)
1691+
- Yoga
1692+
- RNSVG/common (15.11.1):
16501693
- DoubleConversion
16511694
- glog
16521695
- hermes-engine
@@ -1760,6 +1803,7 @@ DEPENDENCIES:
17601803
- ReactCodegen (from `build/generated/ios`)
17611804
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
17621805
- ReactNativeCameraKit (from `../node_modules/react-native-camera-kit`)
1806+
- RNSVG (from `../node_modules/react-native-svg`)
17631807
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
17641808
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
17651809

@@ -1900,6 +1944,8 @@ EXTERNAL SOURCES:
19001944
:path: "../node_modules/react-native/ReactCommon"
19011945
ReactNativeCameraKit:
19021946
:path: "../node_modules/react-native-camera-kit"
1947+
RNSVG:
1948+
:path: "../node_modules/react-native-svg"
19031949
RNVectorIcons:
19041950
:path: "../node_modules/react-native-vector-icons"
19051951
Yoga:
@@ -1941,8 +1987,8 @@ SPEC CHECKSUMS:
19411987
React-logger: d42a53754a7252cc7a851315f0da2e46b450ea92
19421988
React-Mapbuffer: 89885d1518433a462fe64b68bf5e097997380090
19431989
React-microtasksnativemodule: 36341e09dcd1df535503e6ed2ddf88f10da56d52
1944-
react-native-safe-area-context: 0d8827b2420dfb4c8a8e27639585e61b912261be
1945-
react-native-update: 73336810994cf31c5085070faa1ad4ead5b76e3c
1990+
react-native-safe-area-context: 5e53e2b0fc3a2994ad0c89a2486e545b6566d8c4
1991+
react-native-update: 4a39d6a9ae4393fbb165af238dc55b1b79e1b9da
19461992
React-nativeconfig: 539ff4de6ce3b694e8e751080568c281c84903ce
19471993
React-NativeModulesApple: 702246817c286d057e23fe4b1302019796e62521
19481994
React-perflogger: f260e2de95f9dbd002035251559c13bf1f0643d4
@@ -1970,7 +2016,8 @@ SPEC CHECKSUMS:
19702016
React-utils: 1b14c41c3edf4d96db1247a78e0ad96e7ceea011
19712017
ReactCodegen: 0a0eef9c8cd84c932ae1868832086c6441811e84
19722018
ReactCommon: 3c1c8c6d777103c0e60e37c6c5f08e828e2a77c9
1973-
ReactNativeCameraKit: d4d3b606063d42d34091d53de6193ed4b330bb0c
2019+
ReactNativeCameraKit: 32b81683fe511833e266d428be942fafc43bea1c
2020+
RNSVG: c50d29abf38abbf48ebfc50b6258f81099aeabae
19742021
RNVectorIcons: a24016b773380b1aa37fca501ec6b94a951890a0
19752022
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
19762023
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef

Example/testHotUpdate/package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@
1414
"dev:harmony": "react-native bundle-harmony --dev"
1515
},
1616
"dependencies": {
17-
"form-data": "^4.0.1",
17+
"form-data": "^4.0.2",
1818
"patch-package": "^8.0.0",
1919
"postinstall-postinstall": "^2.1.0",
2020
"react": "18.3.1",
21-
"react-native": "0.76.6",
22-
"react-native-camera-kit": "^14.1.0",
21+
"react-native": "0.76.7",
22+
"react-native-camera-kit": "^14.2.0",
2323
"react-native-paper": "^5.13.1",
24-
"react-native-safe-area-context": "^5.1.0",
25-
"react-native-update": "^10.22.0",
24+
"react-native-safe-area-context": "^5.2.0",
25+
"react-native-svg": "^15.11.1",
26+
"react-native-update": "^10.23.0",
2627
"react-native-vector-icons": "^10.2.0"
2728
},
2829
"devDependencies": {
@@ -32,10 +33,10 @@
3233
"@react-native-community/cli": "15.0.1",
3334
"@react-native-community/cli-platform-android": "15.0.1",
3435
"@react-native-community/cli-platform-ios": "15.0.1",
35-
"@react-native/babel-preset": "0.76.6",
36-
"@react-native/eslint-config": "0.76.6",
37-
"@react-native/metro-config": "0.76.6",
38-
"@react-native/typescript-config": "0.76.6",
36+
"@react-native/babel-preset": "0.76.7",
37+
"@react-native/eslint-config": "0.76.7",
38+
"@react-native/metro-config": "0.76.7",
39+
"@react-native/typescript-config": "0.76.7",
3940
"@types/react": "^18.2.6",
4041
"@types/react-test-renderer": "^18.0.0",
4142
"babel-jest": "^29.6.3",
Lines changed: 9 additions & 0 deletions
Loading

Example/testHotUpdate/src/index.tsx

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
Portal,
2121
} from 'react-native-paper';
2222
import {Camera} from 'react-native-camera-kit';
23+
import {LocalSvg} from 'react-native-svg/css';
2324

2425
import TestConsole from './TestConsole';
2526

@@ -91,11 +92,21 @@ function App() {
9192
/>
9293
</Modal>
9394
</Portal>
94-
<Image
95-
resizeMode={'contain'}
96-
source={require('./assets/shezhi.png')}
97-
style={styles.image}
98-
/>
95+
<View style={{flexDirection: 'row', alignItems: 'center', gap: 10}}>
96+
<Text>png:</Text>
97+
<Image
98+
resizeMode={'contain'}
99+
source={require('./assets/shezhi.png')}
100+
style={styles.image}
101+
/>
102+
</View>
103+
<View style={{flexDirection: 'row', alignItems: 'center', gap: 10}}>
104+
<Text>svg:</Text>
105+
<LocalSvg
106+
asset={require('./assets/react-logo.svg')}
107+
style={{width: 30, height: 30}}
108+
/>
109+
</View>
99110
<Text style={styles.instructions}>
100111
这是版本一 {'\n'}
101112
当前原生包版本号: {packageVersion}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
### 本地开发
2323

2424
```
25-
$ git clone [email protected]:reactnativecn/react-native-pushy.git
25+
$ git clone [email protected]:reactnativecn/react-native-update.git
2626
$ cd react-native-pushy/Example/testHotUpdate
2727
$ yarn
2828
$ yarn start
@@ -34,4 +34,4 @@ $ yarn start
3434

3535
本组件由[React Native 中文网](https://reactnative.cn/)独家发布,如有定制需求可以[联系我们](https://reactnative.cn/about.html#content)
3636

37-
关于此插件发现任何问题,可以前往[Issues](https://github.com/reactnativecn/react-native-pushy/issues)发帖提问。
37+
关于此插件发现任何问题,可以前往[Issues](https://github.com/reactnativecn/react-native-update/issues)发帖提问。

endpoints_cresc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["https://cresc-server-pthxtmvcnf.ap-southeast-1.fcapp.run"]

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-update",
3-
"version": "10.22.1",
3+
"version": "10.24.1",
44
"description": "react-native hot update",
55
"main": "src/index",
66
"scripts": {
@@ -26,7 +26,7 @@
2626
},
2727
"repository": {
2828
"type": "git",
29-
"url": "git+https://github.com/reactnativecn/react-native-pushy.git"
29+
"url": "git+https://github.com/reactnativecn/react-native-update.git"
3030
},
3131
"keywords": [
3232
"react-native",
@@ -37,13 +37,13 @@
3737
"author": "reactnativecn",
3838
"license": "MIT",
3939
"bugs": {
40-
"url": "https://github.com/reactnativecn/react-native-pushy/issues"
40+
"url": "https://github.com/reactnativecn/react-native-update/issues"
4141
},
4242
"peerDependencies": {
4343
"react": ">=16.8.0",
4444
"react-native": ">=0.59.0"
4545
},
46-
"homepage": "https://github.com/reactnativecn/react-native-pushy#readme",
46+
"homepage": "https://github.com/reactnativecn/react-native-update#readme",
4747
"dependencies": {
4848
"nanoid": "^3.3.3",
4949
"react-native-url-polyfill": "^2.0.0"
@@ -74,6 +74,5 @@
7474
"react-native": "0.73",
7575
"ts-jest": "^29.2.5",
7676
"typescript": "^5.6.3"
77-
},
78-
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
77+
}
7978
}

react-native-update.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.cocoapods_version = '>= 1.6.0'
1919
s.platform = :ios, "8.0"
2020
s.platforms = { :ios => "11.0" }
21-
s.source = { :git => 'https://github.com/reactnativecn/react-native-pushy.git', :tag => '#{s.version}' }
21+
s.source = { :git => 'https://github.com/reactnativecn/react-native-update.git', :tag => '#{s.version}' }
2222
s.source_files = "ios/**/*.{h,m,mm,swift}"
2323
s.libraries = 'bz2', 'z'
2424
s.vendored_libraries = 'RCTPushy/libRCTPushy.a'

0 commit comments

Comments
 (0)