RN/expo) 개발환경/프로덕션 환경 분리하기

김명성·2022년 11월 30일
0

정리중입니다.

eas.json

{
  "cli": {
    "version": ">= 2.6.0"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal",
      "extends": "production"
    },
    "preview": {
      "channel": "staging",
      "distribution": "internal",
      "android": {
        "buildType": "apk"
      },
      "ios": {
        "simulator": true
      }
    },
    "preview2": {
      "android": {
        "gradleCommand": ":app:assembleRelease"
      }
    },
    "production": {
      "channel":"production",
      "env": {
        "CLIENT_ID": "client",
        "CLIENT_SECRET": "itssecret"
      }
    }
  },
  "submit": {
    "production": {
      "android": {
        "serviceAccountKeyPath":"./pc-api-000-123-4a5b6c00d2dsss.json",
        "track":"internal"
      },
      "ios": {
        "bundleIdentifier": "co.kr.appname",
        "appleId": "forwarm5891@gmail.com",
        "ascAppId": "1071034078",
        "appleTeamId": "9f932fk32ds"
      }
    }
  }
}

0개의 댓글