Skip to content

Commit

Permalink
Merge pull request #22 from seniorquico/missing-support-core-utils
Browse files Browse the repository at this point in the history
Fixed missing support-core-utils dependency
  • Loading branch information
seniorquico authored Jun 15, 2018
2 parents 8743b38 + 6b538c7 commit 26cea5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zapic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:support-annotations:$rootProject.ext.googleSupportVersion"
implementation "com.android.support:support-compat:$rootProject.ext.googleSupportVersion"
implementation "com.android.support:support-core-utils:$rootProject.ext.googleSupportVersion"
compileOnly "com.android.support:support-v4:$rootProject.ext.googleSupportVersion"
compileOnly "com.google.android.gms:play-services-auth:$rootProject.ext.googlePlayServicesVersion"
compileOnly "com.google.android.gms:play-services-games:$rootProject.ext.googlePlayServicesVersion"
Expand Down
7 changes: 5 additions & 2 deletions zapic/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Keep Java API
# Keep Zapic Java APIs
-keep class com.zapic.sdk.android.Zapic {
public *;
}
Expand All @@ -15,7 +15,10 @@
public *;
}

# Keep JavaScript API
# Keep Zapic JavaScript API
-keepclassmembers class com.zapic.sdk.android.WebViewJavascriptBridge {
public *;
}

# Keep Java APIs used by reflection
-keepnames class android.support.v4.app.Fragment

0 comments on commit 26cea5a

Please sign in to comment.