← Asztali alkalmazás fejlesztők adatlapja

Skill · 1.0.0 verzió

Asztali és mobil hibák reprodukálása

Elkülöníti az életciklus, csomagolás és változó rendszerjogosultság okozta natív alkalmazáshibákat.

desktop-mobile-reproduction

Ezt a skillt használó csapattagok

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha hiba csak alvás, újraindítás vagy telepítés után jelenik meg.

Miben segít neked?

  • Rögzíti az alkalmazás, rendszer, eszköz és tárolt állapot reprodukciós feltételeit.
  • Összeveti a fejlesztői és csomagolt működést útvonalakkal és környezeti változókkal.
  • Vizsgálja a jogosultság visszavonását, hardverváltozást és háttérből visszatérést.

Például ezt kérheted

Reprodukálj mikrofonhibát alvás és jogosultság-visszavonás után a telepített alkalmazásban. Rögzítsd az alvás, ébredés és engedélyváltás pontos sorrendjét. Hasonlítsd össze a telepített és fejlesztői változatot, és jelezd az első eltérést.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

Desktop & Mobile Reproduction

When to Use

Use when reproducing bugs tied to native OS behavior, desktop app packaging (Electron/Tauri), mobile app lifecycle transitions (background/foreground, process death), permissions, offline sync, or deep links.

1. Application Lifecycle & State Restoration Triggers

Many mobile and desktop bugs never appear during normal active use—they trigger across OS lifecycle transitions:

  • Background $\rightarrow$ Foreground & Process Death (Mobile):
    • Put the app in the background while a network request, file upload, or modal is open, simulate OS low-memory process termination ("Don't keep activities" on Android / background kill on iOS), and restore the app.
    • Check whether in-memory state was lost while persisted navigation state expects it to exist.
  • Window Close vs. App Quit & Sleep/Wake (Desktop):
    • On macOS (darwin), closing the last window (window-all-closed) keeps the app process alive in the Dock (activate reopens a window), whereas on Windows/Linux it typically quits.
    • Test OS sleep/wake cycles, network interface switching (Wi-Fi $\rightarrow$ offline $\rightarrow$ reconnect), and multi-window state synchronization across IPC channels.

2. Dev Mode vs. Packaged Production Binary Differences

A major class of Electron, Tauri, React Native, and Flutter bugs only occurs in the packaged/bundled app, never in dev:

  • Filesystem Paths & Read-Only Bundles:
    • In packaged Electron (app.asar) or Tauri apps, writing to __dirname or relative current working directories (process.cwd()) fails because the bundle is read-only or cwd is / on macOS Finder launch. Verify paths using app.getPath('userData') / temp.
  • Packaged Child Processes, CLI PATH & Native Binaries:
    • GUI apps launched from macOS Finder/Spotlight do not inherit the user's interactive shell PATH (/opt/homebrew/bin, ~/.nvm, ~/.cargo/bin). Reproduce "CLI not found" bugs by launching the app with a minimal default OS PATH (/usr/bin:/bin).
  • CSP, Custom Protocols & Entitlements:
    • Custom schemes (app://, tauri://, deep links myapp://), macOS Hardened Runtime entitlements, and Windows SmartScreen/antivirus file locking (EBUSY on SQLite or temp files during rename/delete).

3. OS Permission & Hardware State Transitions

Test permission edge cases beyond the happy path:

  • Permission Denied on first prompt, Revoked in OS Settings while the app is running, or Limited/Partial access (e.g., iOS selected photos only, approximate location).
  • Display scaling (125%, 150%, 200% DPI on Windows/macOS Retina), multi-monitor window placement (disconnecting an external monitor where window coordinates were saved), safe-area insets, and virtual keyboard overlap on mobile forms.

Csomagban lévő fájlok 1

  • SKILL.md