Skip to content

Commit

Permalink
move out aab-to-apk
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius committed Mar 2, 2024
1 parent c38614a commit a635b26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build:dev-client:ios": "eas build --platform ios --profile development",
"build:dev-client:ios-simulator": "./scripts/build-ios-devclient.sh",
"build:dev-client:android": "./scripts/build-android-devclient.sh",
"aab-to-apk": "./scripts/aab-to-apk.sh",
"clean": "git clean -xdf .expo .turbo node_modules",
"dev": "expo start",
"dev:android": "expo start --android",
Expand Down
2 changes: 2 additions & 0 deletions apps/expo/scripts/aab-to-apk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bundletool build-apks --bundle=$1.aab --output=$1.apks --mode=universal --ks=github-keystore.jks --ks-key-alias=github
[ -f "$1.apks" ] && mv $1.apks $1.zip && unzip $1.zip "universal.apk" && mv universal.apk $1.apk && rm $1.zip

0 comments on commit a635b26

Please sign in to comment.