Browse Source

Update README.md

Yonah Forst 9 years ago
parent
commit
b8dd7d8bf1
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      README.md

+ 3
- 3
README.md View File

85
 | `openSettings` | *none* | - Switches the user to the settings page of your app (iOS 8.0 and later)  |
85
 | `openSettings` | *none* | - Switches the user to the settings page of your app (iOS 8.0 and later)  |
86
 | `canOpenSettings` | *none* | - Returns a boolean indicating if the device supports switching to the settings page |
86
 | `canOpenSettings` | *none* | - Returns a boolean indicating if the device supports switching to the settings page |
87
 
87
 
88
-Note: Permission type `bluetooth` represents the status of the `CBPeripheralManager` . Note: Don't use this if you're only using `CBCentralManager`
88
+Note: Permission type `bluetooth` represents the status of the `CBPeripheralManager`. Don't use this if you're only using `CBCentralManager`
89
 
89
 
90
-#####Special cases
90
+###Special cases
91
 
91
 
92
 `requestPermission` also accepts a second parameter for types `location` and `notification`.
92
 `requestPermission` also accepts a second parameter for types `location` and `notification`.
93
 - `location`: the second parameter is a string, either `always` or `whenInUse`(default).
93
 - `location`: the second parameter is a string, either `always` or `whenInUse`(default).
94
 - `notification`: the second parameter is an array with the desired alert types. Any combination of `alert`, `badge` and `sound` (default requests all three)
94
 - `notification`: the second parameter is an array with the desired alert types. Any combination of `alert`, `badge` and `sound` (default requests all three)
95
-*_example_*
96
 ```js
95
 ```js
96
+///example
97
     Permissions.requestPermission('location', 'always')
97
     Permissions.requestPermission('location', 'always')
98
       .then(response => {
98
       .then(response => {
99
         this.setState({ locationPermission: response })
99
         this.setState({ locationPermission: response })