Ver código fonte

Remove mention of version 1.x in favor of 2.x + jetify -r

Mathieu Acthernoene 5 anos atrás
pai
commit
8441ce715f
1 arquivos alterados com 5 adições e 7 exclusões
  1. 5
    7
      README.md

+ 5
- 7
README.md Ver arquivo

@@ -10,12 +10,10 @@ An unified permissions API for React Native on iOS and Android.
10 10
 
11 11
 ## Support
12 12
 
13
-| version | react-native version |
14
-| ------- | -------------------- |
15
-| 2.0.0+  | 0.60.0+              |
16
-| 1.2.1   | 0.56.0 - 0.59.10     |
17
-
18
-_You can use 2.0.0 with 0.59.10- with the [`jetify -r`](https://github.com/mikehardy/jetifier/blob/master/README.md#to-reverse-jetify--convert-node_modules-dependencies-to-support-libraries) `postinstall` command._
13
+| version                                                                                                                                                       | react-native version |
14
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
15
+| 2.0.0+                                                                                                                                                        | 0.60.0+              |
16
+| 2.0.0+ & [`jetify -r`](https://github.com/mikehardy/jetifier/blob/master/README.md#to-reverse-jetify--convert-node_modules-dependencies-to-support-libraries) | 0.56.0 - 0.59.10     |
19 17
 
20 18
 ## Setup
21 19
 
@@ -569,7 +567,7 @@ Promise.all([
569 567
 _⚠️  It's a very bad UX pattern, avoid doing it!_
570 568
 
571 569
 ```js
572
-import {check, request, PERMISSIONS} from 'react-native-permissions';
570
+import {request, PERMISSIONS} from 'react-native-permissions';
573 571
 
574 572
 // should be done in sequence
575 573
 async function requestAll() {