is_lock_screen2 2.0.4 copy "is_lock_screen2: ^2.0.4" to clipboard
is_lock_screen2: ^2.0.4 copied to clipboard

Detects if device is in lock screen. Useful for determining whether app entered background due to locking screen or leaving app.

2.0.4 - 2025-09-17 #

  • Updated the .gitignore file, added Android build-related directories, and the pubspec.lock file.
  • Updated compileSdkVersion from 34 to 35, Java version from 1.8 to 11, and Kotlin version from jdk7 to jdk8 in build.gradle.
  • Updated example/android/build.gradle to remove jcenter() and update Kotlin version to 2.1.0.
  • Added pluginManagement to settings.gradle to configure the Flutter SDK path.
  • Added plugin declarations to app/build.gradle and updated compileSdkVersion and targetSdkVersion to 35.
  • Updated dependency versions in pubspec.lock to ensure compatibility with the latest Dart and Flutter SDKs.
  • Deleted the MainActivity.kt file to simplify the project structure.

2.0.3 - 2025-04-08 #

  • removing name space from AndroidManifest.xml and moving it to build.gradle
  • upgrading gradle version to 8.4
  • removing the registerWith, it's no longer needed in the new FlutterPlugin

2.0.2 - 2025-02-24 #

  • updating the min and the target sdk and the kotlin version

2.0.1 2023-7-23 #

  • Update Android Gradle

2.0.0 - 2021-04-08 #

  • Support null safety

  • Clean up unused code and debug prints in iOS native part

  • Update and and clean up example code

1.0.0 - 2020-07-16 #

  • Initial release
9
likes
150
points
3k
downloads

Publisher

unverified uploader

Weekly Downloads

Detects if device is in lock screen. Useful for determining whether app entered background due to locking screen or leaving app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on is_lock_screen2

Packages that implement is_lock_screen2