İçeriğe geç
Kurulum

android-emulator-qa

Android emulator QA (evidence-backed)

Android değişikliklerini emülatörde çalıştırarak kanıtlar.

HamaratLabsMITv1.0.0

KURULUM

hermes skills install well-known:https://skills.hamaratlabs.com/.well-known/skills/android-emulator-qa

Ham dosyaSKILL.md önizlemesi

3 GERÇEK ÖRNEK

Ne istendi, ne çıktı

NE İSTENDİ · 21 KASIM 2026

Kotalar ekranı ve widget yeniden tasarımı (Yusuf B ve C yönlerini seçti), emülatörde doğrulama.

mobiledev
NE ÇIKTI

Yeni kota widget'ları gerçek Android emülatöründe ana ekranda çalışırken görüntülendi.

NE İSTENDİ · 28 KASIM 2026

mobiledev › Android'de Ajan akışı ekranının seçilen A yönüyle uygulanıp teslim edilmesi.

NE ÇIKTI · 1 DOSYA

Ajan akışı liste ekranı emülatörde açık temada doğrulandı.

NE İSTENDİ · 23 KASIM 2026

mobiledev › Claude haftalık rezerv eşiği ayarının WingWire Android'e eklenmesi.

NE ÇIKTI · 1 DOSYA

Emülatörde adım adım ekran kanıtları (açılış ekranı dahil 8 kare).

KAYNAK VE LİSANS

Tür
HamaratLabs yazdı
Yazan
HamaratLabs
Lisans
MIT
Ham dosya
SKILL.md

DEĞERLENDİRME

  • 1ajan profilinde kullanıldı
  • 158kayıtlı yükleme
  • 3belgelenmiş örnek2 çıktı dosyası

Sayılar ajan kayıtlarından gelir. Puanlama henüz yok.

SÜRÜM

Sürüm
v1.0.0
Siteye ilk yayın
1 Aralık 2026
Oluşturma
21 Ekim 2026
Son kullanım
1 Aralık 2026
Paket
7 dosya · SKILL.md 155 satır

YORUMLAR

Yorumlar yakında

Bu skill hakkındaki yorumlar ve puanlar burada görünecek. Bölüm henüz açılmadı.

SKILL.MDÖnizleme155 SATIR

AJAN AÇIKLAMASI Use when proving Android changes on an emulator.

Android emulator QA (evidence-backed)

When to Use

Any mobile developer task where an Android feature must be proven on a real emulator (settings screens, permissions, sign-in/out, server switching, background behavior, debug vs release) and reported to a PM in Turkish. Also for multi-user / server-switch leakage audits of client apps (references/server-switch-audit.md).

Support files: scripts/ui.sh (uiautomator tap/has/shot/resumed bound to one serial), references/state-toggles.md (adb commands to force permission/battery states + expected Settings activities), references/server-switch-audit.md (sign-out vs disconnect, credential-reuse bug, inventory + hardcode scan + verdict table), references/media-fixtures.md (ffmpeg test video of a target size, seeding it into the emulator MediaStore for the photo picker, sha256/ffprobe output checks).

Always-on rules

  • Use ONLY your own emulator instance (own -port, address every command with adb -s emulator-<port>). Never kill or install onto other running emulators - parallel agents use them.
  • Never claim a device/API level you did not run. List untested paths (older API branches, OEM screens, visuals proven only by unit test) in a "Doğrulanmayanlar" block.
  • Never write passwords/tokens into reports or logs; redact encrypted pref values as [REDACTED] before saving evidence.
  • Commit only on the assigned worktree/branch; no push/PR/merge. Do not touch other .worktrees/*.

Procedure

  1. Boot own instance (terminal background:true, then poll): emulator -avd <AVD> -port 5600 -read-only -skin 1080x2220 -no-snapshot -no-boot-anim -gpu host -crash-report-mode disabled -no-audio Poll boot with a loop (macOS lacks timeout): for i in $(seq 1 100); do [ "$(adb -s emulator-5600 shell getprop sys.boot_completed 2>/dev/null | tr -d '\r')" = 1 ] && break; sleep 4; done. If the device never appears in adb devices, restart with exactly the flag set above.
  2. Build first, then test: ./gradlew --console=plain testDebugUnitTest (log to scratch file), then assembleDebug assembleRelease. Count tests from app/build/test-results/**/TEST-*.xml with rg/awk (sum tests=/failures=/errors=). A fresh worktree may lack gitignored native artifacts (e.g. a gomobile .aar) - the first build regenerates them and is slow; budget for it.
  3. Drive UI via uiautomator + testTags, not guessed coordinates: use scripts/ui.sh (SERIAL=... OUT=docs/qa/<feature>; tap <resource-id> / tap text=... / has / shot <name> / resumed). Compose testTags appear as resource-id only if the app sets testTagsAsResourceId; confirm once with dump.
  4. Force system states with adb (see references/state-toggles.md) instead of clicking through Settings to set a precondition; use the real system screen only for the step under test (shortcut opens correct page → user toggles → BACK → ON_RESUME refresh).
  5. Collect proof per step: numbered screenshot NN_kisa_aciklama.png under docs/qa/<feature>/, plus a textual proof - resumed activity for intents, run-as <pkg> cat shared_prefs/<file>.xml for persistence, logcat -d | grep for log lines, pidof <pkg> to show no restart. Delete temporary screenshots before commit.
  6. Debug vs release: install the release APK on the same emulator and prove debug-only UI is absent (uiautomator node count 0) AND grep the dex: unzip -p app.apk 'classes*.dex' | LC_ALL=C grep -a -c '<debug-only string>' for both APKs. Same signing key lets release install over debug with prefs intact.
  7. Undo global state you changed (deviceidle whitelist, appops, force-stopped browser) before finishing.
  8. Report → docs/qa/<feature>/RAPOR.md; commit code + tests + docs together on the assigned branch.

