Skip to main content

flag_secure 2.1.0 copy "flag_secure: ^2.1.0" to clipboard
flag_secure: ^2.1.0 copied to clipboard

PlatformAndroid

A Flutter plugin to manage Android's FLAG_SECURE at runtime

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.1.0 - 2026-11-15 #

Changed #

  • Migrated to Built-in Kotlin: the plugin no longer applies the Kotlin Gradle Plugin.
  • Raised the minimum versions to Flutter 3.44 and Dart 3.12.
  • Renamed the Android package from com.maelchiotti.flag_secure.flag_secure to com.maelchiotti.flag_secure.

Fixed #

  • Apply FLAG_SECURE again to a new activity attached to the engine (for example after a configuration change), as set or unset last.

2.0.2 - 2024-12-15 #

Changed #

2.0.1 - 2024-10-13 #

Changed #

  • Loosen SDK requirement.

Fixed #

  • Missing scroll view in the example.

2.0.0 - 2024-07-17 #

BREAKING CHANGES #

  • Rename all methods to simplify them:
    • isFlagSecureEnabled → isSet
    • enableFlagSecure() → set()
    • disableFlagSecure() → unset()

1.0.2 - 2024-07-17 #

Fixed #

  • Fix some documentation issues.

1.0.1 - 2024-07-17 #

Fixed #

  • Fix some documentation issues.

1.0.0 - 2024-07-17 #

Initial release.

3
likes
160
points
3.91k
downloads

Documentation

API reference

Publisher

verified publishermaelchiotti.dev

Weekly Downloads

A Flutter plugin to manage Android's FLAG_SECURE at runtime

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface, universal_io

More

Packages that depend on flag_secure

Packages that implement flag_secure