A tutorial on integrating Vertex AI in Firebase into a Compose/Kotlin Multiplatform (KMP) project targeting Android and iOS. It covers project setup with Firebase, using platform-specific Vertex AI SDKs (Android and iOS) behind a shared interface, dependency injection with Koin, and implementing three AI features: text generation with markdown rendering, structured JSON generation, and image generation using Imagen 3. The shared ViewModel and Compose Multiplatform UI code are also demonstrated.
3 Impressions