From dd3295c3e8735563ece5e91dfa7dc2a6f72e1af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=98=89=E8=AF=9A?= <425765923@qq.com> Date: Wed, 31 Jan 2024 15:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9rnoh=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=EF=BC=8C=E9=80=82=E9=85=8Dohpm1.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default-storage/harmony/async_storage.har | Bin 8352 -> 8633 bytes .../harmony/async_storage/oh-package.json5 | 8 +++++--- packages/default-storage/package.json | 2 +- .../default-storage/src/RCTAsyncStorage.ts | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/default-storage/harmony/async_storage.har b/packages/default-storage/harmony/async_storage.har index a838797ab0ab261d3e6c3b9061cdd4988fad44da..04b107751545c9c998df596122713ac3353e54c3 100644 GIT binary patch delta 8188 zcmV2pInJ#j%ZYAm z*(=Fub9{VMN`fuc6seMw9j{maeP{3>!I!L;^JvM_#v%y}27>|Sff;b5_iprSy8d=- znEf-yzA{XzQP2Hhg;%Lm+TGnH_!q9|-_qvR2KixQduL~VcWZBZcX#uL(#CFS6P}e; ziA35pc0JtzRF;Jk?c6tT`83_z4AED;=;x8`c%)CS^s(uYo~gSoQJH}}kmt{UMxN0l z4%Pd%W!{tbm1gH-t=X!dHpl^4+thZnjkW!Fxwq%_0zzYsGQWWY@c?=*GXj$ zYj4lrK?%=)8PomeldnXxzuPqu^S?=5d+hXRTkpaG;C=R1*v2FCzqGZb&i^f(|C^h; z+5BJjN}m5)p)#)L7}hlz0S|QCfqh3xpGzCO4_^uE?D~?Ioc~>1@?VXF0`P}xTRSUj zeJ7wHvGl)nEt=H9i9JhQ_AN5vezv0 zU(Cs$_(aTU>mcgC61v&-6)rjdO{43sKT#WhFdz2z_R{BnsYF7&3KjvFspN;%Ss+uc zz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2mD`D*0QE90y38R+2EmF*05&;Kp}h|m9eU~{)Oaf>AQy%wrvxCiKT z^N+OMi|rC92ZzbDX7T5jk?!b2a>j5XjXo@5#+4zy7JqIA5?(3GyG9Q9pN1tpUo5JR zI&4kmWs2y!=?&PozhN2vs`qKn7{XLDU?oP9!II2A3(Uw{`dY#jq4f0-uh2fUa_(7} zdPt(<`|4=4R*aAwV^jcAsZ^Bo@$+=~Nd3S(VH_O1;y?C+H=>*S0cDt z)HDr*OOu)&BWe0U-Q_o|EBi4tcx$ZW+>ME5m{V=0W?0EZo8jL$ov9sObdiQ837R`P zbNT$vuZ48jqR(EOslJnT_4l|E_5Wli_Y-~pZFgst~&ILkp608v&>CP&)Ywjo(iNSieB ztK>6sjYzGHGVc{Yxu2hbqR>{&KaqH|NBJiRmlK{iB^onrv6Epvo->wTYrTTLVdNG_ zUlveS+7mzDk`3`Qlw1`#?-ko(#ou8Xzp@r2kAF%gcFH2JFkA9DFtI_ZGa?3?n{1F? z|DM3Lk$xz6$han@BTm7PBrnX2jGRhQY#3yQ(^@Q+EM@2tQn2RjbU32RANoo7LlV5# zFlv~v$i12hi=pEy`e|6iK)lCLP}>BnNj-|urC!?@Qm`cR`S2l)2!fSY4<;=V)_4%) b?0d?-lP@8=vMam(e%Jp2e5p(u0QLX?-^cuW diff --git a/packages/default-storage/harmony/async_storage/oh-package.json5 b/packages/default-storage/harmony/async_storage/oh-package.json5 index 8f24019a..23022bb9 100644 --- a/packages/default-storage/harmony/async_storage/oh-package.json5 +++ b/packages/default-storage/harmony/async_storage/oh-package.json5 @@ -1,12 +1,14 @@ { "license": "", "devDependencies": { - "rnoh": "file:../rnoh" + }, "author": "", "name": "rnoh-async-storage", "description": "", - "main": "", + "main": "ts.ts", "version": "2.5.1", - "dependencies": {} + "dependencies": { + "rnoh": "file:../rnoh" + } } \ No newline at end of file diff --git a/packages/default-storage/package.json b/packages/default-storage/package.json index c1c54ea5..dade1495 100644 --- a/packages/default-storage/package.json +++ b/packages/default-storage/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-oh-library/async-storage", - "version": "1.21.0-0.1.1", + "version": "1.21.0-0.1.2", "description": "Asynchronous, persistent, key-value storage system for React Native.", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", diff --git a/packages/default-storage/src/RCTAsyncStorage.ts b/packages/default-storage/src/RCTAsyncStorage.ts index 55c69add..e486f3ea 100644 --- a/packages/default-storage/src/RCTAsyncStorage.ts +++ b/packages/default-storage/src/RCTAsyncStorage.ts @@ -4,8 +4,8 @@ import { shouldFallbackToLegacyNativeModule } from "@react-native-async-storage/ // TurboModuleRegistry falls back to NativeModules so we don't have to try go // assign NativeModules' counterparts if TurboModuleRegistry would resolve // with undefined. -let RCTAsyncStorage = TurboModuleRegistry - ? Platform.OS === "harmony" +// @ts-ignore +let RCTAsyncStorage = TurboModuleRegistry ? Platform.OS === "harmony" ? TurboModuleRegistry.get("RNCAsyncStorage") : TurboModuleRegistry.get("PlatformLocalStorage") || // Support for external modules, like react-native-windows TurboModuleRegistry.get("RNC_AsyncSQLiteDBStorage") ||