Skip to Content
v1.29.0 · shipped Own analytics id., Refused batches are not replayed forever. 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: 'mushi_...', triggerMode: 'both', triggerInsetPreset: 'tabBarSafe', })

Explicit insets win over presets:

await Mushi.configure({ projectId: '...', apiKey: 'mushi_...', 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