Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proguard causes NoSuchMethodException #194

Open
DowsingUK opened this issue Jul 1, 2021 · 5 comments
Open

Proguard causes NoSuchMethodException #194

DowsingUK opened this issue Jul 1, 2021 · 5 comments

Comments

@DowsingUK
Copy link

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

@EarthyOrange
Copy link
Collaborator

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

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

@DowsingUK
Copy link
Author

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

@EarthyOrange
Copy link
Collaborator

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

@DowsingUK
Copy link
Author

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

@EarthyOrange
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants