FolioReader-Android icon indicating copy to clipboard operation
FolioReader-Android copied to clipboard

minifyEnabled issue

Open abduroid opened this issue 4 years ago • 2 comments

Issue / Feature - Open EPUB from raw FolioReader version - 0.5.4

Steps to reproduce / Describe in detail -

  1. Set minifyEnabled true in release mode
  2. Build in release mode
  3. Run the built app

And app is not opening EPUB file

Here is the error message thrown on opening https://gist.github.com/abduqodirov/b216efc33837a125bdcffe1956145887

abduroid avatar Jun 24 '20 09:06 abduroid

help me !facing same issue. is it fixed ?

yashdevelops avatar Jul 31 '20 12:07 yashdevelops

help me !facing same issue. is it fixed ?

-ignorewarnings
-keep class * {
    public private *;
}

I've fixed the issue by adding these lines to my proguard rules file. I'm not sure whether better way to fix it, but I didn't have enough time to research deeper. Let me know if you find more accurate rule for proguard

abduroid avatar Aug 02 '20 09:08 abduroid