wudebin 1 ヶ月 前
コミット
967e75e58f

+ 2 - 2
Strides-SPAPP/android/app/version.properties

@@ -1,2 +1,2 @@
-#Mon Apr 27 12:20:16 CST 2026
-VERSION_CODE=945
+#Wed Apr 29 11:33:36 CST 2026
+VERSION_CODE=947

+ 2 - 2
Strides-SPAPP/app.json

@@ -1,9 +1,9 @@
 {
   "name": "Strides",
   "displayName": "ChargEco",
-  "versionCode": 920,
+  "versionCode": 940,
   "versionName": "V4.2.1",
-  "product": false,
+  "product": true,
   "debug": true,
   "isWhitelabel": true,
   "isLumiWhitelabel": false,

+ 2 - 1
Strides-SPAPP/app/pages/charge/QRScanner.js

@@ -8,6 +8,7 @@ import TextView from '../../components/TextView';
 import { Camera, useCameraDevice, useCodeScanner } from 'react-native-vision-camera';
 import { check, PERMISSIONS, RESULTS } from 'react-native-permissions';
 import utils from '../../utils/utils';
+import app from '../../../app.json';
 
 const checkPermission = (back) => {
   if (isIOS) {
@@ -100,7 +101,7 @@ const QRScanner = ({ onResult, isActive }) => {
             name={flashOn ? "flashlight-on" : "flashlight-off"}
             size={36}
             color="#fff"/>
-          { !isIOS &&
+          { (!isIOS && !app.product) &&
             <TextView style={{color: "#fff", fontSize: 12}}>{permissionStr}</TextView>
           }
         </Pressable>