Last active
June 1, 2022 18:28
-
-
Save jthoms1/f3a623e7e43847c6a0d881390658c43e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instructions on how to download an App Bundle from AppFlow | |
# | |
# | |
# Setup auth first: https://ionic.io/docs/appflow/cli/overview#authentication | |
# | |
# Environment variables | |
# | |
# APP_ID (IE 186b544f) | |
# CHANNEL (IE production) | |
# PORTAL_NAME (IE checkout) | |
# ANDROID_PROJ_DIR_ROOT (IE the project root on your machine) | |
# BUILT_PRODUCTS_DIR (IE the iOS project location) | |
# | |
(export IONIC_CLOUD_VERSION=0.5.0; curl -sL https://ionic.io/get-ionic-cloud-cli | bash) | |
ionic-cloud live-update download --app-id ${APP_ID} --channel-name ${CHANNEL} --zip-name ${PORTAL_NAME}.zip | |
#Android | |
unzip ${PORTAL_NAME}.zip -d ${ANDROID_PROJ_DIR_ROOT}/app/src/main/assets/${PORTAL_NAME} | |
#iOS | |
unzip ${PORTAL_NAME}.zip -d ${BUILT_PRODUCTS_DIR}/${TARGET_NAME}.app/${PORTAL_NAME} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment