periodic_alarm 0.0.41 copy "periodic_alarm: ^0.0.41" to clipboard
periodic_alarm: ^0.0.41 copied to clipboard

PlatformAndroid

A Flutter periodic and one shot alarm manager package for Android.

3
likes
110/ 140
pub points
59%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):

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: GPL-3.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

13 out of 86 API elements (15.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: alarm_notification, alarm_notification.AlarmNotification, alarm_notification.AlarmNotification.instance, alarm_notification.AlarmNotification.localNotif, alarm_notification.AlarmNotification.nextInstanceOfTime.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:periodic_alarm/periodic_alarm.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

Because:

  • package:periodic_alarm/periodic_alarm.dart that declares support for platforms: Android.

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:periodic_alarm/periodic_alarm.dart that imports:
  • package:periodic_alarm/src/android_alarm.dart that imports:
  • package:periodic_alarm/services/alarm_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 imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
partial
Pass static analysis
40 / 50trigger folding of the section

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

lib/periodic_alarm.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/services/alarm_storage.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
10 / 20trigger 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 ^2.1.1 2.1.4 4.0.2
audio_session ^0.1.16 0.1.19 0.1.19
control_volume ^0.0.2 0.0.2 0.0.2
flutter flutter 0.0.0 0.0.0
flutter_local_notifications ^14.1.1 14.1.5 17.1.0
intl ^0.17.0 0.17.0 0.19.0
json_annotation ^4.8.0 4.9.0 4.9.0
just_audio ^0.9.32 0.9.37 0.9.37
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
shared_preferences ^2.0.18 2.2.3 2.2.3
timezone ^0.9.1 0.9.3 0.9.3
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_local_notifications_linux - 4.0.0+1 4.0.0+1
flutter_local_notifications_platform_interface - 7.1.0 7.1.0
flutter_web_plugins - 0.0.0 0.0.0
just_audio_platform_interface - 4.2.2 4.2.2
just_audio_web - 0.4.9 0.4.9
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
rxdart - 0.27.7 0.27.7
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
sprintf - 7.0.0 7.0.0
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `^2.1.1` on android_alarm_manager_plus does not support the stable version `3.0.0`.

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

The constraint `^14.1.1` on flutter_local_notifications does not support the stable version `15.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.