🌸 Petal Browser v3.6 Release
Petal Browser v3.6 brings an architectural upgrade to Mozilla's Android Components GeckoEngine and BrowserStore, hardening tab lifecycle management, process recovery, and session restoration, alongside critical privacy, sync, and media fixes.
🚀 What's New & Key Highlights
🦎 Mozilla Android Components GeckoEngine & BrowserStore Migration
- Architectural Shift: Upgraded from raw
GeckoViewsession management to Mozilla Android Components (v155.0.1)GeckoEngine,BrowserStore, andSessionStorage. - Reactive State Management: Tab addition, removal, active selection, and navigation states (
canGoBack,canGoForward, URL, title) are now tracked and dispatched throughBrowserStorewithEngineMiddleware. - Thread-Safe Singletons: Centralized lifecycle operations in
PetalEngineStorewith seamless fallback and coexistence for legacy tab structures (AlbumController). - Session Restoration & Process Recovery: Hardened background session rehydration across Android low-memory kills and process restarts. Restored tabs are pre-warmed and tracked in
BrowserStorewithout unnecessary page loads for home surfaces. - Custom Tabs Integration: Upgraded
PetalCustomTabsServiceandPetalCustomTabActivitywithGeckoEnginewarmup routines and custom tab session state.
🛡️ Privacy, Shield & Incognito Improvements
- Incognito Search Query Isolation: Completely prevented ephemeral private search queries from leaking into persistent omnibox suggestions and history records.
- Persistent Incognito Notification: Ensured the private browsing notification stays active and foregrounded until all incognito tabs are explicitly closed.
- Petal Privacy Shield HUD Dynamic Theming: Added full Material 3 Expressive dynamic color support and auto-reloading to the privacy shield panel.
🔄 Firefox Sync & Media Fixes
- MediaInterceptor Crash Fix: Eliminated the crash in media playback interception during rapid video streaming state transitions.
- Sync Actions Layout: Resolved squished buttons and responsive layout constraints on the Firefox Sync action sheet.
- Firefox Account Auto-Sync: Improved OAuth token exchange, sync trigger reliability, and history restoration bridge.
🐛 Bug Fixes & Stability
- Fixed address bar and bottom navigation bar padding calculations on scroll.
- Prevented blank screen transitions when navigating back to the homepage.
- Fixed pull-to-refresh clipping by the top/bottom omnibox.
- Safely handled external app intent schemes (
intent://,market://,magnet:) with clean fallbacks. - Corrected Java-Kotlin interoperability signatures in
NinjaWebViewClient.syncNow().
Full Changelog: v3.5...v3.6