swimtracker-app/doc/howto_local_android_build.md

30 lines
686 B
Markdown
Raw Permalink Normal View History

# Based on https://docs.expo.io/distribution/turtle-cli/
npm -g install turtle-cli --legacy-peer-deps
2021-07-28 16:00:34 +02:00
# local hosting
expo export --public-url https://swimtracker.bauer.tech/app-update
scp -r dist/* root@server:"/volumes/swimtracker/app-update/"
# Needs jdk 8
apt install openjdk-8-jdk-headless
export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:$PATH
2021-07-28 16:00:34 +02:00
turtle build:android --type apk --public-url https://swimtracker.bauer.tech/app-update/android-index.json -o app.apk
2023-10-28 14:05:54 +02:00
# New
npm install -g eas-cli
# check eas.json from profiles
eas build --platform android --local --profile production
eas build --platform android --local --profile preview --output swimtracker-0.1.apk