Skip to content

Commit

Permalink
chore: 更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
shinken008 committed Sep 23, 2021
1 parent 8ed0121 commit 900e4b7
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 26 deletions.
12 changes: 6 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ PODS:
- EXCamera (11.2.2):
- ExpoModulesCore
- UMCore
- EXConstants (11.0.1):
- EXConstants (11.0.2):
- ExpoModulesCore
- UMCore
- EXFileSystem (11.1.3):
Expand Down Expand Up @@ -353,8 +353,8 @@ PODS:
- TZImagePickerController
- TZImagePickerController (3.6.4)
- UMAppLoader (2.2.0)
- UMCore (7.1.1)
- UMReactNativeAdapter (6.3.5):
- UMCore (7.1.2)
- UMReactNativeAdapter (6.3.7):
- ExpoModulesCore
- React-Core
- UMCore
Expand Down Expand Up @@ -570,7 +570,7 @@ SPEC CHECKSUMS:
EXBarCodeScanner: ea326d0d2f0b84d4fa2fb833d17e28eaff7f831b
EXBrightness: 8c4fd91c787d05eab082e7efefe8072fd6c715c2
EXCamera: 042b334f6ee9b918855fe4c4f155d4c372300a5f
EXConstants: 3babb61f8f4bb7dffe85b8b7d6eaa31d903e4d7e
EXConstants: 4cb52b6d8f636c767104a44bf7db3873e9c01a6f
EXFileSystem: 0a04aba8da751b9ac954065911bcf166503f8267
EXImageLoader: d3531a3fe530b22925c19977cb53bb43e3821fe6
EXImagePicker: 414a3663910fd6604248e84c9c77a0501ae0d18b
Expand Down Expand Up @@ -624,8 +624,8 @@ SPEC CHECKSUMS:
RNSyanImagePicker: aff3afbb646220de319eb00806589b9899b069c9
TZImagePickerController: 1cc39ec0454d6e94d0397418953164d7aa631719
UMAppLoader: 21af63390e55c82e037fb9752d93114a80ecf16e
UMCore: 2f671796d7439604a1cf8ac7bbe5809cd5c50437
UMReactNativeAdapter: f808906d586a16cebdc3844d86e1bdb8f114a873
UMCore: ce3a4faa010239063b8343895b29a6d97b01069d
UMReactNativeAdapter: bb7922210cf6fdb5768f78685f3c3a2060299119
UMTaskManagerInterface: 2be431101b73604e64fbfffcf759336f9d8fccbb
Yoga: aa0cb45287ebe1004c02a13f279c55a95f1572f4
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb
Expand Down
22 changes: 22 additions & 0 deletions ios/taroDemo/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#import "AppDelegate.h"

// NEW CODE

// put this condition after AppDelegate.h import
#if RCT_DEV
#import <React/RCTDevLoadingView.h>
#endif

// END

#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
Expand Down Expand Up @@ -44,6 +53,19 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
self.moduleRegistryAdapter = [[UMModuleRegistryAdapter alloc] initWithModuleRegistryProvider:[[UMModuleRegistryProvider alloc] init]];

RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];

// NEW CODE

// NSURL *jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.js" fallbackResource:nil];

// RCTBridge *bridge = [[RCTBridge alloc] initWithBundleURL:jsCodeLocation
// moduleProvider:nil
// launchOptions:launchOptions];
#if RCT_DEV
[bridge moduleForClass:[RCTDevLoadingView class]];
#endif

