From 4174aef4f8f6485bbba54fe2c7031747c645a599 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 21 Dec 2022 15:47:42 -0300 Subject: [PATCH] Chore: Upgrade react-native-device-info to 10.3.0 (#4770) --- e2e/tests/assorted/14-in-app-notification.spec.ts | 5 +++-- ios/Podfile.lock | 4 ++-- package.json | 2 +- ...+8.4.8.patch => react-native-device-info+10.3.0.patch} | 0 yarn.lock | 8 ++++---- 5 files changed, 10 insertions(+), 9 deletions(-) rename patches/{react-native-device-info+8.4.8.patch => react-native-device-info+10.3.0.patch} (100%) diff --git a/e2e/tests/assorted/14-in-app-notification.spec.ts b/e2e/tests/assorted/14-in-app-notification.spec.ts index 505f12494..23381e787 100644 --- a/e2e/tests/assorted/14-in-app-notification.spec.ts +++ b/e2e/tests/assorted/14-in-app-notification.spec.ts @@ -32,8 +32,9 @@ describe('InApp Notification', () => { .withTimeout(2000); await sleep(500); await element(by.id(`in-app-notification-${text}`)).tap(); - await sleep(500); - await expect(element(by.id('room-header'))).toExist(); + await waitFor(element(by.id('room-view'))) + .toBeVisible() + .withTimeout(5000); await expect(element(by.id(`room-view-title-${data.users.alternate.username}`))).toExist(); }); }); diff --git a/ios/Podfile.lock b/ios/Podfile.lock index d8294072a..e412a206c 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -503,7 +503,7 @@ PODS: - React-Core - RNDateTimePicker (3.5.2): - React-Core - - RNDeviceInfo (8.4.8): + - RNDeviceInfo (10.3.0): - React-Core - RNFastImage (8.5.12): - React-Core @@ -982,7 +982,7 @@ SPEC CHECKSUMS: RNConfigReader: 396da6a6444182a76e8ae0930b9436c7575045cb RNCPicker: 914b557e20b3b8317b084aca9ff4b4edb95f61e4 RNDateTimePicker: 7658208086d86d09e1627b5c34ba0cf237c60140 - RNDeviceInfo: 0400a6d0c94186d1120c3cbd97b23abc022187a9 + RNDeviceInfo: 4701f0bf2a06b34654745053db0ce4cb0c53ada7 RNFastImage: d5510534be9cccc80e824bfec6369c116d212871 RNFBAnalytics: 091c8adcbb0da1e1680ce434fc6e8a0a501fe2e6 RNFBApp: b1b5a80a676a07dea17e778bda7c1e8b69b2f5ec diff --git a/package.json b/package.json index c02f8cbf7..506425329 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "react-native-bootsplash": "^4.3.3", "react-native-config-reader": "^4.1.1", "react-native-console-time-polyfill": "1.2.3", - "react-native-device-info": "8.4.8", + "react-native-device-info": "^10.3.0", "react-native-document-picker": "^8.1.2", "react-native-easy-grid": "^0.2.2", "react-native-easy-toast": "^1.2.0", diff --git a/patches/react-native-device-info+8.4.8.patch b/patches/react-native-device-info+10.3.0.patch similarity index 100% rename from patches/react-native-device-info+8.4.8.patch rename to patches/react-native-device-info+10.3.0.patch diff --git a/yarn.lock b/yarn.lock index 49da05701..602af3e80 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17090,10 +17090,10 @@ react-native-console-time-polyfill@1.2.3: resolved "https://registry.yarnpkg.com/react-native-console-time-polyfill/-/react-native-console-time-polyfill-1.2.3.tgz#1039dab1bb9e2d8040f5e19de68e0da781dc9b60" integrity sha512-C7CUb1c6GsCssqvjtRuqVqnGwlfEHXxXDvCUuGNbq/gpZZt+9YbZD3ODmXBDxis3tDQA0k1lbT1VMTqWQw9rDg== -react-native-device-info@8.4.8: - version "8.4.8" - resolved "https://registry.yarnpkg.com/react-native-device-info/-/react-native-device-info-8.4.8.tgz#fc92ae423e47db6cfbf30c30012e09cee63727fa" - integrity sha512-92676ZWHZHsPM/EW1ulgb2MuVfjYfMWRTWMbLcrCsipkcMaZ9Traz5mpsnCS7KZpsOksnvUinzDIjsct2XGc6Q== +react-native-device-info@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/react-native-device-info/-/react-native-device-info-10.3.0.tgz#6bab64d84d3415dd00cc446c73ec5e2e61fddbe7" + integrity sha512-/ziZN1sA1REbJTv5mQZ4tXggcTvSbct+u5kCaze8BmN//lbxcTvWsU6NQd4IihLt89VkbX+14IGc9sVApSxd/w== react-native-document-picker@^8.1.2: version "8.1.2"