gt_permission 1.0.0
gt_permission: ^1.0.0 copied to clipboard
A comprehensive Flutter permission handler utility with singleton pattern, platform-specific version handling, error management, and user-friendly result objects for all iOS and Android permissions.
We analyzed this package 35 hours ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/user/gt_permission was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/user/gt_permission was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/user/gt_permission/issues was unreachable. Make sure that the website is reachable via HEAD requests.
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.
10/10 points: 20% or more of the public API has dartdoc comments
109 out of 114 API elements (95.6 %) have documentation comments.
Some symbols that are missing documentation: advance_permission_utils, advance_permission_utils.PermissionHandlerUtil, advance_permission_utils.PermissionRequestResult.PermissionRequestResult.new, permission_dialog, permission_dialog.PermissionDialogUtils.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:gt_permission/gt_permission.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:gt_permission/gt_permission.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package not compatible with platform Web
Because:
package:gt_permission/gt_permission.dartthat imports:package:gt_permission/permission_handler/permission_dialog.dartthat imports:package:gt_permission/permission_handler/advance_permission_utils.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
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:gt_permission/gt_permission.dartthat imports:package:gt_permission/permission_handler/permission_dialog.dartthat imports:package:gt_permission/permission_handler/advance_permission_utils.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:gt_permission/gt_permission.dartthat imports:package:gt_permission/permission_handler/permission_dialog.dartthat imports:package:gt_permission/permission_handler/advance_permission_utils.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
device_info_plus |
^11.3.0 |
11.5.0 | 12.3.0 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.3.0` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.