应用程序在博览会上运行,但在物理设备上崩溃

问题描述 投票:0回答:0

我最近尝试制作构建,但没有成功。带有expo的应用程序工作正常,但是当我为android进行构建时,它会打开expo go,或者它不会打开应用程序,但expo图像仍然存在,对于ios它会崩溃并且根本无法打开。

一些信息: 世博医生:一切都很完美 博览会版本:49

我的app.json:

{
  "expo": {
    "name": "Meal Pass",
    "slug": "mealpass",
    "version": "1.0.4",
    "orientation": "portrait",
    "icon": "./app/assets/meal-icon.png",
    "userInterfaceStyle": "light",
    "scheme": "com.jawsdevelopers.mealpass",
    "jsEngine": "hermes",
    "splash": {
      "image": "./app/assets/mealpass.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true,
      "associatedDomains": ["applinks: com.jawsdevelopers.mealpass"],
      "bundleIdentifier": "com.jawsdevelopers.mealpass"
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./app/assets/meal-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "package": "com.jawsdevelopers.mealpass",
      "intentFilters": [
        {
          "action": "VIEW",
          "autoVerify": true,
          "data": [
            {
              "scheme": "https",
              "host": "com.jawsdevelopers.mealpass",
              "pathPrefix": "/login"
            }
          ],
          "category": [
            "BROWSABLE",
            "DEFAULT"
          ]
        }
      ]
    },
    "web": {
      "favicon": "./assets/favicon.png"
    },
    "owner": "jawsdevelopers",
    "extra": {
      "eas": {
        "projectId": "<id>"
      }
    }
  }
}

eas.json:

{
  "cli": {
    "version": ">= 3.13.1"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {}
  },
  "submit": {
    "production": {}
  }
}

我不知道我需要什么来显示什么文件什么配置,所以如果你想让我上传文件评论,我将用文件编辑应用程序

react-native build expo apk ipa
© www.soinside.com 2019 - 2024. All rights reserved.