ユーザ用ツール

サイト用ツール


サイドバー

reactnative:expo:build

以前のリビジョンの文書です


build(akpの作成)のためのコマンド

app.json

{
  "expo": {
    "name": "expo-login",
    "slug": "expo-login",
    "privacy": "public",
    "sdkVersion": "31.0.0",
    "platforms": [
      "ios",
      "android"
    ],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true
    }
  }
}

   ↓

{
  "expo": {
    "name": "expo-login",
    "slug": "expo-login",
    "privacy": "public",  // public
    "sdkVersion": "31.0.0",
    "platforms": [
      "ios",
      "android"
    ],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true
    },
    "android": { // 追加
      "package": "com.nekotype.expo-meomry2" // 追加
    } // 追加
  }
}

expo login

expo login
There is a new version of expo-cli available (2.10.1).
You are currently using expo-cli 2.7.1
Run `npm install -g expo-cli` to get the latest version
? You are already logged in as tama. Log in as new user? (Y/n)
</coce> 


===== 「expo-cli build:android」を実行する =====


<code>
> expo-cli build:android
There is a new version of expo-cli available (2.10.1).
You are currently using expo-cli 2.7.1
Run `npm install -g expo-cli` to get the latest version
[02:01:17] An Expo user account is required to proceed.
? How would you like to authenticate? (Use arrow keys)
> Make a new Expo account
  Log in with an existing Expo account
  Cancel
reactnative/expo/build.1549991657.txt.gz · 最終更新: 2019/02/13 02:14 by ips