Closed wrozwad closed 2 weeks ago
Hi @wrozwad, thank you for the suggestion! Our SDK is only obfuscated if you enable it for your app. The minification process comes with a lot of optimizations, so we would like to keep supporting it. You could disable obfuscation of our SDK by adding -keep public class com.adyen.checkout.**
to your Proguard rules.
Unfortunately, the Twint SDK is pre-obfuscated, so even when obfuscation is disabled for our SDK this problem will persist. We will reach out to Twint to see if they can fix it and we will look for a workaround in the mean time
@wrozwad we found the cause of the problem and the fix will land in the next release. R8 does not seem to understand compileOnly
dependencies. For now you can include the following Proguard rules to work around it 👇 Thanks again for reporting!
-dontwarn com.adyen.checkout.adyen3ds2.**
-dontwarn com.adyen.checkout.twint.**
-dontwarn com.adyen.checkout.wechatpay.**
Is your feature request related to a problem? Please describe. We have several libraries with obfuscated code in our project. Unfortunately, after updating from
5.3.1
to5.4.0
, we encountered an errorWe tried to disable this module by:
Unfortunately, it is used in another
action-core
module so we can't do that.Describe the solution you'd like Could you disable obfuscation for the entire Twint module? Currently, in
TwintSdk-android-8.0.0.jar
, there is a packagea
with classesa
andb
, which complicates SDK update. Or even better, could you disable code obfuscation for the entire project? The SDK is open-source anyway, and this would give us access to function comments and make it much easier to navigate bugs and debug why something isn't working for us.