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 ACTIVITY_WEBSOCKET_URL=
SEARCH_API_URL=https://search.com BACKEND_URL=
SEARCH_API_TOKEN=abcde NEW_IMAGE_API=
ACTIVITY_WEBSOCKET_URL=ws://host.com/path OLD_IMAGE_API=
OLD_IMAGE_API=https://img.server.php/ SEARCH_API_TOKEN=
NEW_IMAGE_API=https://img.server/ SEARCH_API_URL=
SERVER_LIST_API=

View File

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

View File

@ -3,6 +3,9 @@
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <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 <application
android:name=".MainApplication" android:name=".MainApplication"

View File

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