Skip to content

Commit 26cea5a

Browse files
authored
Merge pull request #22 from seniorquico/missing-support-core-utils
Fixed missing support-core-utils dependency
2 parents 8743b38 + 6b538c7 commit 26cea5a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

zapic/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ android {
3535
dependencies {
3636
implementation fileTree(include: ['*.jar'], dir: 'libs')
3737
implementation "com.android.support:support-annotations:$rootProject.ext.googleSupportVersion"
38-
implementation "com.android.support:support-compat:$rootProject.ext.googleSupportVersion"
38+
implementation "com.android.support:support-core-utils:$rootProject.ext.googleSupportVersion"
3939
compileOnly "com.android.support:support-v4:$rootProject.ext.googleSupportVersion"
4040
compileOnly "com.google.android.gms:play-services-auth:$rootProject.ext.googlePlayServicesVersion"
4141
compileOnly "com.google.android.gms:play-services-games:$rootProject.ext.googlePlayServicesVersion"

zapic/proguard-rules.pro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Keep Java API
1+
# Keep Zapic Java APIs
22
-keep class com.zapic.sdk.android.Zapic {
33
public *;
44
}
@@ -15,7 +15,10 @@
1515
public *;
1616
}
1717

18-
# Keep JavaScript API
18+
# Keep Zapic JavaScript API
1919
-keepclassmembers class com.zapic.sdk.android.WebViewJavascriptBridge {
2020
public *;
2121
}
22+
23+
# Keep Java APIs used by reflection
24+
-keepnames class android.support.v4.app.Fragment

0 commit comments

Comments
 (0)