From 2166ac7f3ea1e71678c878e51e0c0c03c12988e7 Mon Sep 17 00:00:00 2001 From: Phuong Phan Date: Wed, 29 Jun 2022 08:48:57 +0700 Subject: [PATCH] Prevent blocking Android UI when getting the image size --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7173d498089c..a43322ff4a86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36246,9 +36246,9 @@ "integrity": "sha512-eRKm4wlsmZHmsWFyv77kYc2F+ZyEVqe0m7mqhsMzWk6TQT4FBDtEDxmRDDFq+ivCu/1QD+EPhmYcAIpeGr7Ekg==" }, "react-native-image-size": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/react-native-image-size/-/react-native-image-size-1.1.3.tgz", - "integrity": "sha512-jJvN6CjXVAm69LAVZNV7m7r50Qk9vuPZwLyrbs/k31/3Xs8bZyVCdvfP44FuBisITn/yFsiOo6i8NPrFBPH20w==" + "version": "git+https://github.com/Expensify/react-native-image-size.git#6b5ab5110dc3ed554f8eafbc38d7d87c17147972", + "integrity": "sha512-jNNpW5byieb7pb/l0HRvmCav4BtzpTzgC+ybT+Wbi2yyroOukveVvnjwWnmoOeuGynsYB4Yt5eGrWZnPnJSwqQ==", + "from": "git+https://github.com/Expensify/react-native-image-size.git#6b5ab5110dc3ed554f8eafbc38d7d87c17147972" }, "react-native-keyboard-spacer": { "version": "0.4.1", @@ -42911,4 +42911,4 @@ "dev": true } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 7e915803aacf..aeaa0ebb2cda 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "react-native-haptic-feedback": "^1.13.0", "react-native-image-pan-zoom": "^2.1.12", "react-native-image-picker": "^4.7.3", - "react-native-image-size": "^1.1.3", + "react-native-image-size": "git+https://github.com/Expensify/react-native-image-size#6b5ab5110dc3ed554f8eafbc38d7d87c17147972", "react-native-keyboard-spacer": "^0.4.1", "react-native-modal": "^13.0.0", "react-native-onyx": "1.0.5",