1
0

android build: make building testnet apk easier

Just uncomment line 53 in make_apk, and you get a testnet apk that can co-exist with your mainnet install.
No need to do a clean rebuild of ".buildozer/" either.
This commit is contained in:
SomberNight
2022-07-09 04:41:02 +02:00
parent e72f575eea
commit 57b17d13ac
2 changed files with 8 additions and 0 deletions

View File

@@ -44,8 +44,13 @@ info "apk building phase starts."
# Uncomment and change below to set a custom android package id,
# e.g. to allow simultaneous mainnet and testnet installs of the apk.
# defaults:
# export APP_PACKAGE_NAME=Electrum
# export APP_PACKAGE_DOMAIN=org.electrum
# FIXME: changing "APP_PACKAGE_NAME" seems to require a clean rebuild of ".buildozer/",
# to avoid that, maybe change "APP_PACKAGE_DOMAIN" instead.
# So, in particular, to build a testnet apk, simply uncomment:
#export APP_PACKAGE_DOMAIN=org.electrum.testnet
if [ ! $CI ]; then
# override log level specified in buildozer.spec to "debug":