mirror of
https://github.com/status-im/react-native-camera-roll.git
synced 2026-08-27 11:21:08 +00:00
Fixes fix(ci): fixed android release build as a CI test step fix(android): Fix MediaStore issues and support scopped storage #322 #244 fix(android): Fix saveImageToCameraRoll #248 #254 fix(android): remove JCenter #340 #401 fix(ios): Fix performance issues #276 fix(ios): add method to get file Path from internal PH ID #135 fix(react-native): Bump used dependencies #393 ... Fixes #322 Fixes #244 Fixes #248 Fixes #254 Fixes #340 Fixes #401 Fixes #276 Fixes #135 Fixes #393 new Features feat(ios): now it's possible to listen to library selection changes `useEffect(() => { let subscription: EmitterSubscription; if (isAboveIOS14) { subscription = cameraRollEventEmitter.addListener('onLibrarySelectionChange', (_event) => { getUnloadedPictures(); }); } return () => { if (isAboveIOS14 && subscription) { subscription.remove(); } };` feat(ios): possibility to open native modal to update selection when authorization is limited iosRefreshGallerySelection() feat(ios): Convert HEIC images on demand to upload to server BREAKING CHANGE: root import changed! ``` import { CameraRoll } from @react-native-community/cameraroll instead of import CameraRoll from @react-native-community/cameraroll ``` Co-authored-by: idrissakhi <85105624+idrissakhi@users.noreply.github.com>
45 lines
1.2 KiB
Groovy
45 lines
1.2 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
buildToolsVersion = "30.0.2"
|
|
ndkVersion = "21.4.7075529"
|
|
minSdkVersion = 21
|
|
compileSdkVersion = 30
|
|
targetSdkVersion = 30
|
|
androidXVersion = "1.+" // Default AndroidX dependency
|
|
androidXCore = "1.0.2"
|
|
|
|
// e2e
|
|
kotlinVersion = '1.5.10'
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:3.4.2")
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url("$rootDir/../../node_modules/react-native/android")
|
|
}
|
|
maven {
|
|
// Android JSC is installed from npm
|
|
url("$rootDir/../../node_modules/jsc-android/dist")
|
|
}
|
|
|
|
google()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
} |