Hotfix: Internal Epub Reader Crash Fixes

This commit is contained in:
Daniel
2026-01-09 23:48:26 +01:00
parent 06b6281cbc
commit 952740430c
6 changed files with 30 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<p align="center">
<img src="docs/icon/icon.png" alt="App Icon" width="100" />
<br>
v1.8.2
v1.8.3
</p>
<p align="center">
+12
View File
@@ -61,6 +61,18 @@ android {
}
buildTypes {
getByName("debug") {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
isDebuggable = true
}
getByName("release") {
signingConfig = signingConfigs.getByName("release")
+11 -1
View File
@@ -30,4 +30,14 @@
-keep interface androidx.** { *; }
-dontwarn androidx.**
-dontwarn com.google.android.play.**
-dontwarn com.google.android.play.**
-keep class org.readium.** { *; }
-keepclassmembers class org.readium.** {
public <init>();
}
-keep class org.nanohttpd.** { *; }
-keepclassmembers class org.nanohttpd.** {
public <init>();
}
@@ -0,0 +1 @@
- Hotfix: Internal Epub Reader Crash Fixes
@@ -83,7 +83,10 @@ public class EpubViewerPlugin implements FlutterPlugin, MethodChannel.MethodCall
@Override
public void onMethodCall(MethodCall call, MethodChannel.Result result) {
if (call.method.equals("setConfig")) {
if (call.method.equals("setChannel")) {
result.success(null);
} else if (call.method.equals("setConfig")) {
Map<String, Object> arguments = (Map<String, Object>) call.arguments;
String identifier = arguments.get("identifier").toString();
String themeColor = arguments.get("themeColor").toString();
+1 -1
View File
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.8.2+26
version: 1.8.3+27
environment:
sdk: ^3.7.0