Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement on 'getIcloudDocument' #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
16 changes: 9 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
buildscript {
ext.safeExtGet = {prop, fallback ->
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
repositories {
jcenter()
}
Expand All @@ -10,12 +13,12 @@ buildscript {
apply plugin: 'com.android.library'

android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
compileSdkVersion safeExtGet('compileSdkVersion', 28)
buildToolsVersion safeExtGet('buildToolsVersion', "28.0.3")

defaultConfig {
minSdkVersion 19
targetSdkVersion 28
targetSdkVersion safeExtGet('targetSdkVersion', 28)
versionCode 1
versionName "1.0"
ndk {
Expand All @@ -29,7 +32,7 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}
Expand All @@ -43,9 +46,8 @@ allprojects {

dependencies {
implementation 'com.google.android.gms:play-services-drive:17.0.0'
implementation ('com.google.android.gms:play-services-auth:17.0.0') {
force = true;
}
implementation 'com.google.android.gms:play-services-auth:17.0.0'

implementation 'com.google.http-client:google-http-client-gson:1.26.0'
implementation('com.google.api-client:google-api-client-android:1.26.0') {
exclude group: 'org.apache.httpcomponents'
Expand Down
1 change: 1 addition & 0 deletions ios/RNCloudFs.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@

@interface RNCloudFs : NSObject <RCTBridgeModule>
@property (nonatomic, strong) NSMetadataQuery *query;
@property (nonatomic, strong) NSUbiquitousKeyValueStore *iCloudStore;
@end
Loading