Hi,
I’m trying to create a production Android .aab build with eas like:
eas build --profile production --platform android
But the built artifact is an .apk rather than .aab. Any idea what I’m missing/doing wrong?
My eas.json looks like:
{
"cli": {
"version": ">= 0.35.0"
},
"build": {
"common": {
"ios": {
"scheme": "MyScheme",
"cocoapods": "1.11.2"
},
"android": {
"gradleCommand": ":app:assembleProductionRelease -PsomeKey=someValue",
"image": "latest"
}
},
"nonprod": {
"extends": "common",
"ios": {
"scheme": "MyNonProdScheme"
},
"android": {
"gradleCommand": ":app:assembleNonprodRelease"
}
},
"develop": {
"extends": "nonprod",
"developmentClient": true,
"distribution": "internal",
"android": {
"gradleCommand": ":app:assembleNonprodDebug"
}
},
"uat": {
"extends": "nonprod",
"distribution": "internal",
"channel": "uat"
},
"preview": {
"extends": "nonprod",
"distribution": "internal",
"channel": "preview"
},
"production": {
"extends": "common",
"distribution": "store",
"channel": "production",
"android": {
"buildType": "app-bundle"
}
}
},
"submit": {
"production": {
"ios": {
"ascAppId": "**********",
"appleTeamId": "**********",
"appName": "MyAppName",
"bundleIdentifier": "name.app.my"
}
}
}
}
I’m using bare workflow and eas version:
eas-cli/3.7.2 darwin-arm64 node-v16.18.0
Many thanks
Dan