SAP / gigya-android-sdk

SAP CDC (Gigya) android sdk for mobile
Apache License 2.0
19 stars 13 forks source link

Social wrappers - R8/proguard #56

Closed mare011 closed 1 year ago

mare011 commented 1 year ago

New approach for providing Wrapper classes in gigya.providers requires it to be excluded with R8/proguard. Can you add it to embedded config in AAR if you plan to support it: https://github.com/SAP/gigya-android-sdk/issues/3 Or to update the documentation and mention that rules needs to be added manually for:

-keep class com.gigya.android** { *; }
-keep class gigya.providers** { *; }

And to keep classes that gson will use, like custom class that extends GigyaAccount

tal-mi commented 1 year ago

I will add it to the docs until embedded config support is applied. Thanks.