Hotfix: Internal Epub Reader Crash Fixes
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Vendored
+11
-1
@@ -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
|
||||
+4
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user