Mathieu Acthernoene 5 years ago
parent
commit
27cb57f484
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      README.md
  2. 1
    0
      lib/permissions.android.js

+ 1
- 0
README.md View File

156
 | Photos             | `photo`             | ✔️  | ✔       |
156
 | Photos             | `photo`             | ✔️  | ✔       |
157
 | Contacts           | `contacts`          | ✔️  | ✔       |
157
 | Contacts           | `contacts`          | ✔️  | ✔       |
158
 | Events             | `event`             | ✔️  | ✔       |
158
 | Events             | `event`             | ✔️  | ✔       |
159
+| Coarse location    | `coarseLocation`    | ❌  | ✔       |
159
 | Bluetooth          | `bluetooth`         | ✔️  | ❌      |
160
 | Bluetooth          | `bluetooth`         | ✔️  | ❌      |
160
 | Reminders          | `reminder`          | ✔️  | ❌      |
161
 | Reminders          | `reminder`          | ✔️  | ❌      |
161
 | Push Notifications | `notification`      | ✔️  | ❌      |
162
 | Push Notifications | `notification`      | ✔️  | ❌      |

+ 1
- 0
lib/permissions.android.js View File

9
 
9
 
10
 const permissionTypes = {
10
 const permissionTypes = {
11
   location: PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
11
   location: PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
12
+  coarseLocation: RNPermissions.PERMISSIONS.ACCESS_COARSE_LOCATION,
12
   camera: PermissionsAndroid.PERMISSIONS.CAMERA,
13
   camera: PermissionsAndroid.PERMISSIONS.CAMERA,
13
   microphone: PermissionsAndroid.PERMISSIONS.RECORD_AUDIO,
14
   microphone: PermissionsAndroid.PERMISSIONS.RECORD_AUDIO,
14
   contacts: PermissionsAndroid.PERMISSIONS.READ_CONTACTS,
15
   contacts: PermissionsAndroid.PERMISSIONS.READ_CONTACTS,