mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 10:58:16 +00:00
Update README.md
This commit is contained in:
parent
45b9620942
commit
15f270732b
21
README.md
21
README.md
@ -246,7 +246,7 @@ In Xcode open Info.plist and add string key `NSPhotoLibraryUsageDescription` wit
|
|||||||
|
|
||||||
### Android
|
### Android
|
||||||
|
|
||||||
- Make sure you are using Gradle `2.2.x` (android/build.gradle)
|
- Make sure you are using Gradle >= `2.2.x` (android/build.gradle)
|
||||||
|
|
||||||
```gradle
|
```gradle
|
||||||
buildscript {
|
buildscript {
|
||||||
@ -289,6 +289,25 @@ android {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Use Android SDK >= 26 (android/app/build.gradle)
|
||||||
|
|
||||||
|
```gradle
|
||||||
|
...
|
||||||
|
android {
|
||||||
|
...
|
||||||
|
compileSdkVersion 27
|
||||||
|
buildToolsVersion "27.0.3"
|
||||||
|
...
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
...
|
||||||
|
targetSdkVersion 27
|
||||||
|
...
|
||||||
|
}
|
||||||
|
...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
- [Optional] If you want to use camera picker in your project, add following to `app\src\main\AndroidManifest.xml`
|
- [Optional] If you want to use camera picker in your project, add following to `app\src\main\AndroidManifest.xml`
|
||||||
- `<uses-permission android:name="android.permission.CAMERA"/>`
|
- `<uses-permission android:name="android.permission.CAMERA"/>`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user