con un clic
android-kmp-platform-channels
Bridging Native iOS and Desktop APIs back into KMP.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Bridging Native iOS and Desktop APIs back into KMP.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Handling Bluetooth Low Energy, flow wrappers, and Android 12+ permissions.
Seamless integration of CameraX with Google ML Kit for vision tasks.
Deep-dive skills for banking and healthcare apps.
Use when integrating Google Gemini Nano via AICore for on-device ML.
Automated UIAutomator tests and Hardware mocking setup.
Expanding KMP shared UI to cover Compose Multiplatform edge-cases.
| name | android-kmp-platform-channels |
| description | Bridging Native iOS and Desktop APIs back into KMP. |
| category | cross-platform |
| risk | high |
| source | community |
| date_added | 2026-04-07 |
| metadata | {"triggers":["@kmp-native","expect actual","cinterop"]} |
When the common Kotlin standard library falls short, you must write native platform bridges to access raw iOS Foundation or Android Context APIs.
Context (Android) or UIViewController (iOS) around in common code via generic Any types.expect class or interface in commonMain, and provide actual implementations within androidMain and iosMain. Use constructor injection for dependencies if using Koin or Kotlin-Inject.StateFlow and suspend functions compile to Swift with generic clunky Skie or CompletionHandler signatures.java.util.UUID or java.time anywhere in commonMain! Native Java libraries simply DO NOT compile to iOS and will immediately break the KMP build. Instead use kotlinx.datetime and uuid libraries.