Skip to content

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

ComponentDescription
AlertShow native alerts and dialogs
ToastDisplay temporary notifications
ButtonNative button styling and interactions
MenuBottom sheets and context menus
FormNative form with autofill support
ComponentDescription
Navigation HistoryManage navigation stack
Navbar ButtonNavigation bar buttons with badges

Device Features

ComponentDescription
LocationGPS and location services
Barcode ScannerScan product barcodes
Image SearchML-based image recognition
HapticTactile feedback

Media & Files

ComponentDescription
Download FileDownload files to device
ShareNative share sheet
SearchNative search with voice

User Experience

ComponentDescription
ThemeDark/light mode support
Theme ModeCustom theme settings
Review PromptIn-app review requests

Account

ComponentDescription
LogoutSecure 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

Released under the MIT License.