← Natív mobilalkalmazás-alapok csapata adatlapja

Skill · 1.0.0 verzió

Mobilmegvalósítás ellenőrzése

Célzott statikus és viselkedési ellenőrzést kapcsol valódi eszközbizonyítékhoz, a fordítást nem azonosítva a működéssel.

mobile-verification

Ezt a skillt használó csapattagok

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, mielőtt célplatformon működőnek mondasz mobilváltoztatást.

Miben segít neked?

  • Futtatja a projekt elemzését, kódgenerálási és fordítási ellenőrzését.
  • Teszteli az érintett betöltési, hibás, offline és életciklus-viselkedést.
  • Külön jelenti a szimulátor, fizikai eszköz és nem igazolt platform lefedettségét.

Például ezt kérheted

Ellenőrizd a feltöltést, megkülönböztetve az Android-eszközpróbát az el nem indított iOS-buildtől. Fizikai Android-eszközön szakítsd meg a feltöltést, majd nyisd újra az alkalmazást. A megfigyelést külön jelentsd a statikus és el nem végzett iOS-ellenőrzéstől.

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

Mobile Verification & Build

Verify mobile changes with the project's typechecker, static analyzer, test runner and bundler/compiler, and state explicitly what was verified on iOS, Android, simulator/emulator or only at the code level.

1. Static analysis, codegen and bundle/build verification

  • React Native / Expo:
    • Run npx tsc --noEmit and ESLint.
    • When package.json, app.json or native config plugins change, run npx expo-doctor and verify bundle compilation (npx expo export --dump-sourcemap or Metro bundle check) catches missing assets, broken imports or New Architecture incompatibilities.
  • Flutter:
    • When @freezed, @JsonSerializable, @riverpod or @HostApi (Pigeon) definitions change, run dart run build_runner build --delete-conflicting-outputs first.
    • Run flutter analyze (zero warnings/errors) and dart format --output=none --set-exit-if-changed.
  • Native iOS / Android:
    • When native manifests, Podfile or Gradle files change, verify xcodebuild / ./gradlew assembleDebug or testDebugUnitTest when the toolchain is available in the environment.

2. Targeted automated tests across states

  • React Native (Jest + React Native Testing Library):
    • Render screens/components with required providers (navigation, query client, safe area), query by accessible role/label (getByRole, getByLabelText, findByText), trigger interactions via userEvent / fireEvent, and mock native modules at the service boundary.
  • Flutter (flutter test):
    • Write unit tests for repositories/notifiers/blocs (ProviderContainer or blocTest) and widget tests (testWidgets, pumpWidget, pumpAndSettle) with fake/overridden repositories.
  • Required test matrix: verify not only the happy path, but also loading state, empty state, network/server error + retry, form validation errors, and permission-denied fallback.
  • Never weaken security settings (NSAllowsArbitraryLoads, usesCleartextTraffic), skip failing tests or silence type errors to force a pass.

3. Honest platform reporting and release guardrails

  • State verification scope explicitly: distinguish what was verified via automated tests, iOS Simulator, Android Emulator or physical hardware. Hardware-dependent features (camera, biometrics, APNs/FCM push delivery, background task throttling, thermal/60fps behavior) must be flagged for physical device QA if only tested in a simulator or unit test.
  • Never alter signing certificates, keystores, bundle IDs or store credentials, never send push notifications to production topics, and never trigger eas submit, fastlane deliver or production OTA publishes without explicit permission.

Before you finish

  • Typecheck, analyzer, linter, codegen and bundle/compile checks executed and clean.
  • Automated unit and component/widget tests cover happy path + loading, empty, error/retry and permission states.
  • Handoff states clearly what ran on iOS, Android, simulator or unit tests, and lists device-only checks for QA.

Csomagban lévő fájlok 2

  • LICENSE.txt
  • SKILL.md