Преглед на файлове

fix: 修改生产环境android包是aab类型

kuns преди 2 месеца
родител
ревизия
cc8b8706f9
променени са 2 файла, в които са добавени 18 реда и са изтрити 19 реда
  1. 17 18
      app.json
  2. 1 1
      eas.json

+ 17 - 18
app.json

@@ -90,29 +90,28 @@
             [
                 "expo-font",
                 {
-                "fonts": ["./path/to/file.ttf"],
                 "android": {
                     "fonts": [
-                        {
-                            "fontFamily": "Roboto-Bold",
-                            "fontDefinitions": [
                             {
-                                "path": "./assets/fonts/Roboto-Bold.ttf",
-                                "weight": 800
-                            }
-                            ]
-                        },
-                        {
-                            "fontFamily": "Roboto-Regular",
-                            "fontDefinitions": [
+                                "fontFamily": "Roboto-Bold",
+                                "fontDefinitions": [
+                                {
+                                    "path": "./assets/fonts/Roboto-Bold.ttf",
+                                    "weight": 800
+                                }
+                                ]
+                            },
                             {
-                                "path": "./assets/fonts/Roboto-Regular.ttf",
-                                "weight": 400
+                                "fontFamily": "Roboto-Regular",
+                                "fontDefinitions": [
+                                {
+                                    "path": "./assets/fonts/Roboto-Regular.ttf",
+                                    "weight": 400
+                                }
+                                ]
                             }
-                            ]
-                        }
-                    ]
-                }
+                        ]
+                    }
                 }
             ]
         ],

+ 1 - 1
eas.json

@@ -16,7 +16,7 @@
                 "enterpriseProvisioning": "adhoc"
             },
             "android": {
-                "buildType": "abb",
+                "buildType": "aab",
                 "gradleCommand": ":app:assembleRelease"
             },
             "distribution": "internal",