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;