From fb34bd37259be87edd4697e4035c77c587befbd5 Mon Sep 17 00:00:00 2001 From: efiten Date: Thu, 12 Nov 2026 16:54:49 +0100 Subject: [PATCH] android: the deployment card says step by step what to do Three testers asked what to enter under Settings > Deployment. Until a deployment is chosen the card now stands out (blue, title "First step: choose where your data goes") and lists the steps: open your CoreScope on another screen, open Coverage, scan its QR code or type the address under it. Once chosen it shrinks to one line naming where the app uploads. --- docs/user-guide.md | 20 +++++++++++++++++++- index.html | 26 ++++++++++++++++++++++---- src/app.js | 7 ++++++- src/deployment.js | 17 +++++++++++++++++ test/deployment.test.mjs | 13 ++++++++++++- 5 files changed, 76 insertions(+), 7 deletions(-) diff --git a/docs/user-guide.md b/docs/user-guide.md index d2a8456..1e21181 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -81,7 +81,25 @@ Your position never goes over the mesh. It is only sent to CoreScope over the in Besides the web app there is an Android app. It works the same, but it does not need Chrome and keeps capturing in the background. On first start it asks for the address of your CoreDrive RX -deployment: type it, or scan the QR code on the CoreScope **Coverage** page. +deployment: see the next section. + +### Choosing a deployment (Android app) + +The web app always uploads to the CoreScope it came from. The Android app comes from Google Play +and does not know which CoreScope you use, so on first start you tell it, under **Settings > +Deployment**: + +1. On a computer or another phone, open the CoreScope your MeshCore community uses in a browser. +2. In its menu, open **Coverage**. That page shows a QR code with an address under it. +3. In the app, tap **Scan QR code** and point the camera at it. With only one phone, type the + address under the QR code into the field and tap **Use this deployment**. + +The app checks that address before it switches. Scanning the deployment you already use changes +nothing; switching to another one while connected asks first, because the app restarts and the +companion disconnects. + +No **Coverage** in the menu, or no QR code on that page? Then that CoreScope does not take +CoreDrive data. Ask whoever runs it. Use one of the two, not both. Only one app at a time can hold the Bluetooth link to the companion, and each keeps its own queue and login. If you installed the web app to the home diff --git a/index.html b/index.html index c6a94a3..e7a38c2 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,15 @@ --updchip-bg: #10283a; --updchip-border: #1d4a6b; --updchip-text: #8cc8ff; + --setup-bg: #10283a; + --setup-border: #2d6fa3; + --setup-text: #cfe6ff; } + .card.setup { background: var(--setup-bg); border: 2px solid var(--setup-border); } + .card.setup label { color: var(--setup-text); font-size: 16px; font-weight: 600; } + .deploysteps { color: var(--setup-text); font-size: 14px; line-height: 1.45; margin: 6px 0 4px; } + .deploysteps ol { margin: 6px 0 0 20px; padding: 0; } + .deploysteps li { margin: 4px 0; } .updchip { display: none; cursor: pointer; background: var(--updchip-bg); color: var(--updchip-text); border: 1px solid var(--updchip-border); border-radius: 8px; padding: 10px 12px; margin: 10px 0; font-size: 13px; overflow-wrap: anywhere; } .bgchip { display: none; cursor: pointer; background: var(--bgchip-bg); color: var(--bgchip-text); border: 1px solid var(--bgchip-border); border-radius: 8px; padding: 10px 12px; margin: 10px 0; font-size: 13px; } dialog.tip { max-width: 420px; width: calc(100% - 48px); box-sizing: border-box; background: var(--tip-bg); color: var(--tip-text); border: 1px solid var(--tip-border); border-radius: 10px; padding: 16px; font-size: 14px; line-height: 1.45; } @@ -156,12 +164,22 @@