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

Added obfuscation rules for GMS and missing annotation for ngms. #83

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions storage-api-drive-gms/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-keep class * extends com.google.api.client.json.GenericJson {
*;
}
-keep class com.google.api.services.drive.** {
*;
}
2 changes: 1 addition & 1 deletion storage-api-drive-gms/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
artifactId=storage-api-drive-gms
version=1.0.1-rc
version=1.0.2-rc
description=The GMS implementation of the OMH Storage API
2 changes: 1 addition & 1 deletion storage-api-drive-nongms/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
artifactId=storage-api-drive-nongms
version=1.0.1-rc
version=1.0.2-rc
googleStorageUrl="https://www.googleapis.com/"
description=The non GMS implementation of the OMH Storage API
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

package com.omh.android.storage.api.drive.nongms.data.source.body

import androidx.annotation.Keep

@Keep
internal data class CreateFileRequestBody(
val mimeType: String,
val name: String,
Expand Down
8 changes: 4 additions & 4 deletions storage-sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ omhConfig {
bundle("singleBuild") {
storage() {
gmsService {
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.1-rc"
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.2-rc"
}
nonGmsService {
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.1-rc"
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.2-rc"
}
}
auth {
Expand All @@ -29,7 +29,7 @@ omhConfig {
bundle("gms") {
storage {
gmsService {
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.1-rc"
dependency = "com.openmobilehub.android:storage-api-drive-gms:1.0.2-rc"
}
}
auth {
Expand All @@ -41,7 +41,7 @@ omhConfig {
bundle("nongms") {
storage {
nonGmsService {
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.1-rc"
dependency = "com.openmobilehub.android:storage-api-drive-nongms:1.0.2-rc"
}
}
auth {
Expand Down