Impelemted react-native-image-crop-picker with android project

This commit is contained in:
Mustafa Buyukcelebi 2018-12-04 16:38:14 +03:00
parent 9f3107185f
commit 7a89e24b86
4 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,7 @@
BACKEND_URL=https://myapi.com
SEARCH_API_URL=https://search.com
SEARCH_API_TOKEN=abcde
ACTIVITY_WEBSOCKET_URL=ws://host.com/path
OLD_IMAGE_API=https://img.server.php/
NEW_IMAGE_API=https://img.server/
ACTIVITY_WEBSOCKET_URL=
BACKEND_URL=
NEW_IMAGE_API=
OLD_IMAGE_API=
SEARCH_API_TOKEN=
SEARCH_API_URL=
SERVER_LIST_API=

View File

@ -107,6 +107,7 @@ android {
ndk {
abiFilters "armeabi-v7a", "x86"
}
vectorDrawables.useSupportLibrary = true
}
splits {
abi {

View File

@ -3,6 +3,9 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.front" android:required="false" />
<application
android:name=".MainApplication"

View File

@ -29,6 +29,8 @@ allprojects {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven { url 'https://maven.google.com' }
maven { url "https://jitpack.io" }
}
}