PackageTrack
Sign in Get early access

android_alarm_manager

Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

2.0.2 flutter/plugins

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Release timing varies

gaps range from 8 days to 4 months

Nearly every release is documented

notes for 42 of 42 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

43 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

43 releases · Dec 2017 to May 2021
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 43
  1. 2.0.2 26 May 2021
    Release notes
    • Update README to point to Plus Plugins version.
    Open source →
  2. 2.0.1 25 May 2021
    Release notes
    • Migrate maven repository from jcenter to mavenCentral.
    Open source →
  3. 2.0.0 23 Feb 2021
    Release notes
    • Migrate to null safety.
    Open source →
  4. 2.0.0-nullsafety 12 Feb 2021 pre-release

    Nothing published for this version

  5. 0.4.5 02 Dec 2019
    Release notes
    • Add support for Flutter Android embedding V2
    Open source →
  6. 0.4.5+1 05 Dec 2019
    Release notes
    • Loosen Flutter version restriction to 1.9.1. NOTE: plugin registration for the background isolate will not work correctly for applications using the V2 Flutter Android embedding for Flutter versions lower than 1.12.
    Open source →
  7. 0.4.5+2 10 Dec 2019
    Release notes
    • Remove the deprecated author: field from pubspec.yaml
    • Migrate the plugin to the pubspec platforms manifest.
    • Require Flutter SDK 1.10.0 or greater.
    Open source →
  8. 0.4.5+3 08 Jan 2020
    Release notes
    • Fixed issue where callback lookup would fail while running in the background.
    Open source →
  9. 0.4.5+4 20 Feb 2020
    Release notes
    • Make the pedantic dev_dependency explicit.
    Open source →
  10. 0.4.5+5 07 Mar 2020
    Release notes
    • Added an Espresso test.
    Open source →
  11. 0.4.5+8 27 Mar 2020
    Release notes
    • Remove MainActivity references in android example app and tests.
    Open source →
  12. 0.4.5+9 21 Apr 2020
    Release notes
    • Fix CocoaPods podspec lint warnings.
    Open source →
  13. 0.4.5+10 06 May 2020
    Release notes
    • Declare API stability and compatibility with 1.0.0 (more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).
    Open source →
  14. 0.4.5+11 11 May 2020
    Release notes
    • Update lower bound of dart dependency to 2.1.0.
    Open source →
  15. 0.4.5+12 14 Sep 2020
    Release notes
    • Update package:e2e reference to use the local version in the flutter/plugins repository.
    Open source →
  16. 0.4.5+13 14 Sep 2020
    Release notes
    • Android Code Inspection and Clean up.
    Open source →
  17. 0.4.5+14 23 Sep 2020
    Release notes
    • Keep handling deprecated Android v1 classes for backward compatibility.
    Open source →
  18. 0.4.5+15 14 Oct 2020
    Release notes
    • Update android compileSdkVersion to 29.
    Open source →
  19. 0.4.5+17 03 Nov 2020
    Release notes
    • Update Dart SDK constraint in example.
    Open source →
  20. 0.4.5+20 08 Jan 2021
    Release notes
    • Update the example app: remove the deprecated RaisedButton and FlatButton widgets.
    Open source →
  21. 0.4.4 26 Aug 2019
    Release notes
    • Add id to callback if it is of type Function(int)
    Open source →
  22. 0.4.4+2 25 Nov 2019
    Release notes
    • Remove AndroidX warning.
    Open source →
  23. 0.4.4+3 26 Nov 2019
    Release notes
    • Add unit tests and DartDocs.
    Open source →
  24. 0.4.3 12 Aug 2019
    Release notes
    • Added oneShotAt method to run callback at a given DateTime time.
    Open source →
  25. 0.4.1 05 Feb 2019
    Release notes
    • Added support for setting alarms which persist across reboots.
      • Both AndroidAlarmManager.oneShot and AndroidAlarmManager.periodic have an optional rescheduleOnReboot parameter which specifies whether the new alarm should be rescheduled to run after a reboot (default: false). If set to false, the alarm will not survive a device reboot.

      • Requires AndroidManifest.xml to be updated to include the following entries:

        <!--Within the application tag body-->
        <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
        
        <!--Within the manifest tag body-->
        <receiver
            android:name="io.flutter.plugins.androidalarmmanager.RebootBroadcastReceiver"
            android:enabled="false">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"></action>
            </intent-filter>
        </receiver>
        
        
    Open source →
  26. 0.4.1+1 08 Feb 2019
    Release notes
    • Log a more detailed warning at build time about the previous AndroidX migration.
    Open source →
  27. 0.4.1+2 14 Feb 2019
    Release notes
    • Include a missing API dependency.
    Open source →
  28. 0.4.1+3 21 Feb 2019
    Release notes
    • Update README.md to include instructions for setting the WAKE_LOCK permission.
    • Updated example application to use the WAKE_LOCK permission.
    Open source →
  29. 0.4.1+4 22 Mar 2019
    Release notes
    • Updated example to remove dependency on Firebase.
    Open source →
  30. 0.4.1+5 26 Mar 2019
    Release notes
    • Update AlarmService to throw a PluginRegistrantException if AlarmService.setPluginRegistrant has not been called to set a PluginRegistrantCallback. This improves the error message seen when the AlarmService.setPluginRegistrant call is omitted.
    Open source →
  31. 0.4.1+6 30 Mar 2019
    Release notes
    • Bump the minimum Flutter version to 1.2.0.
    • Add template type parameter to invokeMethod calls.
    Open source →
  32. 0.4.1+7 15 Jul 2019
    Release notes
    • Fix possible crash on Android devices with APIs below 19.
    Open source →
  33. 0.4.1+8 22 Jul 2019
    Release notes
    • Remove dependency on google-services in the Android example.
    Open source →
  34. 0.4.0 29 Jan 2019
    Release notes
    • Breaking change. Migrated the underlying AlarmService to utilize a BroadcastReceiver with a JobIntentService instead of a Service to handle processing of alarms. This requires AndroidManifest.xml to be updated to include the following entries:

            <service
                android:name="io.flutter.plugins.androidalarmmanager.AlarmService"
                android:permission="android.permission.BIND_JOB_SERVICE"
                android:exported="false"/>
            <receiver
                android:name="io.flutter.plugins.androidalarmmanager.AlarmBroadcastReceiver"
                android:exported="false"/>
      
    • Fixed issue where background service was not starting due to background execution restrictions on Android 8+ (see issue #26846).

    • Fixed issue where alarm events were ignored when the background isolate was still initializing. Alarm events are now queued if the background isolate has not completed initializing and are processed once initialization is complete.

    Open source →
  35. 0.3.0 25 Jan 2019
    Release notes
    • Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
    Open source →
  36. 0.2.3 26 Dec 2018
    Release notes
    • Move firebase_auth from a dependency to a dev_dependency.
    Open source →
  37. 0.2.1 21 Aug 2018
    Release notes
    • Update dependencies for example to point to published versions of firebase_auth and google_sign_in.
    • Add missing dependency on firebase_auth.
    Open source →
  38. 0.2.0 15 Aug 2018
    Release notes
    • Breaking change. A new isolate is always spawned for the background service instead of trying to share an existing isolate owned by the application.
    • Breaking change. Removed AlarmService.getSharedFlutterView.
    Open source →
  39. 0.1.1 01 Jun 2018
    Release notes
    • Updated Gradle tooling to match Android Studio 3.1.2.
    Open source →
  40. 0.1.0 09 Mar 2018
    Release notes
    • Breaking change. Set SDK constraints to match the Flutter beta release.
    Open source →
  41. 0.0.5 17 Jan 2018
    Release notes
    • Simplified and upgraded Android project template to Android SDK 27.
    • Moved Android package to io.flutter.plugins.
    Open source →
  42. 0.0.4 20 Dec 2017
    Release notes
    • Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
    Open source →
  43. 0.0.2 03 Dec 2017
    Release notes
    • Add FLT prefix to iOS types.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive