Skip to main content

createBackgroundBleManager

Creates a BLE manager configured for iOS CoreBluetooth state restoration. The returned manager must be created once at module scope, not inside a React render.

Kind: Function
Package: @ovok/native

Import​

import { createBackgroundBleManager } from '@ovok/native/bt-management';

TypeScript signatures​

({ restoreStateIdentifier, onRestoreState, }?: BackgroundBleManagerOptions): BleManager
ParameterTypeDetails
__0BackgroundBleManagerOptions—

Returns: BleManager.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.