Documentation
¶
Overview ¶
Command quitprobe live-verifies App.Quit on a phone or tablet (#1537).
It shows a tap counter and a Quit button, and logs one line per event (logcat tag Bellui on Android, the devicectl console on iOS):
quitprobe start pid=1234 quitprobe tick n=3 quitprobe tapped n=1 quitprobe quit
Expected since #1537:
- Android: Quit leaves the app as Back does on the root screen (the launcher comes to the front). Reopened, the app shows the same window, the counter keeps its value and still counts taps. "start" is not logged again unless the system ended the process.
- iOS: Quit logs "this platform does not let an app quit itself" and the app keeps working: ticks continue and taps still count.
Before #1537 Quit closed the window first, so the app stayed up and showed nothing.
It quits by itself after ten minutes.
Android: package with `bellui package --target android/arm64 --app-id com.trendvidia.quitprobe` from this directory.