permission_policy 2.0.6 copy "permission_policy: ^2.0.6" to clipboard
permission_policy: ^2.0.6 copied to clipboard

Permission policy helps you manage permissions in your Flutter application.

18
likes
160/ 160
pub points
373
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/nylo-core/permission-policy/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

24 out of 47 API elements (51.1 %) have documentation comments.

Some symbols that are missing documentation: permission_policy, permission_view, permission_view.PermissionView.PermissionView.new, permission_view.PermissionView.child, permission_view.PermissionView.loading.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/widgets/user_permissions_widget.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/widgets/ny_stateful_widget.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:nylo_support/exceptions/validation_exception.dart that imports:
  • package:nylo_support/validation/rules.dart that imports:
  • package:nylo_support/helpers/extensions.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:app_badge_plus/app_badge_plus.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/widgets/user_permissions_widget.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/widgets/ny_stateful_widget.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:nylo_support/exceptions/validation_exception.dart that imports:
  • package:nylo_support/validation/rules.dart that imports:
  • package:nylo_support/helpers/extensions.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:app_badge_plus/app_badge_plus.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/widgets/user_permissions_widget.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/widgets/ny_stateful_widget.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:nylo_support/exceptions/validation_exception.dart that imports:
  • package:nylo_support/validation/rules.dart that imports:
  • package:nylo_support/helpers/extensions.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/networking/ny_api_service.dart that imports:
  • package:nylo_support/networking/dio_api_service.dart that imports:
  • package:nylo_support/helpers/ny_cache.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/widgets/user_permissions_widget.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/widgets/ny_stateful_widget.dart that imports:
  • package:nylo_support/nylo.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_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/widgets/user_permissions_widget.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/widgets/ny_stateful_widget.dart that imports:
  • package:nylo_support/nylo.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_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/widgets/user_permissions_widget.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/widgets/ny_stateful_widget.dart that imports:
  • package:nylo_support/nylo.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_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:permission_policy/permission_policy.dart that imports:
  • package:permission_policy/widgets/user_permissions_widget.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/widgets/ny_stateful_widget.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:nylo_support/exceptions/validation_exception.dart that imports:
  • package:nylo_support/validation/rules.dart that imports:
  • package:nylo_support/helpers/extensions.dart that imports:
  • package:nylo_support/helpers/ny_logger.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/networking/ny_api_service.dart that imports:
  • package:nylo_support/networking/dio_api_service.dart that imports:
  • package:nylo_support/helpers/ny_cache.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
nylo_support ^6.19.3 6.27.0 6.27.0
Transitive dependencies
Package Constraint Compatible Latest Notes
animate_do - 4.2.0 4.2.0
app_badge_plus - 1.2.1 1.2.1
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
base58check - 2.0.0 2.0.0
bech32 - 0.2.2 0.2.2
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
date_field - 6.0.3+1 6.0.3+1
dbus - 0.7.11 0.7.11
dio - 5.8.0+1 5.8.0+1
dio_web_adapter - 2.1.1 2.1.1
equatable - 2.0.7 2.0.7
error_stack - 1.10.3 1.10.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_dotenv - 5.2.1 5.2.1
flutter_local_notifications - 19.1.0 19.1.0
flutter_local_notifications_linux - 6.0.0 6.0.0
flutter_local_notifications_platform_interface - 9.0.0 9.0.0
flutter_local_notifications_windows - 1.0.0 1.0.0
flutter_multi_formatter - 2.13.7 2.13.7
flutter_secure_storage - 9.2.4 9.2.4
flutter_secure_storage_linux - 1.2.2 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
flutter_staggered_grid_view - 0.7.0 0.7.0
flutter_styled_toast - 2.2.1 2.2.1
flutter_timezone - 4.1.0 4.1.0
get_time_ago - 2.3.0 2.3.0
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
intl - 0.19.0 0.20.2
js - 0.6.7 0.7.2 Discontinued
mask_text_input_formatter - 2.9.0 2.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
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.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pretty_dio_logger - 1.4.0 1.4.0
pull_to_refresh_flutter3 - 2.0.2 2.0.2
recase - 4.1.0 4.1.0
rxdart - 0.28.0 0.28.0
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
skeletonizer - 1.4.3 1.4.3
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
theme_provider - 0.6.0 0.6.0
timezone - 0.10.0 0.10.0
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
validated - 2.0.0 2.0.0
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
18
likes
160
points
373
downloads
screenshot

Publisher

verified publishernylo.dev

Weekly Downloads

Permission policy helps you manage permissions in your Flutter application.

Homepage
Repository (GitHub)
View/report issues

Topics

#roles #permissions #permissions-policy

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, nylo_support

More

Packages that depend on permission_policy