From 787eb07d4d1eb22bb9f6ebb65336303b0d3ea1ad Mon Sep 17 00:00:00 2001 From: yezian Date: Fri, 17 May 2024 13:55:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=A4=E6=96=AD=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=B1=BB=E5=9E=8B=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/storeInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/storeInfo.js b/utils/storeInfo.js index c4dc053..ee19cd2 100644 --- a/utils/storeInfo.js +++ b/utils/storeInfo.js @@ -36,7 +36,7 @@ export async function storeAppInfo() { const b_did = await getDid(); const b_ver = Application.nativeApplicationVersion; - const b_dt = Device.osName === "Android" ? 0 : 1; + const b_dt = Platform.OS === "android" ? 0 : 1; const b_ch = "production"; const b_model = Device.modelName; const b_osver = Device.osVersion;