* add a UI trigger for demo annotations * Implement internal link navigation * Simplify bottom padding logic in `EpubReaderScreen` for vertical scroll mode * Add support for Calibre metadata * Implement advanced library management with Room-backed collections, tags, and smart rules. * Display book series information in book details and remove tags from home screen * Implement zoom reset functionality in PDF viewer * Add a "Pages" thumbnail view to the PDF navigation drawer * Implement jump-back navigation in PDF viewer * MainViewModel: disable FolderSyncWorker, add log export, and enhance PDF position logging * Replace Gson with Kotlin Serialization in SmartCollectionEngine * Implement ONNX-based speech bubble detection * Implement speech bubble detection in PDF viewer * Implement "Smart Comic Zoom" feature for PDF manga/comic reading * Implement reader session persistence and restoration in `MainViewModel` * Add tap-to-turn page feature to PDF viewer * Improve book cache management and recovery * Refactor top overlay padding logic in `PdfViewerScreen` * Implement stylus eraser support in PDF reader * Refactor ReaderTextFormatPanel to use ModalBottomSheet and add new formatting controls * Introduce a customizable horizontal margin setting for the EPUB reader * Refine folder sync and metadata handling for better conflict resolution and stability. * Introduce user-adjustable image scaling for the EPUB reader * Use maxWidthPx as default width fallback for blocks * Improve cross-page text selection and header styling in the paginated reader * Refactor speech bubble detection and UI to support segmentation masks and interactive scaling * Improve speech bubble detection masking and rendering quality * Update ONNX speech bubble detector to use `.ort` model and optimize inference * Improve pagination accuracy * Implement hierarchical folder navigation for the library. * Refactor library item layout for improved space efficiency * Add support for browsing and downloading Google Fonts * Persist library landing state and add shelf search functionality * Fix base tts sample. * Move SpeechBubbleDetector to main source set and update ONNX dependency * Implement a "locate" feature and improve synchronization for TTS (Text-to-Speech) playback across EPUB and PDF readers. * Refine TTS synchronization and voice management in the EPUB reader * Adjust OCR checks for OSS flavor and optimize external dictionary intent flags * Add "Locate" button to PDF drawer's pages tab and move the page number to bottom right of thumbnail * fix various crashes * Refactor SpeechBubbleDetector into product flavors * Implement speech bubble detection caching and background prefetching * Implement on-demand download for Bubble Zoom ML model * Add smooth animation for PDF speech bubble expansion * fixes #252 * hide Google Fonts option, in FontsScreen, for offline variant * Bump version to 1.0.46(46)
90 lines
No EOL
3 KiB
Prolog
90 lines
No EOL
3 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# If your project uses WebView with JS, uncomment the following
|
|
# and specify the fully qualified class name to the JavaScript interface
|
|
# class:
|
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
# public *;
|
|
#}
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
# debugging stack traces.
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# hide the original source file name.
|
|
-renamesourcefileattribute SourceFile
|
|
|
|
# Fix for Firestore crash in release builds.
|
|
# This prevents ProGuard from removing the default constructor and fields
|
|
# that Firestore needs for data serialization and deserialization.
|
|
-keepattributes Signature
|
|
-keep class com.google.firebase.firestore.** { *; }
|
|
-keepnames class com.google.protobuf.** { *; }
|
|
|
|
# IMPORTANT: Keep all your data model classes that you use with Firestore.
|
|
# The following rule covers all classes in your 'data' package.
|
|
-keep class com.aryan.reader.data.** {
|
|
<init>();
|
|
*;
|
|
}
|
|
|
|
# Keep MobiParser inner classes that are accessed from JNI.
|
|
# ProGuard/R8 can't detect this usage, so we must keep them explicitly
|
|
# to prevent renaming/removal in release builds.
|
|
-keep class com.aryan.reader.epub.MobiParser$* {
|
|
<init>(...);
|
|
*;
|
|
}
|
|
|
|
# Keep classes for Google Sign In and Credential Manager
|
|
-keep class com.google.android.libraries.identity.googleid.** { *; }
|
|
-keep class com.google.android.gms.auth.api.identity.** { *; }
|
|
-keep class androidx.credentials.** { *; }
|
|
|
|
# Keep classes for Firebase Auth
|
|
-keep class com.google.firebase.auth.** { *; }
|
|
|
|
# These rules can help prevent gRPC-related issues in release builds.
|
|
-keep class io.grpc.** { *; }
|
|
-dontwarn com.squareup.okhttp.**
|
|
|
|
#noinspection ShrinkerUnresolvedReference
|
|
-dontwarn com.google.protobuf.GeneratedMessageV3
|
|
-keepclassmembers class * extends com.google.protobuf.GeneratedMessageV3 {
|
|
<fields>;
|
|
}
|
|
|
|
# Keep GSON TypeToken for proper JSON serialization/deserialization in release builds.
|
|
# This prevents R8 from stripping generic type information needed by Gson.
|
|
-keep class com.google.gson.reflect.TypeToken { *; }
|
|
-keep class * extends com.google.gson.reflect.TypeToken
|
|
|
|
-keep class com.aryan.reader.paginatedreader.Woff2Converter { *; }
|
|
|
|
-dontwarn com.gemalto.jp2.**
|
|
|
|
# Flexmark Markdown parser rules
|
|
-keep class com.vladsch.flexmark.** { *; }
|
|
-keepnames class com.vladsch.flexmark.** { *; }
|
|
-keepclassmembers class com.vladsch.flexmark.** { *; }
|
|
|
|
-dontwarn java.awt.**
|
|
-dontwarn javax.swing.**
|
|
-dontwarn javax.imageio.**
|
|
|
|
-keepattributes Signature, EnclosingMethod, InnerClasses, *Annotation*
|
|
|
|
-keep class com.aryan.reader.pdf.NativePdfiumBridge {
|
|
*;
|
|
}
|
|
|
|
# Preserve ONNX Runtime Java classes
|
|
-keep class ai.onnxruntime.** { *; }
|
|
-keepnames class ai.onnxruntime.** { *; }
|
|
-keepclassmembers class ai.onnxruntime.** { *; } |