Report format (user/PM preference)

Turkish, structured, evidence-first. Sections in order:

  1. Header: branch/worktree, device + API, backend used (say if it is a fake/local gateway), "no push / no forbidden RPC" statement backed by the grep result (report comment-only hits honestly rather than claiming 0).
  2. dosya:satır change table; separate subsection for any out-of-brief fix with why it is in scope and that it is reversible.
  3. Test/build table with exact counts (total, failures, new).
  4. Screenshot table: # | file | what it proves (include command/resumed-activity proof).
  5. Doğrulanmayanlar.
  6. Design rationale requested by the brief.
  7. Inventories / audit verdict under its own heading with a table (see references/server-switch-audit.md).
  8. Sorular last, numbered, decisions left to PM - UNLESS the brief says «Soru bölümü yazma»: then no Sorular heading anywhere (report or chat); pick the option closest to the reference (e.g. the web version) that is reversible, and put each choice + reason under a numbered «Kararlar» section instead. Final chat message: short - branch, commit hashes, changed files, test counts, screenshot paths, untested items, report path (then Sorular only if allowed). Follow-up briefs on the same branch («Devam: …») change an earlier decision: rewrite that decision in RAPOR.md in place (not an appended note), update the status/test/screenshot tables, commit separately.

Pitfalls

  • Re-check line numbers (rg -n) right before writing dosya:satır refs; later patches shift them and the report goes stale.
  • After each patch on Kotlin, re-read surrounding lines - a dropped closing line breaks compilation far from the edit.
  • Long terminal chains (select profile → disconnect → reconnect) can hit the call timeout; one call per UI step.
  • Revoking POST_NOTIFICATIONS makes the app re-prompt on next launch; answer the dialog as part of the precondition.
  • Don't pre-check Settings intents with resolveActivity on API 30+ - package visibility hides them; launch in try/catch with an app-details fallback.
  • When terminal output collapses to a one-line summary, redirect to a scratch file and read it with read_file.
  • adb shell input text can drop a character while the IME is still opening ("uzun" → "uun", "tabloyu" → "tablou"). Sleep ~2 s after focusing the field, then read the field back from a uiautomator dump and clear + retype on mismatch - a typo in a screenshot or a missed trigger word silently invalidates the step.
  • Timed fake-server windows ("owner busy for N s"): type the text FIRST, open the window, then tap send. Opening the window before a slow typing helper lets it expire unused; confirm from the server log (e.g. attempts count) that the path under test really happened before using the screenshot as evidence.
  • Never edit a bash script while it is running - bash reads it incrementally, so later lines shift. Add stage switches (e.g. ONLY=t2) up front and re-run a stage instead.
  • Fake gateways used in JVM tests must report running: true on session.resume while their turn runs; a fake that always says running: false makes a reconnect-style re-resume drop the local turn and produces flaky tests that look like product bugs.
  • Each uiautomator dump costs ~1-2 s; a scripted step with dump-based taps takes ~20 s. Size fake "long" turns for the whole sequence (e.g. 120 s for 4 mode steps).
  • Proving "red before green" after the fact: git worktree add --detach <scratch>/red <parent-sha>, copy only the new test files in, run them, then git worktree remove. Prefer one behaviour test written against the OLD public API - it shows a real failing assertion, not just a compile error.
  • Compose Modifier.semantics { selected = true } on a non-Tab node shows up in uiautomator as checkable/checked="true", not selected; NavigationBarItem (Tab role) shows selected. Read the clickable node by resource-id; its content-desc may sit on a child node.
  • Compose AlertDialog/Dialog is its own window: the root testTagsAsResourceId does NOT reach it. Put Modifier.semantics { testTagsAsResourceId = true } on the dialog's modifier (OptIn ExperimentalComposeUiApi), else every dialog tap is "not found".
  • A scripted run that suddenly finds nothing: dump and check for an open notification shade (systemui ids). Run adb shell cmd statusbar collapse at setup and before key steps.
  • Notification-tap proofs: Android bundles 2+ notifications of one app into a collapsed group, and tapping a line of the collapsed group only opens the app (not the item's intent). cmd notification cancel_all <pkg> first so the target notification is alone, then tap it; confirm with the app's own "notification tap -> …" log line.
  • Do not send KEYCODE_BACK to "hide the keyboard" while a Compose dialog is open - it dismisses the dialog (and can pop the screen). Tap the dialog's confirm button directly; the IME does not cover it.
  • Pollers with a first-poll baseline ("don't alert for already failing items"): any fake state set while the feature was off becomes baseline. Use a unique error text per run (append a timestamp) so the "new failure" step is really new.
  • ui.sh text helpers read the LAST dump; after a tap, dump again before reading a text value or the evidence lags one step behind.
  • adb reverse buffers upload bodies host-side, so client-side "bytes sent" runs far ahead of what the server read; a progress bar at a simulated drop can look full. Say so in the report instead of calling it a bug.
  • Before adding a dependency or a big feature, copy the current debug APK to scratch; the brief's APK-size question can then be answered with a measured unzip -v per-entry delta instead of an estimate.
  • Measure the effect of a size-reducing option (resolution/bitrate presets) on the server-received file, not on the client's progress counter.
  • KDoc pitfall: a literal */ inside a Kotlin doc comment (e.g. cron */15) closes the comment and breaks compilation with dozens of "Expecting a top level declaration" errors; write *&#47;15 in comments. The reverse also bites: /* inside a comment (e.g. `/ww/mobile/*`) OPENS a nested comment (Kotlin nests them) → "Unclosed comment" at EOF and every class in the file "unresolved" elsewhere; write /ww/mobile/….
  • Cancel-path bugs hide behind suspend fakes: a controller test whose fake API awaits looks green while the real OkHttp client uses blocking execute() + job.invokeOnCompletion { call.cancel() } - that handler fires only when the job COMPLETES, so «İptal» waits for the whole body / read timeout. Use enqueue + suspendCancellableCoroutine.invokeOnCancellation, and add a MockWebServer SocketPolicy.NO_RESPONSE test that cancels after 300 ms and expects join < 2 s (red on the old code). On the emulator, test cancel under /qa/throttle low enough that the part is still in flight.
  • Media for photo-picker QA: adb push into /sdcard/Movies can fail "Operation not permitted"; push to /sdcard/DCIM/Camera/ + am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///sdcard/DCIM/Camera/<f>, check with content query --uri content://media/external/video/media. In the picker (PhotoPickerActivity) tap items by content-desc ("… with duration 00:40") via a bounds-parsing helper, then text "Add". The picker REDACTS location metadata (©xyz/location zeroed, same size) → byte-identity checks need a GPS-free test video; report the GPS case separately.
  • APK size deltas: AGP incremental packaging leaves slack in the APK (same entries, +2–4 MB file). Measure with ./gradlew :app:packageDebug --rerun (re-runs only that task) or compare unzip -v | tail -1 compressed totals.
  • Emulator networking (10.0.2.2) buffers request bodies like adb reverse: client-side progress can show %32 while the server has 0 parts; prove resume from the server log (which indices were PUT after GET status), not from the bar.
  • WingWire repo: .gitignore has docs/qa/*/*.png - screenshots directly in docs/qa/<iş>/ are silently NOT committed. Put evidence in a subfolder (docs/qa/<iş>/goruntu/*.png) and check git show --stat lists the PNGs.
  • WingWire <qa-avd-imaji> cold start lands on the Connect screen (no saved/working gateway, or the gateway address is unreachable) - Settings/tab bar only renders once ConnectionState has ever been Connected (MainActivity.kt: showConnect gate). To reach Settings quickly: tap Vazgeç region first if the saved address is auto-retrying, then edit url_field (tap → KEYCODE_CTRL_LEFT+KEYCODE_A → DEL → input text) to http://10.0.2.2:<port> and run QA/fake_gateway.py --port <port> --sohbet --mobil-temel on the HOST (127.0.0.1) - the emulator's 10.0.2.2 reaches it. Nav path to Hakkında from a cold app: bottom bar tab_more → settings_button (inside the opened more_panel) → scroll settings_scroll down → settings_row_about; theme toggle is settings_tile_theme on the Settings MAIN page (tap again toggles back), not inside Appearance. License dialog tags: license_dialog/license_dialog_title/license_dialog_body/license_dialog_close (its own window, already carries testTagsAsResourceId).
  • Fitting text to a fixed cell on Android 14+: font scaling is non-linear, so fontSize * k does not shrink glyphs by k (a 2.0× label still touched the edge). Convert the target pixel size back with with(density) { px.toSp() } and re-measure (2-3 rounds). Test with wm density <1080/dp*160> + settings put system font_scale 2.0, read text vs chip bounds from the dump; reset both after.
  • WingWire on <qa-avd-imaji> -read-only: the image already holds a saved ajan link to 127.0.0.1:<gateway-portu> and a stale Web pairing to <eslesme-portu> - run the fake gateway on <gateway-portu> (another port means retyping the URL field: tap → MOVE_END → DEL×4 → type) and re-pair the Web with the wingwire://pair deep link. connect_button sits half off-screen at 1080×2400: BACK (hide IME) + swipe up before tapping it; while the button says «Bağlanıyor…» a tap does nothing - wait for reconnect: exhausted.
  • WingWire widget QA on <qa-avd-imaji> -read-only: home page 2 already holds Kota 2×2, Konuş, Bağlantı 2×1, İstatistik, Hızlı; page 3 Ajanlar/Onay/Cron - swipe there instead of pinning (QA/widget/ui.py pin lands on a new page). Resize a widget: long-press 1.5 s → drag the bottom handle dot (input swipe x y_bottom x y_new 1500) → tap empty space. fake_ww.py approval rows trigger the full-screen incoming-call ring mid-run; tap «Reddet» (≈230,2120), HOME, swipe back to the page, re-tap ww_head before the shot. Long account names in widget labels: use singleLine + ellipsize="middle" so the suffix («5 sa») survives.
  • Activity-driven pollers (WingWire RingWatch): fake_ww.py's built-in /ww/agents/activity rows have no id and recompute basladi from now on every request, so a start+title fallback key changes each read and fires spurious «new approval» events. Feed explicit rows with stable ids (QA/fake_ring.py POST /qa/ring/activity). With a shortened QA long-task threshold, sessions left over from earlier scenarios also qualify when they vanish - let the list sit empty for 2 reads before the long-task step.
  • Uiautomator dump fails («could not get idle state») while an incoming-call screen / ongoing call animates; find notification actions (e.g. «End») from a screenshot + vision and tap by coordinates.
  • Two features touching the same files but needing separate commits: copy the mixed files to scratch, revert the later feature's edits in the copies with patch, then stage them via git hash-object -w <copy> + git update-index --add --cacheinfo 100644,<sha>,<path>; commit, git stash -u, build+test that commit alone, git stash pop.
  • macOS TCC «Desktop folder» approval can hang ANY process under ~/Desktop (git refs, ls ~/Desktop) while the screen is locked: open() blocks, log show shows Sandbox watchdog expired for approval entry … kTCCServiceSystemPolicyDesktopFolder, pid <hermes>. Probe paths with a backgrounded ls + 6 s kill loop, never a bare git call (it eats the whole tool timeout). Worktree files may still work (cached vnodes) → keep coding/building, snapshot the base (cp -R app/src QA to scratch) at the start, and ship a verified git apply patch + commit script instead of commits; don't try to bypass TCC.
  • cmd | tail on a script that nohup … & starts servers hangs until the call times out (the server inherits the pipe). Redirect the script to a log file and cat/grep it afterwards.
  • Full-length (stitched) screenshot of a long scroll screen: slow input swipe … 1600 (no fling), then measure the REAL shift from the y-delta of the same resource-id nodes fully visible in both dumps, and append only the newly revealed bottom strip. Gives exact content height in dp too. Reference implementation: wingwire-android docs/ayarlar-analiz/olcum/uzun_goruntu.py. In a ModalBottomSheet, swiping down at the top dismisses the sheet - to get back to the top, close and reopen it (scroll state resets).
  • uiautomator dump while a Compose ModalBottomSheet is open may not list a dialog opened above it (tags count 0 though the dialog is visible) - trust a screenshot there, or close the sheet first.
  • Verifying an intermediate commit state without git: rsync the worktree (minus build/.gradle/.git) to scratch, restore the base snapshot, copy only that commit's files in, run ./gradlew testDebugUnitTest there.
  • Flutter: never run flutter drive/flutter test -d in parallel with flutter build apk|ios --release in the same worktree - the debug run regenerates the gitignored GeneratedPluginRegistrant with dev-dependency plugins (integration_test) and the release compile fails (package dev.flutter.plugins.integration_test does not exist). Run builds sequentially.
  • Notification-shade proofs need a SystemUI image: AVD hafif_api34 (google_atd) has no shade - cmd statusbar expand-notifications gives a black screenshot and a com.android.fakesystemapp dump. Use <qa-avd-imaji> (google_apis); pm clear it first if an old saved connection opens a «switch link?» dialog. On the connect form, BACK hides the IME before tap connect_button (the keyboard otherwise eats the tap).
  • Bundled notifications: cancelling a group SUMMARY cancels its children too. Keep the summary while any child waits; prove with dumpsys notification --noredact | grep NotificationRecord (tags), not the shade - after an inline reply SystemUI keeps the cancelled notification with «You: …» history until the shade closes.
  • "User is viewing this chat" checks in a fake gateway: make session.resume honour the requested id, else the stored id never matches and the suppression path can't be exercised.
  • adb shell am start ... --es key "two words" loses the quotes (adb joins args for the device shell) → the extra is cut at the first space and later words become stray args. Quote the whole remote command: adb shell "am start ... --es say 'Asistana ilet: metin'" (no apostrophe inside), then confirm the received text in the app's log/screen.
  • Flutter apps: launch with am start -n <applicationId>/<namespace>.MainActivity (namespace may differ, e.g. com.hamaratlabs.titimer/com.example.titimer.MainActivity). Flutter text shows up as content-desc, so match on content-desc, not text=. On the system permission dialog a substring tap on "Allow" hits the TITLE ("Allow X to send you notifications?"); tap the button by its own bounds.
  • Local notification / timer proofs: dumpsys alarm shows the app's pending alarms with window=0 exactAllowReason=policy_permission for exact ones (and nothing under "Pending alarms per uid" once cancelled); dumpsys notification --noredact gives title/text/when; dumpsys vibrator_manager lists recent vibrations with timestamp, Usage=TOUCH (in-app HapticFeedback) vs Usage=NOTIFICATION (channel) - proof of haptics on an emulator that cannot vibrate. Android 14 freezes a backgrounded cached app (ActivityManager: freezing <pid>), so Dart timers stop: background behaviour must come from OS alarms + catch-up on resume.
  • A pending runtime-permission request never resolves if the user leaves the app without answering; never chain other platform work (scheduling on background) behind that future.
  • Flutter: uiautomator dump blocks until the UI is idle, so it hangs (eats the whole tool timeout) while an indeterminate CircularProgressIndicator/LinearProgressIndicator animates. Wrap the dump in a 20 s background+kill -0 loop and fall back to exec-out screencap + vision while a spinner is on screen. Flutter TextField hints are not in content-desc; find the field by class="android.widget.EditText" bounds.
  • Shared host: before a long emulator session check sysctl vm.swapusage and top -l 1 -o mem. With >10 GB swap the guest stalls and system_server dies (DeadSystemException, "Can't find service: input/connectivity", launcher/SystemUI ANR dialogs) and your app is killed mid-test; another agent may also emu kill your instance. Re-check adb devices before every step, keep the AVD at 4 GB, and take a shared resource lock (<kilit-dosyasi>) via lockf -k for the emulator's lifetime if your setup uses one.
  • Lock busy (another agent's lockf -k … emulator): don't poll in a foreground loop (eats the tool timeout). Start a background holder lockf -k <lock> bash -c 'echo ACQUIRED; while [ ! -f <scratch>/lock-release ]; do sleep 5; done' with notify pattern ACQUIRED, do docs work meanwhile, and touch <scratch>/lock-release after emu kill to free it. Always rm -f <scratch>/lock-release BEFORE starting the holder (and again after releasing it): a stale file left over from a previous run's release makes the holder see it immediately and exit right after printing ACQUIRED, so you never actually hold the lock while you think you do - check the poll output isn't already exited/RELEASED a few seconds after launch. A holder's ACQUIRED watch notification can arrive long after you already released it; poll the session (RELEASED in output) before acting on it - usually it needs no action.
  • Never stop Gradle daemons by matching ~/.gradle/daemon/<version> as cwd: idle daemons of OTHER agents' projects sit in the same dir (killing one broke a parallel kitabe build). For memory-tight hosts put org.gradle.daemon=false in the project's android/gradle.properties instead.
  • avdmanager can leave disk.dataPartition.path=<temp> in a new AVD's config.ini, which wipes userdata on every boot. Delete that line when the test needs data to survive a restart (multi-GB model downloads, resume tests).
  • A release APK is not debuggable: run-as <pkg> fails, so app-private files cannot be read or seeded by adb. Prove file effects through the app's own UI (sizes, snackbars) or logcat paths.
  • Location on google_apis emulators: adb emu geo fix feeds only the GPS provider; fused at balanced/medium accuracy (geolocator LocationAccuracy.medium) never sees it and the app times out. Use test providers: appops set com.android.shell android:mock_location allow, then for network and gps: cmd location providers add-test-provider <p>, set-test-provider-enabled <p> true, and re-send set-test-provider-location <p> --location LAT,LNG --accuracy 20 every ~2 s while the app is locating.
  • App widgets (RemoteViews) must not call AssetManager.list on a big Flutter asset dir (thousands of photos) even on a worker thread: it holds the AssetManager lock for seconds (16.5 s seen in release) and the main thread blocks on resource reads → ANR (Long monitor contention … AssetManager.list). Probe single files with assets.open(path).close() instead. Release-test every widget path; debug did not show it.
  • Moving a placed widget to another cell (Pixel Launcher): one shell call adb shell "input motionevent DOWN x y; sleep 1.3; input motionevent MOVE …(3-4 steps, sleep 0.2); input motionevent UP x2 y2" from the widget centre to the target cell centre; the drop leaves it in resize mode (drag a handle, tap empty space). input swipe with duration does NOT long-press-drag.
  • Pixel launcher widget QA: add via long-press empty spot → find "Widgets" with uiautomator → search app → input draganddrop <preview> <target> 4000 (motionevent drags in the picker fail; drop needs a free cell block or the bind is silently dropped). Long-pressing a placed widget enters resize mode; resizing fires onAppWidgetOptionsChanged (a redraw without opening the app) only if the grid has room.
  • Widget empty-state proofs without the app locating: cmd location set-location-enabled false → pm grant the location perms → force-stop + cold start (app start redraws widgets, its own locate is skipped) → HOME → screenshot; re-enable location afterwards. pm revoke kills the app but does NOT notify the widget: it keeps stale content until the next redraw.
  • Clock in widget screenshots: settings put system time_12_24 24 before capture for stable times.
  • Double tap via adb: two input tap calls are separate JVM launches (≥300 ms apart) and never register as a double tap; one adb shell "cmd input tap X Y; sleep 0.12; cmd input tap X Y" does (cmd input ≈ 40 ms). Without the sleep Compose ignores the second tap (it needs ≥ 40 ms between first up and second down, ≤ 300 ms total). Hold = input swipe X Y X Y 3000 in the background + screencap at ~2 s.
  • Changing the emulator system locale for a recording: adb root, setprop persist.sys.locale tr-TR; setprop ctl.restart zygote, wait for boot, then adb unroot - with adbd still root, cmd location providers set-test-provider-location silently did nothing and the app's geolocator timed out.
  • iOS sim + flutter test integration_test: the app is reinstalled each run, so simctl privacy grant location given beforehand is lost; grant it after the app starts (kitabe ios_cek.sh IZIN=<bundle>). A system alert left pending by a killed run stays over the next recording - simctl shutdown+boot before re-recording and check a screenshot.
  • First immersive-mode use shows the system «Viewing full screen · Got it» card over the app; tap «Got it» once before the evidence run.
  • Media player QA: after a seek over HTTP Range, MediaPlayer.currentPosition keeps returning the OLD time until OnSeekCompleteListener; a 200 ms position poll then overwrites the target and chained skips (+10 then −10) land wrong. Hold the target until seek-complete; verify on the emulator with rapid chained skips while paused.
  • flutter_tts 4.2.5 on Android returns network_required as the STRING "0"/"1" (not bool/"false"); a filter != false && != 'false' rejects every offline voice. Accept false/'false'/'0'/0. google_apis emulators ship Google TTS without Turkish data (notInstalled): am start -a android.speech.tts.engine.INSTALL_TTS_DATA -p com.google.android.tts → tap "Turkish" → download icon right of "Download (~8 MB)" (row is not clickable, icon is). Prove real word highlight via onRangeStart log events.
  • Scripted taps on Flutter widgets that animate in (bottom sheets, spring-dropped cards): log the widget rect AFTER the animation settles (delay ≥ anim duration), else adb taps land at the mid-slide position and the step silently doesn't advance.
  • Self-managed Telecom + mic (API 34, measured): Telecom's FGS delegation is refused when the app is background at addCall (startForegroundServiceDelegateLocked aborted, app is in the background), carries no mic capability (curCapability=---NFU), and drops when ANY notification of the app is cancelled (VoipCallMonitor keys by package). A recording started while an activity is TOP survives screen-off; one started from background is silenced (App op 27 missing). Prove with dumpsys activity processes <pkg> (curProcState/curCapability) + AudioRecordingConfiguration.isClientSilenced. Ref: wingwire docs/qa/soru-spike/.
  • screenrecord started while the display is off fails with INVALID_LAYER_STACK (0-byte mp4); for lock-screen flows use logcat epochs + screencap, or start recording after wake.
  • Demo videos on the emulator: guest adb shell screenrecord drops to ~18 fps under host memory pressure and loses the tail; adb emu screenrecord start --time-limit N --fps 30 <host>.webm / ... stop records host-side at a steady 30 fps (transcode webm→H.264). On API 34 <qa-avd-imaji> the "Show taps" setting did NOT appear in recordings or screencaps; draw an in-app touch overlay (Listener + translucent circle, thin the trail when holding still or it becomes an opaque blob).
  • Flutter addPostFrameCallback coordinate logs never fire on a static screen (no frame scheduled); call WidgetsBinding.instance.scheduleFrame() after registering, or the driving script times out waiting for the target.
  • WingWire widget QA layout (<qa-avd-imaji>): QA/widget/ui.py pin kota drops each new 2×2 on page 4 at the next free 2×2 slot (cols x=57/309/561/813, rows y=223/537/851/1165/1479 px, 1 cell ≈ 252×314 px). Resize right after each pin (long-press 1.5 s → input swipe <handle> <target> 1500 → tap empty) so the next pin lands where you want; 4×2 + 4×1 + 2×2 + 2×1 fit one page. Before screenshots turn off Ayarlar › «Beni ara» tile: fake_gateway --mobil-temel's approval otherwise pops the full-screen call card over shots (repeatedly). App theme = Ayarlar «Koyu tema» tile (≈794,480); logcat darkTheme=… + widget redraw. Always confirm the toggle with a NEW darkTheme= log line before shooting (a missed tap silently gives dark «acik» shots). Back from Model bağlantıları may land on «Bağlantı», not Ayarlar: screenshot before tapping the tile.
  • WingWire QA helpers: QA/widget/ui.py tapid matches :id/<x> only, so it never hits Compose testTag nodes (resource-id is the bare tag) - read bounds from the dump and tap. Widget picker search uses the LAUNCHER language («Quota», not «Kota»); type in the search, don't press BACK (it clears), tap the app row to expand the preview. Fake WW pairing: wingwire://pair?url=<kodlanmis-adres>&code=<sahte-kod> (fake_ww default code), confirm (804,1618).
  • RemoteViews rounded ring (Yön 3): XML oval stroke as track (dashed for unknown) + code-drawn ALPHA_8 arc bitmap with Paint.Cap.ROUND, set via setImageViewIcon(Icon.createWithBitmap(b).setTint(c)) - tint works API 23+, unlike setProgressTintList (31+). Keep ring dp sizes in one map and unit-test them against the XML tracks. res/font is NOT applied by the launcher: use system families.
  • RemoteViews ring gauge without bitmaps: ProgressBar (Horizontal style, override android:maxHeight/maxWidth large or the style's 20 dp cap applies) + layer-list shape=ring (innerRadiusRatio 2.5, thicknessRatio 10) with the progress layer wrapped in <rotate from/to=270> and useLevel=true; tint per level with setProgressTintList (API 31+). Check text inside ≤ 36 dp rings by zoomed screenshot: «Dolu» touched the stroke at 11 sp (fixed with setTextViewTextSize).
  • Fixed device-side ports already taken on the host (another session's stale fake_ww.py/fake_gateway.py on <eslesme-portu>/<gateway-portu>): don't kill them; run yours on other host ports and map with adb reverse tcp:<device> tcp:<host> (e.g. tcp:<eslesme-portu> tcp:<baska-host-portu>) so the image's saved links still work.
  • Compose full-screen Dialog + numeric field: the IME covers the «Kaydet» button but uiautomator still lists it, so a tap by bounds hits the keyboard. When dumpsys input_method shows mInputShown=true, press the IME ✓ (Done, ≈940,2186 at 1080×2400) and wire KeyboardActions(onDone=save); input keyevent KEYCODE_ENTER did not trigger onDone. Clear a field with input keycombination KEYCODE_CTRL_LEFT KEYCODE_A + DEL (MOVE_END+DEL left stray digits).
  • WingWire Kota 4×2 on <qa-avd-imaji> -read-only (Nov 2026 image): only a 2×2 Kota sits on page 2 (no room to widen). QA/widget/ui.py pin kota → last page 2×2 at [57,223][519,809] → long-press 1.5 s, drag right handle (522,516)→(1030,516), tap empty → 4×2 [57,223][1023,809]. A freshly pinned widget shows stale «WingWire Web eşleşmesi yok» until cek.py durum <mod> taps ww_head; gate shots on a dump with no «eşleşmesi yok». Compose section titles like «Haftalık rezerv» dump as UPPERCASE text (HAFTALIK REZERV): match case-insensitively and print the matched text. Ref script: wingwire docs/qa/widget-esik/emulator/qa.py dogrula model|widget.
  • Proving "same colour on screen and widget": sample the glyph colour as the median of the 3 % pixels farthest from the region's background (12 % mixes in anti-aliasing on thin widget fonts and reads as neutral). Ref: wingwire docs/qa/widget-esik/emulator/karsilastir.py.
  • Before reproducing a reported visual bug, grep the CALLERS of the suspect function in src/main - a function with no production caller cannot cause a visible bug; say so in the report instead of «fixing» a visible symptom. (WingWire's old «Hat» chain KotaWidget.dot/valueColor, WidgetUi.progress, WidgetFormat.level was deleted in 0.3.32; dead-code proof script: docs/qa/temizlik-baslik/grep_kanit.sh.)
  • Aligning a Compose element with one inside a padded card: reproduce the SAME chain of paddings (padding(start = 14.dp).padding(start = 4.dp)), not their sum (padding(start = 18.dp)). Each padding rounds to px separately; at 420 dpi the sum landed at 89 px vs 90 px. Prove alignment with dump bounds left x, not by eye.
  • Don't start a background Gradle build while still editing: compileDebugKotlin may run mid-edit and the APK silently lacks later changes (seen: new header style missing on device). Build after the last source edit, check compileDebugKotlin actually ran in the log, and gate screenshots on a dump value that only the new code produces.
  • git stash is shared by all worktrees of a repo; another agent's stash can sit on top. Push with -m <name> and pop the matching stash@{n} after checking git stash list.
  • Scripted VAD testing (WingWire ScriptedTransport): adb shell am start ... --es say '!duydu:<metin>' holds a sustained high-VAD speech turn without ending it (good for a steady "heard" frame); !sesyok[:takip] emits only silence-range VAD so a 2 s no-signal rule fires, with an optional :takip follow-up after 3.2 s to prove the warning clears. A locked/hands-free gesture needs the finger to stay down past the SDK connect delay (~600 ms) before the upward MOVE, else up()'s CONNECTING branch force-ends the call as "released early" and no lock happens - do DOWN; sleep 0.8+; MOVE (>LOCK_DY dp up); sleep; UP as separate adb shell calls (each is its own process but all target the same uinput device, so DOWN→MOVE→UP across calls works, same pattern as a press+release). Once locked, the button glides to the hands-free controls row (new center, read santral_fab bounds from a dump) - sampling the OLD slot position for color evidence after lock is wrong. When a timed state (e.g. a "no signal for N seconds" warning) must appear by a deadline measured from a press/DOWN event: don't just adb shell input motionevent DOWN; sleep N; screencap as separate host-side calls - a ~600ms+ SDK connect delay plus per-call adb round-trips can eat most of a tight sleep budget, so the screenshot lands before the real on-device elapsed time crosses the threshold (the app is correct; the QA capture is early). Do the press + multiple timed screencap+dump pairs inside ONE adb shell "..." string (device clock, no host round-trip jitter) and actually grep/print the dump text (don't assume it matches an earlier verified capture) before writing a report claim about what a specific frame shows. adb exec-out uiautomator dump itself takes ~1-2 s; for timing-sensitive screenshots capture the PNG via screencap -p /sdcard/x.png inside the SAME adb shell "cmd1; sleep; cmd2" string as the gesture (then adb pull) instead of a separate exec-out round trip, and treat a dump taken afterward as reflecting a LATER moment, not the PNG's moment.
  • WingWire chat «Bağlam» sheet QA (fake_gateway --sohbet): re-opening a chat starts a new live session with NO usage, so the context meter (the only way into the sheet) is missing until you send a message - send one per step before tapping context_meter. FAKE_GW_MODEL=<model> sets the fake session's model; fake_ww POST /qa/model-zinciri?mod=yedek|birincil|okunamadi|tanimsiz&oturum=var|yeni drives the model-chain states (ref: docs/qa/model-zinciri).
  • Compose: a child bigger than a fixed-width parent (18 dp halo ring in a width(14.dp) column) is squeezed by constraints into an ellipse, not overflowed like CSS box-shadow. Size the column for the decoration; zoom the screenshot on small decorations.
  • Gradle in a fresh WingWire worktree: no local.properties → «SDK location not found»; export ANDROID_HOME=~/Library/Android/sdk once in the shell.
  • WingWire fresh worktree: app/libs/tsbridge.aar (+ -sources.jar) is gitignored - copy both from the main checkout before the first Gradle run instead of regenerating. OwnerBusyTest (real-time waits) can time out in a full testDebugUnitTest while an emulator loads the host (load ≈ 8): rerun alone / --rerun-tasks before calling it a regression, and say so in the report.
  • Scripted taps on a poll-driven element (WingWire Ajanlar akis_hap, 60 s poll): after switching a fake mode to an empty state, the element stays hidden until the next poll - loop on has (≤ 80 s) before tapping, else the script silently measures the wrong screen (seen: a «10 s polling» proof that actually timed the 60 s hap loop). Prove poll intervals from app log timestamps (ajan-akisi -> ok lines) + fake-server request counts across HOME/return. Ref: wingwire QA/ajan-akisi-yoklama.sh.
  • WingWire Ajan akışı QA (docs/qa/akis-mobil): QA/fake_gateway.py defaults to a QA port (<qa-portu>) but the <qa-avd-imaji> image's saved link is <gateway-portu> → --port <gateway-portu>, plus adb reverse tcp:<gateway-portu> tcp:<gateway-portu> and tcp:<eslesme-portu> tcp:<eslesme-portu>; pair Web with the wingwire://pair… deep link then tap ww_pair_submit. FAKE_AGAC=kalabalik = 9/44/2/19-agent trees. Screens per theme: bash QA/ajan-akisi-cek.sh acik|koyu (force-stops the app first so in-memory selections reset; unset a stale exported OUT or shots land elsewhere). Scroll/first-frame numbers: QA/ajan-akisi-perf.sh (dumpsys gfxinfo reset → tap/swipes → percentiles).
  • ajan terminal refuses nohup … & in a foreground command; start servers with terminal(background=true) (one per call). ajan' python has a broken PIL: tile screenshots with Playwright, writing the HTML to a file and page.goto(file://…) (setContent pages cannot load file:// images).
  • Launching ~/Library/Android/sdk/emulator/emulator from a script fails with «Cannot find AVD system path» unless ANDROID_SDK_ROOT=~/Library/Android/sdk is exported (it guesses /opt/homebrew). -read-only loses persist.sys.locale and wm density on every boot: redo root → setprop persist.sys.locale tr-TR → setprop ctl.restart zygote → unroot. Launcher activity: cmd package resolve-activity --brief -c android.intent.category.LAUNCHER <pkg> (kitabe = org.kitabe.kitabe.MainActivity, not the applicationId path).
  • Accessibility toggles under flutter_driver: changing settings put secure contrast_level (Android 14 high contrast → Flutter highContrast) or animation scales recreates the activity and drops the driver connection. Set them BEFORE launching the app and reset on exit (trap), never mid-test.
  • Flutter glass/blur UI on this emulator (-gpu host, swapping Mac): raster p50 ~18 ms vs ~4 ms for Material - report as emulator-relative only, ask for a real device for absolute jank.
  • Flutter + url_launcher: adding the plugin dirties macos/Flutter/GeneratedPluginRegistrant.swift on every flutter command; if macOS is out of brief scope, git checkout it before finishing and say so in the report.

MOBİL

İlişkili skill'ler

app-release-signing

Uygulama test kullanıcısı ekleme, davet e-postası ve sürüm yayınlama adımlarını yürütür.

HamaratLabs2 ÖRNEK

flutter-magaza-goruntu

Flutter mağaza ekran görüntülerini alır ve yerelleştirme ekler.

HamaratLabs1 ÖRNEK

ios-sim-xcuitest-surucu

Masaüstü olmadan iOS simülatör arayüzünü XCUITest REPL ile sürer.

HamaratLabs2 ÖRNEK

masaustu-koruyarak-mobil

Masaüstü görünümü sabit tutarak mobil arayüz ekler ve piksel farkıyla doğrular.

HamaratLabs1 ÖRNEK