Files
wehub-resource-sync 3a28426bf4
Lint and Format Check / lint-and-format (push) Failing after 0s
Check Migrations / Check for duplicate migration numbers (push) Failing after 1s
CI Pre-merge Check / CI Pre-merge Check (push) Failing after 2m17s
chore: import upstream snapshot with attribution
2026-07-13 12:23:40 +08:00

51 lines
1.7 KiB
Plaintext

---
title: Kotlin SDK for Android and Multiplatform
description: Install and initialize the official InsForge Kotlin SDK to access auth, database, storage, and realtime from Android and Kotlin Multiplatform apps.
---
import KotlinSdkInstallation from '/snippets/kotlin-sdk-installation.mdx';
The InsForge Kotlin SDK provides a native Kotlin client for interacting with InsForge services from Android applications and Kotlin Multiplatform projects.
## Installation
<KotlinSdkInstallation />
## Features
- **Database** - Type-safe CRUD operations with Kotlin Serialization
- **Authentication** - Email/password and OAuth authentication
- **Storage** - File upload, download, and management
- **AI** - Chat completions and image generation
- **Realtime** - WebSocket-based pub/sub messaging
- **Coroutines** - Full Kotlin Coroutines support
- **Jetpack Compose** - Composable functions and state management
## Platform support
| Platform | Support |
|----------|---------|
| Android | 5.0+ (API 21+) |
| JVM | Java 11+ |
| Kotlin Multiplatform (coming soon) | iOS, macOS, JS (experimental) |
## SDK reference
<CardGroup cols={2}>
<Card title="Database" icon="database" href="/sdks/kotlin/database">
CRUD operations with Kotlin data classes
</Card>
<Card title="Authentication" icon="lock" href="/sdks/kotlin/auth">
Sign up, sign in, OAuth, and user management
</Card>
<Card title="Storage" icon="cloud-arrow-up" href="/sdks/kotlin/storage">
File upload, download, and management
</Card>
<Card title="AI" icon="brain" href="/sdks/kotlin/ai">
Chat completions and image generation
</Card>
<Card title="Realtime" icon="signal-stream" href="/sdks/kotlin/realtime">
WebSocket pub/sub messaging
</Card>
</CardGroup>