File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,20 @@ This app has crashed because it attempted to access privacy-sensitive data witho
40
40
41
41
See: https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription
42
42
43
+ For expo add the following to your ` app.json ` /` app.config.js ` /` app.config.ts ` :
44
+
45
+ ``` json
46
+ {
47
+ "ios" : {
48
+ "infoPlist" : {
49
+ "NSBluetoothAlwaysUsageDescription" : " Your reason to use bluetooth"
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ** Important** : The first attempt to check the Bluetooth state will prompt the user for permission to access Bluetooth.
56
+
43
57
** Android**
44
58
45
59
To use ` requestToEnable() ` and ` requestToDisable() ` on Android, you have to add the ` BLUETOOTH_CONNECT ` permission to your ` AndroidManifest.xml ` :
You can’t perform that action at this time.
0 commit comments