From 9fd0693d4c77321b0457d077f0cd67bc5b50b879 Mon Sep 17 00:00:00 2001 From: medhak1 Date: Mon, 9 Nov 2020 18:52:18 -0800 Subject: [PATCH] Upgrades the react native webview package to fix SSL issue (#5774) ### Description Upgrades the react native webview package, because it includes [this PR](https://github.com/react-native-webview/react-native-webview/pull/1450) & [this PR](https://github.com/react-native-webview/react-native-webview/pull/1466), which fix the SSL error in the below issue. ### Tested Repro'd issue and tested solution on a Samsung Galaxy S10 emulator. ### Related issues - Fixes #5773 ### Backwards compatibility Yes --- packages/mobile/ios/Podfile.lock | 6 +++--- packages/mobile/package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/mobile/ios/Podfile.lock b/packages/mobile/ios/Podfile.lock index cb019e7f2d6..3490d00d5ae 100644 --- a/packages/mobile/ios/Podfile.lock +++ b/packages/mobile/ios/Podfile.lock @@ -352,8 +352,8 @@ PODS: - React - react-native-udp (2.6.1): - React - - react-native-webview (10.8.3): - - React + - react-native-webview (10.10.2): + - React-Core - React-RCTActionSheet (0.62.2): - React-Core/RCTActionSheetHeaders (= 0.62.2) - React-RCTAnimation (0.62.2): @@ -818,7 +818,7 @@ SPEC CHECKSUMS: react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865 react-native-tcp: e1a8c3ac010774cd71811989805ff3eaebb62f17 react-native-udp: 54a1aa9bf5c0824f930b1ba6dbfb3fd3e733bba9 - react-native-webview: 598605cd213f5096e695f5b33fbee210a47e60ab + react-native-webview: 0aa2cde4ee7e3e1c5fffdf64dbce9c709aa18155 React-RCTActionSheet: f41ea8a811aac770e0cc6e0ad6b270c644ea8b7c React-RCTAnimation: 49ab98b1c1ff4445148b72a3d61554138565bad0 React-RCTBlob: a332773f0ebc413a0ce85942a55b064471587a71 diff --git a/packages/mobile/package.json b/packages/mobile/package.json index e25e9add741..885ad86d76c 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -136,7 +136,7 @@ "react-native-tcp": "https://github.com/celo-org/react-native-tcp#0b5948e", "react-native-udp": "git+https://github.com/celo-org/react-native-udp#730f295", "react-native-url-polyfill": "^1.2.0", - "react-native-webview": "^10.8.3", + "react-native-webview": "^10.9.3", "react-redux": "^7.2.0", "redux": "^4.0.5", "redux-persist": "^6.0.0", diff --git a/yarn.lock b/yarn.lock index dfcb1ca1c1b..60b376850a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -28334,10 +28334,10 @@ react-native-web@^0.13.12: prop-types "^15.6.0" react-timer-mixin "^0.13.4" -react-native-webview@^10.8.3: - version "10.8.3" - resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-10.8.3.tgz#63245fdf39320dbbc67c26e1e305342a51f93d66" - integrity sha512-QV3dCGG8xsr/65Rpf2/Khno8fzkyyJKUZpn00y6Wd1hbYRqataZOesCm2ceZS21yXzLLGVHmQlB5/41h3K787Q== +react-native-webview@^10.9.3: + version "10.10.2" + resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-10.10.2.tgz#13208aef17c9ccfd28355363688f4cbe2143f10a" + integrity sha512-98Dh7q1gEflicFZ8KNL3nK5XRjx50OZXqw87jHofVjKfjbK0LKmvI5X8ymgUMGg61JVgI3AF+g8qpDvqjgQsfg== dependencies: escape-string-regexp "2.0.0" invariant "2.2.4"