Available Bridge Components
The BagistoNative_iOS library includes a wide range of bridge components that enable nearly every aspect of the native experience to be controlled from the web.
Comprehensive Component List
These components are typically registered via Bridgework.coreComponents and can be triggered from your React/Next.js application.
1. BarcodeScannerComponent
Provides access to a native barcode/QR code scanner.
2. ImageSearchComponent
Integrates with the device camera for visual searches.
3. LocationComponent
Syncs the webview's location and handles native geo-location.
4. NavigationHistory
Ensures the native navigation stack and web history are in sync.
5. SearchComponent
Bridges web search inputs with the native search bar.
6. ThemeComponent
Synchronizes Light/Dark mode between iOS and the webview.
7. ToastComponent
Displays non-intrusive native success, error, or info messages.
8. Dynamic Button
A versatile component that dynamically manages navigation bar buttons, including cart badges, scanner actions, and theme switching.
Component Functionality Reference
If you need to deep-dive into the specific implementation or logic of a component, you can find the source code here:
GitHub: BagistoNative_iOS Components
How to Verify
- Xcode Console: Most components log their initialization and activation events.
- Interactive Testing: Use the iOS App Setup to run the app and trigger these components from your local development server.
