wudebin 1 maand geleden
bovenliggende
commit
ecfd015c4b

+ 1 - 0
Strides-SPAPP/android/app/src/main/AndroidManifest.xml

@@ -26,6 +26,7 @@
       android:theme="@style/AppTheme.Light"
       android:hardwareAccelerated="true"
       android:usesCleartextTraffic="true"
+      android:enableOnBackInvokedCallback="false"
       tools:ignore="GoogleAppIndexingWarning">
         <activity
           android:name=".MainActivity"

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

@@ -1,2 +1,2 @@
-#Wed Apr 29 11:33:36 CST 2026
-VERSION_CODE=947
+#Thu Apr 30 12:46:15 CST 2026
+VERSION_CODE=953

+ 1 - 1
Strides-SPAPP/app.json

@@ -3,7 +3,7 @@
   "displayName": "ChargEco",
   "versionCode": 940,
   "versionName": "V4.2.1",
-  "product": true,
+  "product": false,
   "debug": true,
   "isWhitelabel": true,
   "isLumiWhitelabel": false,

+ 1 - 0
Strides-SPAPP/app/pages/charge/Details.js

@@ -42,6 +42,7 @@ export default class Details extends Component {
 
   componentDidMount() {
     this.props.navigation.addListener('beforeRemove', (e) => {
+      QRResult.clearResult();
       this.hideDialog();
     });
     this.props.navigation.addListener('focus', () => {

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

@@ -58,6 +58,7 @@ const QRScanner = ({ onResult, isActive }) => {
     }).catch(err => {
       console.warn("相机权限请求错误", err);
       utils.logEventTracking("scan_camera_permission_error", err)
+      setPermissionStr("Exception");
       setHasPermission(false);
     });
   }, []);

+ 10 - 0
Strides-SPAPP/app/utils/constant.js

@@ -42,10 +42,20 @@ if (Text.defaultProps == null)
   Text.defaultProps = {};
 Text.defaultProps.allowFontScaling = false;
 
+const sourceRender = Text.render;
+Text.render = function render(props, ref) {
+  return sourceRender.apply(this, [{ ...props, style: [{fontFamily: 'system-ui'}, props.style] }, ref]);
+};
+
 if (TextInput.defaultProps == null)
   TextInput.defaultProps = {};
 TextInput.defaultProps.allowFontScaling = false;
 
+const sourceRender2 = TextInput.render;
+TextInput.render = function render(props, ref) {
+  return sourceRender2.apply(this, [{ ...props, style: [{fontFamily: 'system-ui'}, props.style] }, ref]);
+};
+
 global.currency = "";//'$';
 global.accessToken = '';
 global.startPage = {};