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

app crashes on loading the pdf in release mode #24

Closed
bishosamer opened this issue Sep 10, 2019 · 4 comments
Closed

app crashes on loading the pdf in release mode #24

bishosamer opened this issue Sep 10, 2019 · 4 comments

Comments

@bishosamer
Copy link

when running in debug mode the plugin works fine but when i release the apk the app crashes once the pdf is loaded

@endigo
Copy link
Owner

endigo commented Sep 10, 2019

Maybe related to #15

Did you enable proguard?

@bishosamer
Copy link
Author

yes

@endigo
Copy link
Owner

endigo commented Sep 10, 2019

Please add #15 (comment) these proguard rules then try it again.

@endigo endigo closed this as completed Sep 10, 2019
@bishosamer
Copy link
Author

fixed by adding

-keep class com.shockwave.**
-keepclassmembers class com.shockwave.** { *; }

to the proguard-rules.pro

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