Skip to Content
v0.8.0 · shippedNative iOS / Android / Flutter / Capacitor SDKs, A2A discovery, SOC 2 readiness, residency, BYO storage, BYOK. Read the changelog →
SDK referenceCapacitor bottom dock

Capacitor bottom dock

Use triggerInsetPreset for common mobile chrome:

import { Mushi, triggerInsetPresets } from '@mushi-mushi/capacitor' await Mushi.configure({ projectId: '...', apiKey: 'mush_pk_...', triggerMode: 'both', triggerInsetPreset: 'tabBarSafe', })

Explicit insets win over presets:

await Mushi.configure({ projectId: '...', apiKey: 'mush_pk_...', triggerInset: { bottom: triggerInsetPresets.dockSafe.bottom + 12, trailing: 20, end: 20, }, })

For Ionic or React Native Web shells that render the web widget inside the WebView, use the browser SDK widget.anchor with your app’s CSS tokens.

Last updated on