@sfourdrinier/react-native-ble-plx
Version:
React Native Bluetooth Low Energy library
19 lines (18 loc) • 837 B
TypeScript
import { type ConfigPlugin } from '@expo/config-plugins';
import { BackgroundMode } from './withBLEBackgroundModes';
export { BackgroundMode };
declare const _default: ConfigPlugin<void | {
/** Enable debug logging for this config plugin (also controllable via BLEPLX_PLUGIN_DEBUG=1). */
debug?: boolean;
isBackgroundEnabled?: boolean;
neverForLocation?: boolean;
modes?: BackgroundMode[];
bluetoothAlwaysPermission?: string | false;
/** Enable iOS BLE state restoration support (Restoration subspec) */
iosEnableRestoration?: boolean;
/** Optional custom restoration identifier passed to iOS central manager */
iosRestorationIdentifier?: string;
/** Enable Android foreground service for background BLE operations */
androidEnableForegroundService?: boolean;
}>;
export default _default;