Bridge Components Overview
This section documents all available native bridge components for Android.
What Are Bridge Components?
Bridge components are native Android modules that provide specific functionality accessible from the web layer. They enable the web application to leverage native device capabilities.
Available Components
Core Components
| Component | Description |
|---|---|
| Alert | Show native alerts and dialogs |
| Toast | Display temporary notifications |
| Button | Native button styling and interactions |
| Menu | Bottom sheets and context menus |
| Form | Native form with autofill support |
Navigation Components
| Component | Description |
|---|---|
| Navigation History | Manage navigation stack |
| Navbar Button | Navigation bar buttons with badges |
Device Features
| Component | Description |
|---|---|
| Location | GPS and location services |
| Barcode Scanner | Scan product barcodes |
| Image Search | ML-based image recognition |
| Haptic | Tactile feedback |
Media & Files
| Component | Description |
|---|---|
| Download File | Download files to device |
| Share | Native share sheet |
| Search | Native search with voice |
User Experience
| Component | Description |
|---|---|
| Theme | Dark/light mode support |
| Theme Mode | Custom theme settings |
| Review Prompt | In-app review requests |
Account
| Component | Description |
|---|---|
| Logout | Secure logout handling |
Registration
Each component must be registered in the native app:
kotlin
navigator.registerBridgeComponent("componentName", ComponentClass(this))See Registration Guide for detailed setup instructions.
Next Steps
- Getting Started - Set up Android integration
- Registration - Register components
- Bridge Components (iOS) - iOS equivalents
