Skip to content

v0.1.1

Choose a tag to compare

@pratikPSB pratikPSB released this 19 May 14:06
· 6 commits to main since this release
  • Introduced production-oriented alarm_plus API:

    • initialize
    • triggerNow, schedule, cancel, stop, snooze, getAll
    • delete
    • events, getLaunchAlarm, getPermissionStatus, requestPermissions
  • Added flutter_local_notifications-style notification response callbacks:

    • foreground callback via onDidReceiveNotificationResponse
    • background callback isolate via
      onDidReceiveBackgroundNotificationResponse with @pragma('vm:entry-point')
  • Added notification-response data model (NotificationResponse,
    NotificationResponseType) and pending response delivery on app launch.

  • Added AlarmModel, AlarmEvent, and AlarmPermissionStatus model layer.

  • Implemented Android reliability path:

    • AlarmManager.setExactAndAllowWhileIdle
    • trigger receiver + action receiver + boot receiver
    • foreground ringing service with wake lock + looping audio
    • full-screen notification intent path
    • Room persistence and reboot/package/time-change rescheduling
  • Implemented iOS best-effort notification path:

    • UNUserNotificationCenter scheduling
    • stop/snooze notification actions
    • persisted local alarm state + event emission
  • Added example app covering schedule/trigger/snooze/stop/cancel/list/events/permissions.

  • Added URL-based image support for notifications:

    • AlarmNotificationSettings.largeIconUrl and bigPictureUrl fields
    • Android: Coil library for efficient image loading from URLs
    • iOS: Synchronous download and caching for notification attachments
    • Fallback to asset-based images if URL loading fails
  • Updated example app with "Schedule with URL" button demonstrating URL images