eBook cannot be read in Release Mode
cmd-dev opened this issue · 5 comments
After downloading any book, clicking on the read now button to read the epub causes the app to instantly crash, it works fine in debug mode but crashes in release mode.
What platform??
Android.
https://github.com/JideGuru/epub_viewer/issues/23#issuecomment-707854528
I fixed it via the above url.
Any way to enable the shrinking and still have the epub reader work though?
Android.
https://github.com/JideGuru/epub_viewer/issues/23#issuecomment-707854528
I fixed it via the above url.
Any way to enable the shrinking and still have the epub reader work though?
the link you shared is empty.
I've found some information here :
https://stackoverflow.com/questions/64172791/flutter-insecure-http-is-not-allowed-by-platform
I fix it by adding this code on android/app/build.gradle:
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
shrinkResources false
signingConfig signingConfigs.release
}
}