flutter_lockscreen_alert 1.0.3 copy "flutter_lockscreen_alert: ^1.0.3" to clipboard
flutter_lockscreen_alert: ^1.0.3 copied to clipboard

Flutter plugin to show critical alert UI on the device lock screen using Android full-screen intents. Ideal for incoming calls, bookings, or time-sensitive alerts that must be visible and interactive [...]

1.0.3 #

  • Android: Cancel the notification in LockscreenAlertActivity.onStart() so the user sees only the full-screen booking UI and not a notification tile when the lock screen wakes.
  • Android: Use NotificationManager.IMPORTANCE_MAX for the alert channel so the full-screen intent fires immediately (screen wake, activity launch).
  • Android: Add FLAG_ACTIVITY_SHOW_WHEN_LOCKED and FLAG_ACTIVITY_TURN_SCREEN_ON to the full-screen intent (API 27+) so the screen wakes and the activity shows over the lock screen without requiring a tap on a notification.

1.0.2 #

  • Android: Fix resource linking by removing windowShowWhenLocked and windowTurnScreenOn from theme XML entirely; the Activity already sets these programmatically in onCreate() (API 27+). Fixes "style attribute not found" when merging resources.
  • Android: Fix Java compilation: provideFlutterEngine(Context) is now public to match the Flutter embedding Host interface.

1.0.1 #

  • Android: Fix resource linking error when app minSdkVersion is below 27. Moved windowShowWhenLocked and windowTurnScreenOn into values-v27/styles.xml so the base theme does not reference API-27-only attributes. Lock-screen behaviour unchanged on API 27+.

1.0.0 #

  • Initial release.
  • Android: full-screen intent notification and lock-screen Activity with Flutter UI.
  • Dart API: show, dismiss, getPayload, notifyDismissed, notifyAccepted, onAction, isSupported.
  • iOS: not implemented.
2
likes
0
points
63
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin to show critical alert UI on the device lock screen using Android full-screen intents. Ideal for incoming calls, bookings, or time-sensitive alerts that must be visible and interactive when the screen is locked.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_lockscreen_alert

Packages that implement flutter_lockscreen_alert