Android: setup data bridge, polyfill geolocation

This commit is contained in:
Pieter Vander Vennet 2024-12-10 04:28:50 +01:00
parent 17450deb82
commit 76e9381650
23 changed files with 187 additions and 106 deletions

View file

@ -0,0 +1,12 @@
# Creating an APK from the code
We are using capacitor. This is a tool which packages some files into an Android shell.
## Developing
1. Build all the necessary files.
a. If no layer/theme changes were made, `npm run build` is sufficient
b. Otherwise, run `npm run prepare-deploy`.
2. All the web assets will now be in `dist/`
3. Run `scripts/prepareAndroid.sh`
4. Switch to Android Studio, open the subproject "Android" in it