DefaultPermissionFallback
DefaultPermissionFallback is the fallback rendered by BTProvider when its Bluetooth permission request is not granted and the app has not supplied permissionFallback.
Import it from @ovok/native/bt-management.
import { DefaultPermissionFallback } from "@ovok/native/bt-management";
<DefaultPermissionFallback retry={openAppSettings} />;
Props
| Prop | Type | Purpose |
|---|---|---|
retry | () => void | Called by the prompt's action button. |
The built-in component uses the SDK's translation keys and React Native Paper text and button primitives. It displays a permission message and an action that the provider wires to Linking.openSettings().
Use BTProvider.permissionFallback when the app needs custom copy, layout, localization, or a product-specific recovery flow. The provider will show that fallback instead of this component while permission is missing.