Update README.md

This commit is contained in:
Ivan Pusic 2018-05-17 17:20:31 +02:00 committed by GitHub
parent 45b9620942
commit 15f270732b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@ In Xcode open Info.plist and add string key `NSPhotoLibraryUsageDescription` wit
### 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
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`
- `<uses-permission android:name="android.permission.CAMERA"/>`