mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-18 02:56:11 +08:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a432e5f1b1 | ||
![]() |
23d1fcd4d1 | ||
![]() |
e3a748065a |
@@ -12,7 +12,7 @@
|
||||
"react-native-paper": "^5.13.1",
|
||||
"react-native-safe-area-context": "^5.2.0",
|
||||
"react-native-svg": "^15.11.1",
|
||||
"react-native-update": "^10.24.2",
|
||||
"react-native-update": "^10.25.0",
|
||||
"react-native-vector-icons": "^10.2.0",
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -1434,7 +1434,7 @@
|
||||
|
||||
"react-native-svg": ["react-native-svg@15.11.1", "", { "dependencies": { "css-select": "^5.1.0", "css-tree": "^1.1.3", "warn-once": "0.1.1" }, "peerDependencies": { "react": "*", "react-native": "*" } }, "sha512-Qmwx/yJKt+AHUr4zjxx/Q69qwKtRfr1+uIfFMQoq3WFRhqU76aL9db1DyvPiY632DAsVGba1pHf92OZPkpjrdQ=="],
|
||||
|
||||
"react-native-update": ["react-native-update@10.24.2", "", { "dependencies": { "nanoid": "^3.3.3", "react-native-url-polyfill": "^2.0.0" }, "peerDependencies": { "react": ">=16.8.0", "react-native": ">=0.59.0" } }, "sha512-pMnAFWApyZkTFKJliENcKVl3wSjOH/e0mEaYjYodWjpmHGZVET/J/nZ46Q03/JRtXcVnYkaq//y3axMfgHC21g=="],
|
||||
"react-native-update": ["react-native-update@10.25.0", "", { "dependencies": { "nanoid": "^3.3.3", "react-native-url-polyfill": "^2.0.0" }, "peerDependencies": { "react": ">=16.8.0", "react-native": ">=0.59.0" } }, "sha512-4EYcYZFMhd/VMk9EwND4N2NOBZJYTksvbLdGTgqwYA1NT4IUmBgTFGeeng8GzazOqh4yP0tlW98zpW+67DEZsg=="],
|
||||
|
||||
"react-native-url-polyfill": ["react-native-url-polyfill@2.0.0", "", { "dependencies": { "whatwg-url-without-unicode": "8.0.0-3" }, "peerDependencies": { "react-native": "*" } }, "sha512-My330Do7/DvKnEvwQc0WdcBnFPploYKp9CYlefDXzIdEaA+PAhDYllkvGeEroEzvc4Kzzj2O4yVdz8v6fjRvhA=="],
|
||||
|
||||
|
@@ -1308,7 +1308,7 @@ PODS:
|
||||
- ReactCommon/turbomodule/bridging
|
||||
- ReactCommon/turbomodule/core
|
||||
- Yoga
|
||||
- react-native-update (10.24.2):
|
||||
- react-native-update (10.25.0):
|
||||
- DoubleConversion
|
||||
- glog
|
||||
- hermes-engine
|
||||
@@ -1322,8 +1322,8 @@ PODS:
|
||||
- React-featureflags
|
||||
- React-graphics
|
||||
- React-ImageManager
|
||||
- react-native-update/HDiffPatch (= 10.24.2)
|
||||
- react-native-update/RCTPushy (= 10.24.2)
|
||||
- react-native-update/HDiffPatch (= 10.25.0)
|
||||
- react-native-update/RCTPushy (= 10.25.0)
|
||||
- React-NativeModulesApple
|
||||
- React-RCTFabric
|
||||
- React-rendererdebug
|
||||
@@ -1333,7 +1333,7 @@ PODS:
|
||||
- ReactCommon/turbomodule/core
|
||||
- SSZipArchive
|
||||
- Yoga
|
||||
- react-native-update/HDiffPatch (10.24.2):
|
||||
- react-native-update/HDiffPatch (10.25.0):
|
||||
- DoubleConversion
|
||||
- glog
|
||||
- hermes-engine
|
||||
@@ -1356,7 +1356,7 @@ PODS:
|
||||
- ReactCommon/turbomodule/core
|
||||
- SSZipArchive
|
||||
- Yoga
|
||||
- react-native-update/RCTPushy (10.24.2):
|
||||
- react-native-update/RCTPushy (10.25.0):
|
||||
- DoubleConversion
|
||||
- glog
|
||||
- hermes-engine
|
||||
@@ -1988,7 +1988,7 @@ SPEC CHECKSUMS:
|
||||
React-Mapbuffer: a381120aea722d2244d4e4b663a10d4c3b2d4e51
|
||||
React-microtasksnativemodule: d9b946675010659cddd1c7611c074216579c8ad3
|
||||
react-native-safe-area-context: 5e53e2b0fc3a2994ad0c89a2486e545b6566d8c4
|
||||
react-native-update: f3a3a5e028f0513f9350be61abf5c0135574b201
|
||||
react-native-update: 7fd014ef3cd16406bc20284bfb40f9eb0c2ecc8e
|
||||
React-nativeconfig: 67fa7a63ea288cb5b1d0dd2deaf240405fec164f
|
||||
React-NativeModulesApple: 34b7a4d7441a4ee78d18109ff107c1ccf7c074a9
|
||||
React-perflogger: d1149037ac466ad2141d4ae541ca16cb73b2343b
|
||||
|
@@ -23,7 +23,7 @@
|
||||
"react-native-paper": "^5.13.1",
|
||||
"react-native-safe-area-context": "^5.2.0",
|
||||
"react-native-svg": "^15.11.1",
|
||||
"react-native-update": "^10.24.2",
|
||||
"react-native-update": "^10.25.0",
|
||||
"react-native-vector-icons": "^10.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-update",
|
||||
"version": "10.25.0",
|
||||
"version": "10.25.2",
|
||||
"description": "react-native hot update",
|
||||
"main": "src/index",
|
||||
"scripts": {
|
||||
|
@@ -325,11 +325,16 @@ export const UpdateProvider = ({
|
||||
};
|
||||
|
||||
Linking.getInitialURL().then(parseLinking);
|
||||
const linkingListener = Linking.addEventListener('url', ({ url }) =>
|
||||
parseLinking(url),
|
||||
);
|
||||
const linkingHandler = ({ url }: { url: string }) => {
|
||||
parseLinking(url);
|
||||
};
|
||||
const linkingListener = Linking.addEventListener('url', linkingHandler);
|
||||
return () => {
|
||||
linkingListener.remove();
|
||||
if ('removeEventListener' in Linking) {
|
||||
(Linking as any).removeEventListener('url', linkingHandler);
|
||||
} else {
|
||||
linkingListener.remove();
|
||||
}
|
||||
};
|
||||
}, [parseTestPayload]);
|
||||
|
||||
|
Reference in New Issue
Block a user