vbea 2 anos atrás
pai
commit
86a73dbbe4
2 arquivos alterados com 18 adições e 4 exclusões
  1. 2 2
      Strides-APP/app.json
  2. 16 2
      Strides-APP/app/pages/home/DrawerV2.js

+ 2 - 2
Strides-APP/app.json

@@ -1,7 +1,7 @@
 {
   "name": "Strides",
   "displayName": "ChargEco",
-  "versionCode": 400,
+  "versionCode": 410,
   "versionName": "V3.1.3",
   "product": false,
   "debug": true,
@@ -32,7 +32,7 @@
     "summary": true,
     "anzPayment": false,
     "paymentMethod": false,
-    "showCampaigns": true
+    "showCampaigns": false
   },
   "vehicle": {
     "newVersionPage": false,

+ 16 - 2
Strides-APP/app/pages/home/DrawerV2.js

@@ -281,7 +281,21 @@ export default DrawerV2 = ({isLogin=false, userInfo, onLogout, sideCountInfo={},
           <TextView style={styles.label}>{$t('drawer.contactSupport')}</TextView>
         </Button>
       }
-      { DEBUG &&
+      { DEBUG && <>
+        <Button
+          style={styles.itemButton}
+          viewStyle={styles.itemView}
+          onClick={() => {
+            startPage(PageList.notify);
+          }}>
+          <MaterialCommunityIcons
+            style={styles.icon}
+            name="dev-to"
+            color="#333"
+            size={26}
+          />
+          <TextView style={styles.label}>{$t('route.notificationTest')}</TextView>
+        </Button>
         <Button
           style={styles.itemButton}
           viewStyle={styles.itemView}
@@ -296,7 +310,7 @@ export default DrawerV2 = ({isLogin=false, userInfo, onLogout, sideCountInfo={},
           />
           <TextView style={styles.label}>{"Test Page"}</TextView>
         </Button>
-      }
+      </> }
     </View>
   );
 }