alarm 1.2.2 copy "alarm: ^1.2.2" to clipboard
alarm: ^1.2.2 copied to clipboard

A simple Flutter alarm manager plugin for both iOS and Android.

264
likes
150/ 160
pub points
96%
popularity

We analyzed this package 41 hours ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

43 out of 66 API elements (65.2 %) have documentation comments.

Some symbols that are missing documentation: alarm, alarm.Alarm, alarm.Alarm.Alarm, alarm.AlarmException, alarm.AlarmException.AlarmException.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:alarm/alarm.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:alarm/alarm.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:alarm/alarm.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:alarm/alarm.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:alarm/alarm.dart that imports:
  • package:alarm/service/notification.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:alarm/alarm.dart that imports:
  • package:alarm/service/notification.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that declares support for platforms: Linux.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:alarm/alarm.dart that imports:
  • package:alarm/src/android_alarm.dart that imports:
  • package:vibration/vibration.dart that imports:
  • package:vibration_platform_interface/vibration_platform_interface.dart that imports:
  • package:vibration_platform_interface/src/method_channel_vibration.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/alarm/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
android_alarm_manager_plus ^3.0.1 3.0.4 4.0.4
flutter flutter 0.0.0 0.0.0
flutter_fgbg ^0.3.0 0.3.0 0.6.0
flutter_local_notifications ^15.1.0 15.1.3 18.0.1
just_audio ^0.9.34 0.9.42 0.9.42
plugin_platform_interface ^2.1.4 2.1.8 2.1.8
shared_preferences ^2.1.2 2.3.3 2.3.3
timezone ^0.9.2 0.9.4 0.10.0
vibration ^1.8.1 1.9.0 2.0.1
volume_controller ^2.0.7 2.0.8 2.0.8
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
audio_session - 0.1.21 0.1.21
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
dbus - 0.7.10 0.7.10
device_info_plus - 11.1.1 11.1.1
device_info_plus_platform_interface - 7.0.1 7.0.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_local_notifications_linux - 4.0.1 5.0.0
flutter_local_notifications_platform_interface - 7.2.0 8.0.0
flutter_web_plugins - 0.0.0 0.0.0
just_audio_platform_interface - 4.3.0 4.3.0
just_audio_web - 0.4.13 0.4.13
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
vibration_platform_interface - 0.0.2 0.0.2
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
win32_registry - 1.1.5 2.0.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^3.0.1` on android_alarm_manager_plus does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions android_alarm_manager_plus to update the constraint.

The constraint `^0.3.0` on flutter_fgbg does not support the stable version `0.4.0`.

Try running dart pub upgrade --major-versions flutter_fgbg to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.