diff --git a/.gitignore b/.gitignore index 733c661..d65598a 100644 --- a/.gitignore +++ b/.gitignore @@ -44,4 +44,4 @@ x.ts x.sh google-services.json -mobile-darmasaba-firebase-adminsdk-fbsvc-f5abb292b5.json +service-account.json diff --git a/app.config.js b/app.config.js index 62e0399..f253074 100644 --- a/app.config.js +++ b/app.config.js @@ -21,6 +21,7 @@ export default { }, android: { package: "mobiledarmasaba.app", + versionCode: 1, adaptiveIcon: { foregroundImage: "./assets/images/splash-icon.png", backgroundColor: "#ffffff" diff --git a/eas.json b/eas.json index 4804edb..1545412 100644 --- a/eas.json +++ b/eas.json @@ -5,20 +5,52 @@ }, "build": { "development": { - "developmentClient": true, - "distribution": "internal" + "distribution": "internal", + "android": { + "buildType": "apk" + }, + "ios": { + "simulator": true + } }, "preview": { "distribution": "internal", "android": { "buildType": "apk" + }, + "ios": { + "simulator": false } }, "production": { - "autoIncrement": true + "distribution": "store", + "android": { + "buildType": "app-bundle" + }, + "ios": { + "simulator": false + } } }, "submit": { - "production": {} + "production": { + "android": { + "serviceAccountKeyPath": "./service-account.json", + "track": "production" + } + }, + "beta": { + "android": { + "serviceAccountKeyPath": "./service-account.json", + "track": "beta", + "releaseStatus": "completed" + } + }, + "internal": { + "android": { + "serviceAccountKeyPath": "./service-account.json", + "track": "internal" + } + } } }