paypal-here-sdk-android-distribution icon indicating copy to clipboard operation
paypal-here-sdk-android-distribution copied to clipboard

Proguard causes NoSuchMethodException

Open DowsingUK opened this issue 4 years ago • 5 comments

buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg' } }

Any way to setup proguard at least to bypass it?

I have tried: -keep class com.paypal.** { *; }
with no luck at all, everything compiles right but every time I want to call a method from PPH_SDK it crashes with NoSuchMethodException, could you help me here, thank you

DowsingUK avatar Jul 01 '21 23:07 DowsingUK

Hello @DowsingUK! Thank you for submitting this bug report.

Is the ask to add pro guard to the SDK artefact?

EarthyOrange avatar Aug 05 '21 23:08 EarthyOrange

Would be great if you share some rules to compile using minifyEnabled true

DowsingUK avatar Aug 07 '21 04:08 DowsingUK

@DowsingUK Can you also please share the whole stack trace of the crash here?

EarthyOrange avatar Aug 09 '21 21:08 EarthyOrange

Well pretty much the stack it's telling there's NoSuchMethodException in just one line

DowsingUK avatar Aug 11 '21 16:08 DowsingUK

Apologies, I lost track of this issue. We have created a ticket internally to track this issue. This thread will be updated once it is picked up for work.

EarthyOrange avatar Sep 11 '21 21:09 EarthyOrange