Skip to content

Releases: LeanBitLab/LeanType

beta-427-3

beta-427-3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Sep 23:45

🧪 LeanType 4.2.7 Beta (Build 3)

Note

This is the third pre-release testing build for LeanType 4.2.7. Please test and report any issues or feedback on GitHub Issues.


✨ Added

  • SMS OTP Auto-Detection: Support for WebOTP (@domain #code), hashtag formats (#code), multi-digit carrier phrasing, and case-insensitive keyword boundaries.
  • Active Notification Scan: Automatically scans existing active status bar notifications on startup or connection for incoming OTPs.
  • Proportional Popup Offset: Popup key vertical offset is now calculated proportionally to keyboard height (0% to 8%, default 4%).
  • Unified Download Progress: Added real-time percentage tracking and LinearProgressIndicator across dictionary downloads, plugins, libraries, models, and sound packs.
  • Dynamic Service Lifecycle: Disables and unbinds notification listener component dynamically when auto-read OTP is toggled off, ensuring zero battery drain.

🐛 Fixed

  • Duplicate OTP Toggles & Permission Prompt: Removed redundant OTP toggle in settings; fixed notification access permission request and direct settings navigation.
  • OTP Suggestion Strip Wipes: Prevented initial recorrection (INPUT_STYLE_RECORRECTION) and empty clipboard evaluation from clearing external OTP suggestions.
  • Resource & Descriptor Leaks: Fixed ParcelFileDescriptor leak in voice dictation bridge and wrapped file streams/ContentResolver queries in use blocks.
  • IME Lifecycle & Scope Teardown: Hardened teardown with proper coroutine cancellation and safe cursor extraction in dictionary facilitator and clipboard history.

🔄 Changes

  • Default SMS App Focus: Restricted OTP notification listener strictly to the system Default SMS app.
  • Key Preview Animations: Stabilized preview popups with cubic bezier PathInterpolator curves (0.1, 0.9, 0.2, 1.0), 6% vertical travel, and 55ms dismissal.
  • Long-Press Popup Motion: Replaced OvershootInterpolator with smooth deceleration and tightened initial scale to 0.84 to eliminate wobble.
  • Toolbar & Mode Transitions: Smoothed entrance and exit animations for toolbar strip, suggestions, pinned keys, emoji palettes, clipboard, and touchpad.
  • Settings Naming: Renamed "Animation speed" to "Animation scale" in Appearance settings to match Android system conventions.
  • Haptics Performance: Cached vibrator primitive support queries to avoid redundant HAL roundtrips.
  • Binary & Asset Optimization: Converted launcher foreground raster icon to lossless WebP and enabled dead code section stripping (--gc-sections) with hidden symbol visibility in native C++ libraries.

🗑️ Removed

  • Redundant SMS App Settings: Removed "Allowed SMS app" dropdown preference and fallback allowlists in favor of automatic default SMS app detection.

📦 Beta Build Artifacts

File Flavor Description Size
1-LeanType_4.2.7-standard-release.apk Standard Full features & online/offline AI voice 11.0 MB
2-LeanType_4.2.7-offline-release.apk Offline Fully air-gapped (zero internet permission) 10.5 MB

beta-427-2

beta-427-2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Sep 17:11

🧪 LeanType 4.2.7 Beta (Build 2)

Note

This is the second pre-release testing build for LeanType 4.2.7. Please test and report any issues, input regressions, or feedback on GitHub Issues.


⌨️ Core Engine & Input Fixes

  • Composing Backspace Acceleration (#510): Synchronized hold-to-delete acceleration across composing words and non-composing text. Suppressed continuous word suggestion recalculations during repeated backspace events, eliminating deletion stutter and latency when holding backspace.
  • Physical Keyboard Layout Mapping (#559): Added a physical keyboard layout preference under Settings → Language & Layout with real-time hardware scan code translation (supporting QWERTY, QWERTZ, AZERTY, Dvorak, Colemak, Workman, or matching the active on-screen layout).
  • Boundary Whitespace Protection: Prevented backspacing after separators from swallowing preceding whitespace into the composing span.
  • Text Expander Fixes: Ensured numeric and non-composing shortcut expansions trigger reliably upon typing space or punctuation separators.

🎨 Honeycomb Layout & Theming

  • Dynamic Theme Action Key: Fixed the hexagonal honeycomb action key background which was stuck on static #2979FF blue. It now dynamically inherits your active theme accent and Material You wallpaper colors with proper icon contrast and borders.
  • Streamlined Honeycomb Layout: Prioritized the authentic hex_typewise layout with optimized popup keys and removed redundant layout variants.
  • Single-Entry Popup Keys Fix: Fixed popup key panel dimensions so single-entry keys are never squashed or clipped.

⚡ Animations, Haptics & UI

  • Animation Speed Slider: Added an animation speed slider to Settings → Appearance (range 0.0x to 2.0x, defaulting to 1.0x, with 0.0x as Off (Instant)).
  • Smooth Keyboard Transitions: Scaled key previews and popup panels dynamically; added smooth minimal entrance transitions for emoji palettes, clipboard history, toolbar toggles, and external suggestion chips.
  • Modernized Haptic Engine: Upgraded feedback on Android 11+ with VibrationAttributes (USAGE_TOUCH) and composition primitives (PRIMITIVE_CLICK, PRIMITIVE_TICK, PRIMITIVE_LOW_TICK) for crisp tactile feedback.

🌐 Translation Engine & Global i18n

  • In-Keyboard Translation Enhancements: Added default target language selection, source language controls, smart detection, and improved pivot model fallbacks.
  • Comprehensive Global Translations: Completed 100% of missing settings strings across 25+ languages (Greek, Hindi, Urdu, Arabic, Turkish, Portuguese, Italian, Spanish, Russian, French, German, Malayalam, Dutch, Polish, Ukrainian, Czech, Hungarian, Simplified Chinese, Bulgarian, Estonian, Croatian, Indonesian, Hebrew, Romanian, Belarusian, Lithuanian).

📦 Beta Build Artifacts

File Flavor Description Size
1-LeanType_4.2.7-standard-release.apk Standard Full features & online/offline AI voice 11.3 MB
2-LeanType_4.2.7-offline-release.apk Offline Fully air-gapped (zero internet permission) 10.8 MB

beta-427-1

beta-427-1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Sep 21:38

🧪 LeanType 4.2.7 Beta (Build 1)

Note

This is a pre-release testing build for LeanType 4.2.7. Please test and report any issues, input regressions, or feedback on GitHub Issues.


🛠️ Input & Stability Fixes

  • Word Replacement & Backspace Desync: Resolved cursor desync and text duplication during word replacement and rapid backspacing in RichInputConnection.
  • Backup & Restore UI Freeze: Eliminated main thread CountDownLatch blocking during backup and restore operations to prevent ANRs.
  • Mode Switch Touch Protection: Fixed PointerTracker touch state transitions so switching layouts (?123 / ABC) does not trigger accidental space or 'x' clicks upon release.
  • Settings Startup Race: Decoupled preference change listener registration from onCreate to prevent early callback race conditions.
  • Voice Status Crash Fix: Resolved a NullPointerException on null drawable during voice status display and theme color updates.

⌨️ Layout & Honeycomb Engine

  • Hexagonal Honeycomb Layout Engine: Native integration of authentic Typewise and hex QWERTY layouts (hex_typewise & hex_qwerty) with axial hit detection, twin spacebars, and vector rendering.
  • Landscape Hex Ergonomic Split: Positioned hex keys at each end of the screen with a central gap in landscape mode, preserving comfortable key sizing and natural thumb reachability.
  • Central Gap Touch Clamping: Added distance threshold clamping in HexKeyDetector to eliminate ghost touches when tapping in the central landscape gap.

🎨 Appearance & Customization

  • Popup Key Vertical Offset: Added an adjustable popup position slider (0–10 dp) in Settings → Appearance with refined preview animations.
  • Key Long-Press Mapping: Added select mode long-press mapping and refined spacebar long-press behavior.
  • Dictionary & Locale Preservations: Synchronously synchronized emoji settings during dictionary resets to avoid reload churn; preserved Catalan dictionary folder ('ca') from legacy cleanup.
  • Diagnostics & Documentation: Logged missing system glide typing library as INFO instead of WARN; added comprehensive keycodes and actions reference to FEATURES.md.

📦 Beta Build Artifacts

File Flavor Description Size
1-LeanType_4.2.7-standard-release.apk Standard Full features & online/offline AI voice 10.5 MB
2-LeanType_4.2.7-offline-release.apk Offline Fully air-gapped (zero internet permission) 10.0 MB

v4.2.6

Choose a tag to compare

@github-actions github-actions released this 21 Sep 02:03

💖 Support Our Work

As an open-source, community-funded project, we operate on a very limited budget. If LeanType helps you daily, please consider supporting us on GitHub Sponsors or Open Collective. Sharing LeanType with friends and family makes a huge difference!

🚀 What's New in v4.2.6

✨ Highlights

  • Floating Window Layout & Dead Space Resolution: Completely eliminated the persistent bottom dead space inside the floating keyboard window. By intercepting Android 15/16 window insets dispatch, dynamically disabling fitsSystemWindows on floating subviews, clamping occupied heights during measure passes, and performing a deferred re-measurement after layout transitions, the floating bubble now hugs key rows seamlessly with zero extraneous padding.
  • Flavor Consolidation (standardfull Merged into standard): Successfully finalized the flavor streamlining announced in v4.2.5. The legacy standardfull flavor has been merged directly into standard. LeanType is now officially published as two clean, focused flavors (standard and offline), both operating with zero REQUEST_INSTALL_PACKAGES permission overhead. Existing standardfull users can install the standard APK directly as an in-place upgrade.
  • TYPE_NULL & Dialer Search Field Input: Resolved an issue where input fields configured with TYPE_NULL (such as phone dialer search inputs and generic app search boxes) dropped input or caused keyboard dismissal. Explicit user show requests are now strictly respected.

🛠️ Improvements & Enhancements

  • Bluetooth Keypress Audio Interception: Fixed an issue where custom sound pack audio tracks interrupted car stereos and Bluetooth headsets by triggering AVRCP "Now Playing" playback sessions. LeanType now automatically falls back to native system UI click effects on connected Bluetooth A2DP devices, with an optional user toggle (Settings → Plugins → Keypress Audio → Play custom sounds over Bluetooth).
  • Floating Popup Keys & Preview Clamping: Corrected horizontal bounds calculation for key preview popups to prevent screen edge overflow in floating mode, and aligned popup rows strictly to parent key space coordinates.
  • Stray Navigation Bar Artifact Suppression: Fixed an edge-case where a transparent navigation bar artifact could linger during floating mode transitions.
  • Pinned Selection State Fix: Fixed an issue where the pinned text selection mode toggle in the suggestion strip did not reflect its active state properly.
  • Theme Contrast & Auto-Reload: Improved high-contrast color evaluation for toolbar key icons and enhanced automatic reloading when the system switches between dark and light themes.

📦 Choose Your Flavor

ℹ️ Flavor Streamlining Completed: As announced in v4.2.5, standardfull has been completely merged into standard. Users previously using standardfull can update directly using the standard APK with full data preservation.

Flavor Size Primary Focus AI Engine Plugins Setup Internet Release Updater
1-LeanType_4.2.6-standard-release.apk 10.5 MB Recommended Cloud AI In-app download or File import Optional (AI/plugins) ✅ View Release
2-LeanType_4.2.6-offline-release.apk 10.0 MB Offline Local LLM Plugin (8.0+) Browser download + File import 🚫 Zero Internet (No Permission) ❌ None

💡 Plugin Compatibility: All flavors support Offline Voice Dictation (Android 8.1+), Offline Translation (Android 6.0+), Offline Handwriting Recognition (Android 6.0+), Offline OCR Text Extraction (Android 5.0+), and Offline AI Proofreading (Android 8.0+, 64-bit) via modular plugins, and work 100% offline.

v4.2.5

Choose a tag to compare

@github-actions github-actions released this 19 Sep 21:05

💖 Support Our Work

As an open-source, community-funded project, we operate on a very limited budget. If LeanType helps you daily, please consider supporting us on GitHub Sponsors or Open Collective. Sharing LeanType with friends and family makes a huge difference!

🚀 What's New in v4.2.5

✨ Highlights

  • Native Floating Window Migration: Re-engineered the floating keyboard from an overlay window into native IME window architecture using TOUCHABLE_INSETS_REGION. Completely eliminated the sensitive SYSTEM_ALERT_WINDOW permission and setup wizard step, added pass-through background touch handling, bottom control bar, multi-touch tracking, and persistent mode memory.
  • Privacy Hardening & Permission Removal: Completely removed READ_CONTACTS permission and eliminated the contact dictionary. Removed REQUEST_INSTALL_PACKAGES permission from standardfull, transitioning both standard and standardfull to direct GitHub Releases viewing in preparation for the v4.2.6 flavor merger.
  • App Profiles (Compatibility Quirks Engine): Added per-app Allow Symbol Composing to keep symbols (such as underscores _) inside the active composing span instead of immediately committing them (resolving input filter rejections in apps like Tasker for %output_var), and added Force Non-Incognito to force learning/suggestions in private fields.

🛠️ Improvements & Enhancements

  • Web & Browser Text Editor Fix: Exempted web text editors (Gecko/Firefox contenteditable, Chromium) from transient TYPE_NULL focus suppression, preventing dropped characters and composing lockups.
  • Offline GGUF Translation Hardening: Hardened on-device translation output parsing, stripped <think>...</think> tags from reasoning models, and improved local model alias synchronization.
  • Atomic Dictionary Staging & Validation: Hardened dictionary downloads with atomic file staging and strict file size verification to prevent corrupted dictionary states.
  • Voice Plugin Polling & Log Optimization: Silenced repetitive getModelState logcat polling and scaled background check intervals for lower power consumption.

📦 Choose Your Flavor

⚠️ Flavor Merger Notice: Starting in v4.2.6, standardfull will be merged into standard. In preparation, both flavors now share a unified release viewing mechanism with zero REQUEST_INSTALL_PACKAGES permission overhead. Users currently using standardfull can transition directly to standard.

Flavor Size Primary Focus AI Engine Plugins Setup Internet Release Updater
1-LeanType_4.2.5-standard-release.apk 10.5 MB Recommended Cloud AI In-app download or File import Optional (AI/plugins) ✅ View Release
1-LeanType_4.2.5-standardfull-release.apk 10.5 MB Transitioning (Merging in v4.2.6) Cloud AI In-app download or File import Optional (AI/plugins) ✅ View Release
2-LeanType_4.2.5-offline-release.apk 10.0 MB Offline Local LLM Plugin (8.0+) Browser download + File import 🚫 Zero Internet (No Permission) ❌ None

💡 Plugin Compatibility: All flavors support Offline Voice Dictation (Android 8.1+), Offline Translation (Android 6.0+), Offline Handwriting Recognition (Android 6.0+), Offline OCR Text Extraction (Android 5.0+), and Offline AI Proofreading (Android 8.0+, 64-bit) via modular plugins, and work 100% offline.

v4.2.4

Choose a tag to compare

@github-actions github-actions released this 18 Sep 17:12

💖 Support Our Work

As an open-source, community-funded project, we operate on a very limited budget. If LeanType helps you daily, please consider supporting us on GitHub Sponsors or Open Collective. Sharing LeanType with friends and family makes a huge difference!

🚀 What's New in v4.2.4

✨ Highlights

  • Hardware Keyboard Overhaul: Restored suggestions, auto-correction, and dictionary prediction when typing with physical/hardware keyboards. Fixed NumLock state handling that previously bypassed text composition, resolved physical numpad keycodes, and guarded dead-key combining against invalid code points.
  • App Profiles (Compatibility Quirks Engine): Introduced offline App Profiles (AppQuirksManager) for custom per-app compatibility settings, including direct commits, auto-space overrides, and per-app auto-correction toggles (resolving glitches such as Tasker underscore input).
  • Calibrated Cursor Gestures: Refined swipe-up cursor movement and spacebar touchpad scrolling with calibrated velocity dampening, eliminating jitter, overshoot, and erratic cursor jumping.
  • Settings Overhaul & Reorganization: Separated Suggestions and Text Correction into dedicated top-level categories, introduced coordinated preset sliders with fine-tuning drawers for confidence and aggressiveness, and indexed all sub-screens and granular settings in the in-app Search Registry.

🛠️ Improvements & Enhancements

  • Voice Routing & Settings Navigation: Unified voice input routing across Offline Plugin, Online AI, System Voice, and Disabled states, and routed the system settings shortcut directly to Android's Manage On-Screen Keyboards page instead of the digital assistant picker.
  • Plugin Compatibility & Defensive Fallbacks: Added backward-compatible checks for legacy translation plugin APKs lacking v2 interfaces and handled uninstalled voice plugins gracefully without requiring package installation permissions on F-Droid builds.
  • UI Polish: Added rounded corners and ripple touch feedback to toolbar screenshot suggestions, and styled the floating gesture word preview with anti-aliased capsule pill rendering.
  • Stability & Crash Fixes: Resolved a MissingFormatArgumentException crash in MissingDictionaryDialog on non-English system locales, converted arrow drawables to vector format, eliminated requestLayout during layout passes, and muted debug logcat spam.
  • Hardware Keyboard Emoji Navigation: Added full D-Pad navigation, key event pairing, and selection support inside the emoji picker when using a physical keyboard.

📦 Choose Your Flavor

Flavor Size Primary Focus AI Engine Plugins Setup Internet Self-Updater
1-LeanType_4.2.4-standardfull-release.apk 10.5 MB Convenience (Recommended) Cloud AI In-app download or File import Optional (AI/Updates/plugins) ✅ In-App Auto Update
1-LeanType_4.2.4-standard-release.apk 10.5 MB F-Droid Cloud AI In-app download or File import Optional (AI/plugins) ❌ None
2-LeanType_4.2.4-offline-release.apk 10.0 MB Offline Local LLM Plugin (8.0+) Browser download + File import 🚫 Zero Internet (No Permission) ❌ None

💡 Plugin Compatibility: All flavors support Offline Voice Dictation (Android 8.1+), Offline Translation (Android 6.0+), Offline Handwriting Recognition (Android 6.0+), Offline OCR Text Extraction (Android 5.0+), and Offline AI Proofreading (Android 8.0+, 64-bit) via modular plugins, and work 100% offline.

v4.2.3

Choose a tag to compare

@github-actions github-actions released this 15 Sep 21:12

💖 Support Our Work

As an open-source, community-funded project, we operate on a very limited budget. If LeanType helps you daily, please consider supporting us on GitHub Sponsors or Open Collective. Sharing LeanType with friends and family makes a huge difference!

🚀 What's New in v4.2.3

✨ Highlights

  • Web & Browser Typing Stability: Resolved contenteditable word duplication, cursor jump desyncs, and stutter syllable predictions in browser input fields and web text editors.
  • Online AI Voice Input (Standard Flavor): Added optional cloud-based speech-to-text dictation supporting Groq Whisper, Gemini, and OpenAI-compatible endpoints with full RFC 2046 compliance, while maintaining strict air-gapped zero-network isolation in the offline flavor.
  • Procedural Soft Sound Packs: Added 6 new zero-latency custom sound packs to the fallback catalog, including the procedurally synthesized restoration of Soft Pudding (Synth), Muted Marshmallow, Felted Thock, Membrane Squish, Cork Tap, and Velvet Whisper.
  • Visual Shift & Caps Lock Distinction: Redesigned Shift key arrow icons with clear visual states: outlined arrow for normal unshifted, filled arrow for shifted single-character, and underlined arrow for locked Caps Lock.

🛠️ Improvements & Enhancements

  • Immediate Clipboard Suggestions: Copied text now surfaces immediately in the suggestion strip upon copy without delay or prediction conflicts.
  • Independent Action Key Corner Radius: Added a dedicated corner radius slider for the Action/Enter key in Theme Settings, allowing custom pill or rectangular styling independent of other functional keys.
  • Dynamic Theme Action Accent: Restored vibrant primary accent styling for the action key in dynamic light theme modes.
  • Auto-Show Toolbar: Added new preference to automatically display the toolbar when no word suggestions are present.
  • Settings UX Polish: Streamlined Voice Input settings with dynamic option gating and eliminated duplicate IME window insets and keyboard glitches across dialog screens.

📦 Choose Your Flavor

Flavor Primary Focus AI Engine Plugins Setup Internet Self-Updater
1-LeanType_4.2.3-standardfull-release.apk Convenience (Recommended) Cloud AI In-app download or File import Optional (AI/Updates/plugins) ✅ In-App Auto Update
1-LeanType_4.2.3-standard-release.apk F-Droid Cloud AI In-app download or File import Optional (AI/plugins) ❌ None
2-LeanType_4.2.3-offline-release.apk Offline Local LLM Plugin (8.0+) Browser download + File import 🚫 Zero Internet (No Permission) ❌ None

💡 Plugin Compatibility: All flavors support Offline Voice Dictation (Android 8.1+), Offline Translation (Android 6.0+), Offline Handwriting Recognition (Android 6.0+), Offline OCR Text Extraction (Android 5.0+), and Offline AI Proofreading (Android 8.0+, 64-bit) via modular plugins, and work 100% offline.

v4.2.2

Choose a tag to compare

@github-actions github-actions released this 09 Sep 13:08

💖 Support Our Work

As an open-source, community-funded project, we operate on a very limited budget. If LeanType helps you daily, please consider supporting us on GitHub Sponsors or Open Collective. Sharing LeanType with friends and family makes a huge difference!

🚀 What's New in v4.2.2

✨ Highlights

  • Auto-Correction Engine Restoration: Fixed critical regression where words from the personal user dictionary were erroneously promoted with maximum scores and whitelist flags, causing everyday words in typed sentences to be randomly replaced with personal dictionary entries (e.g. replacing "how" with "huewail").
  • Accurate Contextual Gating: Correctly constrained contextual bigram gating to next-word prediction candidates, preventing main dictionary bigram checks from improperly dampening user history during active word typing.
  • Suggestion Balance Preservation: Restored standard spatial and edit-distance weighting for user dictionary candidates, ensuring user words respect user-selected suggestion balance levels without hijacking typed text.

🐛 Bug Fixes & Refinements

  • Personal Dictionary Whitelist Fix: Eliminated inappropriate KIND_WHITELIST promotion on personal dictionary unigram candidates in DictionaryFacilitatorImpl.
  • Typing Score Alignment: Properly isolated normalized JNI typing score ranges from empty-word next-word probability thresholds.
  • Test Suite Integrity: Full pass across all 206 unit tests in core engine, dictionary, and suggest modules.

📦 Choose Your Flavor

Flavor Primary Focus AI Engine Plugins Setup Internet Self-Updater
1-LeanType_4.2.2-standardfull-release.apk Convenience (Recommended) Cloud AI In-app download or File import Optional (AI/Updates/plugins) ✅ In-App Auto Update
1-LeanType_4.2.2-standard-release.apk F-Droid Cloud AI In-app download or File import Optional (AI/plugins) ❌ None
2-LeanType_4.2.2-offline-release.apk Offline Local LLM Plugin (8.0+) Browser download + File import 🚫 Zero Internet (No Permission) ❌ None

💡 Plugin Compatibility: All flavors support Offline Voice Dictation (Android 8.1+), Offline Translation (Android 6.0+), Offline Handwriting Recognition (Android 6.0+), Offline OCR Text Extraction (Android 5.0+), and Offline AI Proofreading (Android 8.0+, 64-bit) via modular plugins, and work 100% offline.

v4.2.1

Choose a tag to compare

@github-actions github-actions released this 08 Sep 22:56

💖 Support Our Work

As an open-source, community-funded project, we operate on a very limited budget. If LeanType helps you daily, please consider supporting us on GitHub Sponsors or Open Collective. Sharing LeanType with friends and family makes a huge difference!

🚀 What's New in v4.2.1

✨ Highlights

  • 100% Kotlin Migration: Complete migration of the entire Android application layer from Java to idiomatic Kotlin. 0 Java files remain across the codebase, greatly improving type safety and modern language interoperability.
  • Key & Functional Corner Radius Customization: Added independent user-configurable corner radius sliders for normal and functional keys in Appearance settings when key borders are active, with full theme-default preservation.
  • Suggestion Engine Intelligence: Enhanced word ranking with user dictionary authority, smart contextual bigram gating to prevent unigram overrides, and instant session typo eviction on backspace.
  • Fast OCR Scanning: Defaulted offline OCR recognition script to Latin for significantly faster single-language scanning, with reordered script picker and improved camera lifecycle.
  • Null-Safety & Interop Hardening: Eliminated over 425 force-unwrap (!!) assertions across input logic, suggestions, layout, and settings. Stripped 920+ obsolete @JvmField and @JvmStatic interop annotations.

🐛 Bug Fixes & Refinements

  • Selection Deletion & Auto-Caps Restoration: Fixed input connection text cache desynchronization when deleting text selections, and restored correct sentence-boundary auto-capitalization after backspacing to punctuation (#448).
  • Unwanted Mid-Sentence Auto-Caps: Suppressed accidental auto-capitalization of intentional lowercase words mid-sentence (e.g., in, ok, id) while keeping suggestion strip options active (#482).
  • Emoji Surrogate Safety: Guarded cursor navigation and backspace deletion against splitting multi-byte emoji surrogate pairs (#423).
  • OCR Viewfinder Lifecycle & Back Press: Cleanly dismissed and reset camera viewfinder layout dimensions on window hide, and enabled back key support to exit OCR scanning into the keyboard (#487).
  • Foldable Screen Layout: Resolved key layout sizing on folded outer/cover screens of foldable devices by prioritizing available display width over smallest screen width (#400).
  • Hardware Keyboard Support: Fixed crash on Ctrl+Space / Shift+Space language switching and guarded code point conversions for external physical keyboards (#444).
  • Clipboard Toolbar Sync: Ensured the toolbar clipboard suggestion chip refreshes immediately after copying text (#493).
  • AI Rate Limiting & Overload Handling: Added clear user-friendly error messages for HTTP 429 (quota limit) and HTTP 503 (server overloaded) during cloud AI proofreading (#492).
  • Android <= 8.1 Voice Input Compatibility: Guarded requestShowSelf API calls with an API 28 check to eliminate IllegalAccessError crashes on Android Oreo and older.
  • Plugins Hub Polish: Refined OCR plugin status summary in the Plugins settings hub to display clean Active/Inactive state.
  • Offline AI Settings Scope: Scoped the offline AI settings configuration strictly to the offline flavor and refined main AI preference screens.
  • Test Suite Integrity: Verified full pass across all 206 unit tests in core engine, dictionary, and suggest modules.
  • Documentation & Links: Fixed legacy repository URLs across community links and updated repository metadata.

📦 Choose Your Flavor

Flavor Primary Focus AI Engine Plugins Setup Internet Self-Updater
1-LeanType_4.2.1-standardfull-release.apk Convenience (Recommended) Cloud AI In-app download or File import Optional (AI/Updates/plugins) ✅ In-App Auto Update
1-LeanType_4.2.1-standard-release.apk F-Droid Cloud AI In-app download or File import Optional (AI/plugins) ❌ None
2-LeanType_4.2.1-offline-release.apk Offline Local LLM Plugin (8.0+) Browser download + File import 🚫 Zero Internet (No Permission) ❌ None

💡 Plugin Compatibility: All flavors support Offline Voice Dictation (Android 8.1+), Offline Translation (Android 6.0+), Offline Handwriting Recognition (Android 6.0+), Offline OCR Text Extraction (Android 5.0+), and Offline AI Proofreading (Android 8.0+, 64-bit) via modular plugins, and work 100% offline.

v4.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 05:09

💖 Support Our Work

As an open-source, community-funded project, we operate on a very limited budget. If LeanType helps you daily, please consider supporting us on GitHub Sponsors or Open Collective. Sharing LeanType with friends and family makes a huge difference!

🚀 What's New in v4.2.0

✨ Highlights

  • Offline Camera OCR & Screenshot Extraction: In-keyboard live camera viewfinder with top flash control and gallery picker, plus 1-tap screenshot text extraction. Includes advanced formatting (casing, join styles, punctuation, dehyphenation), auto-copy, and auto-insert.
  • Real-Time Inline Math Suggestions: Live calculation on typing = (e.g. 25*4=, 500-15%=) with immediate suggestion strip answers and 1-tap replacement.
  • Sound Packs Suite & Plugins Hub: Dedicated Sound Settings with 12+ built-in presets, remote GitHub catalog downloads, physical modeling packs, unbundled assets for a lighter APK footprint, and custom .zip imports.

🐛 Bug Fixes & Refinements

  • OCR Plugin Lifecycle: Dynamic ClassLoader invalidation and timestamp validation to prevent native library lookup errors during plugin reload.
  • Typing & Auto-Capitalization: Improved multiline auto-capitalization in chat apps, restored fast double-tap on Shift for Caps Lock, suppressed emojis during gesture typing, added case-matching autocorrect safeguards, and supported immediate text expansion when backspacing into shortcuts.
  • UI & Toolbar Polish: Swipe-down gesture anywhere on the toolbar to close keyboard, centered micro-pill indicators, and improved dynamic contrast on Material You light themes.
  • Audio, Haptics & AI Safeguards: Added haptic feedback on key repeat for Backspace/arrow keys, handled missing microphone permissions gracefully, added toast notifications when AI output is truncated, and auto-cleaned legacy sound packs.

📦 Choose Your Flavor

Flavor Primary Focus AI Engine Plugins Setup Internet Self-Updater
1-LeanType_4.2.0-standardfull-release.apk Convenience (Recommended) Cloud AI In-app download or File import Optional (AI/Updates/plugins) ✅ In-App Auto Update
1-LeanType_4.2.0-standard-release.apk F-Droid Cloud AI In-app download or File import Optional (AI/plugins) ❌ None
2-LeanType_4.2.0-offline-release.apk Offline Local LLM Plugin (8.0+) Browser download + File import 🚫 Zero Internet (No Permission) ❌ None

💡 Plugin Compatibility: All flavors support Offline Voice Dictation (Android 5.0+), Offline Translation (Android 7.0+), Offline Handwriting Recognition (Android 8.0+), Offline OCR Text Extraction (Android 5.0+), and Offline AI Proofreading (Android 8.0+) via modular plugins, and work 100% offline.