Browse Source

Update README.md

Yonah Forst 8 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,15 +85,15 @@ _Permission types_ - `location`, `camera`, `microphone`, `photo`, `contacts`, `e
85 85
 | `openSettings` | *none* | - Switches the user to the settings page of your app (iOS 8.0 and later)  |
86 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 92
 `requestPermission` also accepts a second parameter for types `location` and `notification`.
93 93
 - `location`: the second parameter is a string, either `always` or `whenInUse`(default).
94 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 95
 ```js
96
+///example
97 97
     Permissions.requestPermission('location', 'always')
98 98
       .then(response => {
99 99
         this.setState({ locationPermission: response })