# onAccessPermissionChanged

Canonical page: https://docs.ovok.com/native-sdk/guide/components/bt-management/bt-provider/on-access-permission-changed

`onAccessPermissionChanged` receives a boolean after the provider's Bluetooth permission request completes. The request runs when `BTProvider` mounts and again when the app returns to the foreground, so this callback can refresh app UI after a user changes a permission in Settings.

~~~tsx
<BTProvider
  {...providerProps}
  onAccessPermissionChanged={(granted) => {
    setBluetoothPermissionGranted(granted);
  }}
/>
~~~

This reports permission only. It does not mean the Bluetooth radio is powered on or that a peripheral is nearby. Use `useBluetoothState` or `BluetoothStateNotice` to handle radio state separately.

Supply `permissionFallback` if the provider's default Settings prompt does not fit the product's flow. See [DefaultPermissionFallback](/native-sdk/guide/components/bt-management/default-permission-fallback/).
