Native APIs
Access native device capabilities through React hooks in your Universal Apps. Catalyst Core provides a comprehensive set of APIs that work seamlessly across Web, iOS, and Android platforms.
Available APIs
Core APIs
- Available APIs Overview - Complete list of native hooks and capabilities
Media & File Management
- Camera APIs - Photo capture, permissions, and camera access
- File Management APIs - File picking, selection, and intent handling
User Experience
- Haptic APIs - Haptic feedback and vibration integration
Data & Storage
- Storage API - Universal data persistence and storage
Architecture
All native APIs follow consistent patterns:
- Hook-based: Use React hooks for state management
- Promise-based: Async operations return promises
- Platform-aware: Graceful fallbacks for unsupported platforms
- Type-safe: Full TypeScript support
Platform Support
Platform | Support Level | Notes |
---|---|---|
🌐 Web | ✅ Full | HTML5 APIs with fallbacks |
📱 iOS | ✅ Full | Native iOS integration |
🤖 Android | ✅ Full | Native Android integration |
Getting Started
- Import the hooks you need from
catalyst-core/hooks
- Use them in your React components
- Handle platform-specific behaviors automatically
- Access native capabilities with web fallbacks