monitoring: Android pay smoke with published F-Droid wallet APK
User-local emulator/adb path; install APK, deep-link withdraw and pay-template without root. Document host RAM limits for full UI.
This commit is contained in:
parent
13614f537f
commit
6fae59b20c
4 changed files with 257 additions and 0 deletions
|
|
@ -131,3 +131,50 @@ document paths; **no** real wallet payments until approved.
|
|||
|
||||
When Android tooling is installed, append a short “installed on …”
|
||||
section here (date, `adb version`, AVD name, `ANDROID_HOME`).
|
||||
|
||||
---
|
||||
|
||||
## Android pay smoke (published APK, no root preferred)
|
||||
|
||||
Script: [`android-test/run-android-pay-smoke.sh`](./android-test/run-android-pay-smoke.sh)
|
||||
|
||||
| Step | Detail |
|
||||
|------|--------|
|
||||
| APK | F-Droid **Taler Wallet 1.6.1** (`net.taler.wallet.fdroid_854.apk`) |
|
||||
| Install | `adb install -r` (no root) |
|
||||
| Withdraw | `taler://withdraw/…` from `…/intro/demo-withdraw.json` (GOA or stage) |
|
||||
| Pay | stage: shop template order → `taler://pay/…`; GOA: `taler://pay-template/…/goa-shop/paivana` |
|
||||
| Evidence | screenshots + logcat under `android-test/out/` |
|
||||
|
||||
```bash
|
||||
# device or emulator already booted
|
||||
./android-test/run-android-pay-smoke.sh
|
||||
STACK=goa ./android-test/run-android-pay-smoke.sh
|
||||
STACK=stage ./android-test/run-android-pay-smoke.sh
|
||||
```
|
||||
|
||||
**User-local emulator (no apt root if SDK already under `$HOME/Android/Sdk`):**
|
||||
|
||||
```bash
|
||||
export ANDROID_HOME=$HOME/Android/Sdk
|
||||
export PATH=$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$PATH
|
||||
# AVD e.g. TalerWallet34 (google_apis x86_64)
|
||||
emulator -avd TalerWallet34 -no-window -gpu swiftshader_indirect -memory 1536 &
|
||||
adb wait-for-device
|
||||
./android-test/run-android-pay-smoke.sh
|
||||
```
|
||||
|
||||
**Limits (clementine 2026-07-17):** host RAM ~3.7 GiB → emulator often ANRs System UI;
|
||||
wallet-core still receives withdraw intents (`prepareBankIntegratedWithdrawal` in logcat).
|
||||
For reliable full UI confirm/pay use a physical phone or a host with **≥6–8 GiB** free RAM.
|
||||
|
||||
### Status snapshot (2026-07-17)
|
||||
|
||||
| Item | Status |
|
||||
|------|--------|
|
||||
| `adb` | present (`android-sdk-platform-tools`) |
|
||||
| F-Droid APK | downloaded under `android-test/apks/` |
|
||||
| User SDK + emulator + AVD `TalerWallet34` | installed under `$HOME/Android/Sdk` (~5 GiB) |
|
||||
| `adb install` wallet | **Success** on emulator-5554 |
|
||||
| Deep-link withdraw | **delivered**; wallet-core started `prepareBankIntegratedWithdrawal` for GOA |
|
||||
| Unattended UI confirm | flaky (ANR) on this host’s RAM |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue