|
@@ -13,7 +13,7 @@ The current supported permissions are:
|
13
|
13
|
- Bluetooth (Peripheral role. Don't use for Central only)
|
14
|
14
|
- Background Refresh
|
15
|
15
|
|
16
|
|
-####General Usage
|
|
16
|
+##General Usage
|
17
|
17
|
```js
|
18
|
18
|
const Permissions = require('react-native-permissions');
|
19
|
19
|
|
|
@@ -70,7 +70,7 @@ const Permissions = require('react-native-permissions');
|
70
|
70
|
//...
|
71
|
71
|
```
|
72
|
72
|
|
73
|
|
-####API
|
|
73
|
+##API
|
74
|
74
|
|
75
|
75
|
_Permission statuses_ - `authorized`, `denied`, `restricted`, or `undetermined`
|
76
|
76
|
|
|
@@ -112,7 +112,7 @@ Note: Permission type `bluetooth` represents the status of the `CBPeripheralMana
|
112
|
112
|
npm install --save react-native-permissions
|
113
|
113
|
````
|
114
|
114
|
|
115
|
|
-###iOS
|
|
115
|
+##iOS
|
116
|
116
|
* Run open node_modules/react-native-permissions
|
117
|
117
|
* Drag ReactNativePermissions.xcodeproj into the Libraries group of your app's Xcode project
|
118
|
118
|
* Add libReactNativePermissions.a to `Build Phases -> Link Binary With Libraries.
|