Skip to content

LockView v1.1.0 - Touch-Safe Protection with System Bars Auto-Hide

Choose a tag to compare

@zac15987 zac15987 released this 07 Aug 08:06
· 32 commits to main since this release

🚀 New Features

  • Complete Touch-Safe Protection with Immersive Lock Mode
    • System bars (status bar and navigation bar) now automatically hide when an image is locked, providing complete protection from accidental touches on system controls
    • Uses modern WindowCompat API with immersive sticky mode for optimal user experience
    • System bars automatically reappear when device is unlocked or image is manually unlocked
    • Perfect for secure viewing without worrying about unintended interactions with navigation buttons or status bar notifications

🔧 Technical Improvements

  • Modern System UI Integration

    • Implemented WindowCompat and WindowInsetsControllerCompat for better Android version compatibility (API 24-36)
    • Added WindowCompat.setDecorFitsSystemWindows(window, false) for proper edge-to-edge display
    • Replaced deprecated system UI visibility flags with modern Window Insets APIs
  • Enhanced State Management

    • Fixed StateFlow emission issues in ImageViewerViewModel using proper update() pattern
    • Replaced DisposableEffect with LaunchedEffect for better state reactivity
    • Added areSystemBarsHidden property to ImageViewerState for reactive system bars control
    • Improved state persistence across configuration changes
  • Better Context Handling

    • Added safe Activity context resolution helper function for Composables
    • Improved error handling for system bars control operations

📦 Versioning

  • Bumped version from 1.0.1 to 1.1.0

This major feature update significantly enhances the lock functionality by providing true immersive protection, ensuring users can view locked images without any risk of accidental system interactions.


What's Changed

  • release: prepare v1.1.0 – merge dev into main by @zac15987 in #2

Full Changelog: v1.0.1...v1.1.0