// END
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"taroDemo"
initialProperties:nil];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"react-native-safe-area-context": "^3.1.8",
"react-native-screens": "^2.11.0",
"react-native-syan-image-picker": "0.4.10",
"react-native-unimodules": "^0.14.6",
"react-native-unimodules": "^0.14.8",
"react-native-webview": "^11.6.4"
},
"devDependencies": {
Expand Down
38 changes: 19 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2321,17 +2321,17 @@
dependencies:
eslint-visitor-keys "^1.1.0"

"@unimodules/core@~7.1.1":
version "7.1.1"
resolved "https://registry.yarnpkg.com/@unimodules/core/-/core-7.1.1.tgz#5bc7694e1b135033130f585e40d001669f02c572"
integrity sha512-Sa7X+WkrhZzcckavjuQu4mq6BTPWsio7OITfoNNzjL0CEmfHfo3DNWQWoVyj+wCgMnjGUT1l3+q3AQlI+CaCLA==
"@unimodules/core@~7.1.2":
version "7.1.2"
resolved "https://registry.yarnpkg.com/@unimodules/core/-/core-7.1.2.tgz#5181b99586476a5d87afd0958f26a04714c47fa1"
integrity sha512-lY+e2TAFuebD3vshHMIRqru3X4+k7Xkba4Wa7QsDBd+ex4c4N2dHAO61E2SrGD9+TRBD8w/o7mzK6ljbqRnbyg==
dependencies:
compare-versions "^3.4.0"

"@unimodules/react-native-adapter@~6.3.4":
version "6.3.5"
resolved "https://registry.yarnpkg.com/@unimodules/react-native-adapter/-/react-native-adapter-6.3.5.tgz#f9a2c65bc08e051aba6104fe75d43e51ff956bcc"
integrity sha512-2AuETbNMGp6EEiEKK31CTrkmS9QWuZNNvUN9g+nWN/mgIi+vZQI9RubV+a2r5rlS5QH9l7rk+sjkcGLJoFn4EA==
"@unimodules/react-native-adapter@~6.3.7":
version "6.3.7"
resolved "https://registry.yarnpkg.com/@unimodules/react-native-adapter/-/react-native-adapter-6.3.7.tgz#94e3d9d43d88de12cb850f1277b6c6e7d3f21605"
integrity sha512-kVfTje46vfc5uqILvFJCoiS49WfuWcGZUKvRBJaXd1bPgG7E8+94+9p1AsNs5eAFkFnbVWXRAvlOeiHIqrNjEA==
dependencies:
expo-modules-autolinking "^0.0.3"
invariant "^2.2.4"
Expand Down Expand Up @@ -4195,10 +4195,10 @@ expo-camera@~11.2.2:
expo-modules-core "~0.2.0"
invariant "2.2.4"

expo-constants@~11.0.1:
version "11.0.1"
resolved "https://registry.yarnpkg.com/expo-constants/-/expo-constants-11.0.1.tgz#8a33d9702d03289ab68d6de2bbeb2bbc9654734c"
integrity sha512-yolJSfsNAVmuNDc+NNxBzUKbZRXPM35edoMpv8xdmRBMpOWkRmTdpBIFAYAKCtrGruw2tkIQhnLmCD2aDycvTg==
expo-constants@~11.0.2:
version "11.0.2"
resolved "https://registry.yarnpkg.com/expo-constants/-/expo-constants-11.0.2.tgz#069930145908fef7d76bf72a1a874a1d4621af82"
integrity sha512-CVjM+FbOMe/nFOSly5lnj0seMAYsjjc6+q3X8nIXG+gtw9iNBLwMX3Fz308rxiaPRJw+TBdd5/mcGJdNfoS+ew==
dependencies:
"@expo/config" "^4.0.0"
expo-modules-core "~0.2.0"
Expand Down Expand Up @@ -7320,16 +7320,16 @@ [email protected]:
resolved "https://registry.yarnpkg.com/react-native-syan-image-picker/-/react-native-syan-image-picker-0.4.10.tgz#aefeef40842cddfdf43a9ab7ef76787e8f630dcf"
integrity sha512-iwo6v/+801R5mPWgIr0WP0jELfr+NZg1qiFDmdqTLObBd3x9rezV60lP331fRaJTmfYMK0IU04Hiu0WOSmAZ7w==

react-native-unimodules@^0.14.6:
version "0.14.6"
resolved "https://registry.yarnpkg.com/react-native-unimodules/-/react-native-unimodules-0.14.6.tgz#5460a34d44e880909cb63d9bb4c4d77ff158bf0a"
integrity sha512-nYH/x9pqd8MsGVv5qEzNnUxQkdoCOsLtw+44YAnLPuntdcSZcLOCMstM/ee1gkrq1hFbo0Djj7UK/XMcjz+Tnw==
react-native-unimodules@^0.14.8:
version "0.14.8"
resolved "https://registry.yarnpkg.com/react-native-unimodules/-/react-native-unimodules-0.14.8.tgz#8bf859ac1a4e06122e0331ddf9dec62019884432"
integrity sha512-yL6yaG6rq0dYb9/rN3KyZtOPxc0mt69GsWavAZBnhwN1v4uMi50DiHFdfACTPmPnz420woITmBpKK0juWRZOew==
dependencies:
"@unimodules/core" "~7.1.1"
"@unimodules/react-native-adapter" "~6.3.4"
"@unimodules/core" "~7.1.2"
"@unimodules/react-native-adapter" "~6.3.7"
chalk "^2.4.2"
expo-asset "~8.3.3"
expo-constants "~11.0.1"
expo-constants "~11.0.2"
expo-file-system "~11.1.3"
expo-image-loader "~2.2.0"
expo-modules-core "~0.2.0"
Expand Down

0 comments on commit 900e4b7

Please sign in to comment.