{"id":53605,"plugin_id":"plugins_6abcb949170081919055247eaf18cfc0","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-10-24T13:54:35.269Z","digest":"babd18997a9f0f34c0f4d6e8fc2c9ac8d2ca37d225877f7ec9d3c49af8091152","against":null,"payload":{"description":"Implement and debug the Android platform layer of Flutter apps including Gradle, manifests, flavors, permissions, platform channels, plugins, app links, notifications, and native lifecycle behavior.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":221}],"name":"flutter-android-platform","skill_md_contents":"---\nname: flutter-android-platform\ndescription: Implement and debug the Android platform layer of Flutter apps including Gradle, manifests, flavors, permissions, platform channels, plugins, app links, notifications, and native lifecycle behavior.\n---\n\n# Flutter Android Platform\n\nOwn the Android shell of a Flutter app: Gradle, manifests, flavors, plugins,\nchannels, links, notifications, and lifecycle.\n\n## Inspect first\n\n- `android/` Gradle files, flavors, application ids, signing config location\n- manifests and merged manifest output\n- plugin registrations and GeneratedPluginRegistrant assumptions\n- platform channels and method/event APIs\n- deep links / App Links, notification intents, launch modes\n\nUse `toolchain-doctor` / `toolchain_snapshot.py` for SDK and AGP pins.\n\n## Common work\n\n1. Keep Flutter Gradle plugin and Android embedding conventions the project\n   already uses.\n2. Add permissions and queries only with a product reason; document why.\n3. Implement channel handlers with explicit error codes and main-thread rules.\n4. Verify deep links with `adb` VIEW intents and App Link verification where\n   required.\n5. Confirm flavor × build-mode matrix before release packaging.\n\n## Debug loop\n\n```bash\nflutter build apk --debug --flavor <flavor>\nadb -s <serial> install -r <apk>\nadb -s <serial> shell am start -W -n <package>/<activity>\nadb -s <serial> logcat --pid \"$(adb -s <serial> shell pidof -s <package> | tr -d '\\r')\"\n```\n\n## Boundaries\n\n- Do not “fix” Flutter UI bugs by rewriting Android unless evidence points\n  there.\n- Do not print keystore secrets or signing material.\n- Prefer repository scripts for flavors and dart-defines.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}