What is Mizu Mobile?
The mobile package provides everything you need to build robust mobile backends: Device Detection:- Parse device information from headers and User-Agent
- Platform detection (iOS, Android, Windows, macOS)
- App version tracking and validation
- Device model and locale information
- Semantic version middleware with deprecation warnings
- Version detection from headers, query params, or URL paths
- Graceful version migration support
- Delta synchronization with opaque sync tokens
- Conflict resolution strategies
- Full sync and incremental sync support
- Cross-platform token management (APNS, FCM, WNS)
- Token validation and provider detection
- Unified payload format with platform conversion
- Universal Links for iOS (apple-app-site-association)
- App Links for Android (assetlinks.json)
- Smart fallback to web
- Version checking and force updates
- Maintenance mode support
- Platform-specific store URLs
Supported Platforms
Mizu supports native and cross-platform development:| Platform | Framework | Template |
|---|---|---|
| iOS | Swift + SwiftUI | mobile/ios |
| Android | Kotlin + Compose | mobile/android |
| Flutter | Dart + Riverpod | mobile/flutter |
| React Native | TypeScript + Expo | mobile/reactnative |
| PWA | React + Vite | mobile/pwa |
| KMM | Kotlin Multiplatform | mobile/kmm |
| .NET MAUI | C# + MVVM | mobile/dotnet |
| Unity | C# | mobile/game |
How It Works
Request Flow
Mobile Headers
The middleware parses standard mobile headers: Request Headers:Feature Comparison
Native vs Cross-Platform
| Feature | Native (iOS/Android) | Cross-Platform |
|---|---|---|
| Performance | Best | Good to Excellent |
| Platform APIs | Full access | Limited/bridged |
| Development time | Longer | Shorter |
| Code sharing | None | High |
| Team expertise | Platform-specific | Single codebase |
| App size | Smaller | Larger |
- Maximum performance is critical
- Deep platform integration needed
- Separate iOS/Android teams available
- Platform-specific UX required
- Faster time to market needed
- Single development team
- Consistent UX across platforms
- Budget constraints
When to Use Mizu Mobile
Mizu Mobile is ideal for:- Offline-first apps - Built-in sync support
- Multi-platform backends - Single Go backend for all clients
- Version-managed APIs - Graceful deprecation and migration
- Push-enabled apps - Cross-platform push token management
- Deep-linked apps - Universal/App Links support