From 3adeb7b13036fdd81677cbf194e6ea8e1b8c6e71 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 5 Nov 2024 01:26:04 +0100 Subject: [PATCH] Chore: add android logging --- Docs/Reasonings/Android.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Docs/Reasonings/Android.md diff --git a/Docs/Reasonings/Android.md b/Docs/Reasonings/Android.md new file mode 100644 index 000000000..a74babd40 --- /dev/null +++ b/Docs/Reasonings/Android.md @@ -0,0 +1,26 @@ +# Android experiments + +This document keeps track of the approaches used to implement https://github.com/pietervdvn/MapComplete/issues/2112 + +It is espacially used to document the dead ends + +## 1. Bubblewrap + +Guide: https://developers.google.com/codelabs/pwa-in-play#1 + +TODO: add "shortcuts" to the web manifest: https://web.dev/articles/app-shortcuts +TODO: add "screenshots" to the web manifest +Keystore: /home/pietervdvn/git/MapComplete-android-bubblewrap/android.keystore + +### To build and deploy the latest version + +bubblewrap build +adb install app-release-signed.apk + +### Results + +Quick to setup, but opens in Fennec/Brave/some default browser... _with_ a UI Element + +Seems to only support chrome + +## 2. Writing our own webview