diff --git a/zapic/build.gradle b/zapic/build.gradle index a832e6b..3161e1b 100644 --- a/zapic/build.gradle +++ b/zapic/build.gradle @@ -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" diff --git a/zapic/proguard-rules.pro b/zapic/proguard-rules.pro index 5f8e08e..d4b0133 100644 --- a/zapic/proguard-rules.pro +++ b/zapic/proguard-rules.pro @@ -1,4 +1,4 @@ -# Keep Java API +# Keep Zapic Java APIs -keep class com.zapic.sdk.android.Zapic { public *; } @@ -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