zbb 3 mesi fa
parent
commit
d17a0027ed
3 ha cambiato i file con 13 aggiunte e 6 eliminazioni
  1. 9 3
      app.json
  2. 1 0
      app/award-detail/components/CheckoutModal.tsx
  3. 3 3
      package.json

+ 9 - 3
app.json

@@ -5,11 +5,16 @@
     "version": "1.0.0",
     "orientation": "portrait",
     "icon": "./assets/images/icon.png",
-    "scheme": "asios",
+    "scheme": [
+      "asios",
+      "alipay2021004126636720"
+    ],
     "userInterfaceStyle": "automatic",
     "newArchEnabled": true,
     "ios": {
-      "supportsTablet": true
+      "supportsTablet": true,
+      "bundleIdentifier": "com.anonymous.asios",
+      "appleTeamId": "Y9ZVX3FRX6"
     },
     "android": {
       "adaptiveIcon": {
@@ -19,7 +24,8 @@
         "monochromeImage": "./assets/images/android-icon-monochrome.png"
       },
       "edgeToEdgeEnabled": true,
-      "predictiveBackGestureEnabled": false
+      "predictiveBackGestureEnabled": false,
+      "package": "com.anonymous.asios"
     },
     "web": {
       "output": "static",

+ 1 - 0
app/award-detail/components/CheckoutModal.tsx

@@ -14,6 +14,7 @@ import {
 } from 'react-native';
 
 import { applyOrder, getApplyResult, previewOrder } from '@/services/award';
+import Alipay from 'expo-native-alipay';
 import { LotteryResultModal, LotteryResultModalRef } from './LotteryResultModal';
 
 const { width: SCREEN_WIDTH } = Dimensions.get('window');

+ 3 - 3
package.json

@@ -5,8 +5,8 @@
   "scripts": {
     "start": "expo start",
     "reset-project": "node ./scripts/reset-project.js",
-    "android": "expo start --android",
-    "ios": "expo start --ios",
+    "android": "expo run:android",
+    "ios": "expo run:ios",
     "web": "expo start --web",
     "lint": "expo lint"
   },
@@ -41,7 +41,7 @@
     "react-native-reanimated": "~4.1.1",
     "react-native-safe-area-context": "~5.6.0",
     "react-native-screens": "~4.16.0",
-    "react-native-svg": "^13.4.0",
+    "react-native-svg": "^15.15.1",
     "react-native-web": "~0.21.0",
     "react-native-webview": "^13.16.0",
     "react-native-worklets": "0.5.1"