smart_permission 0.0.3
smart_permission: ^0.0.3 copied to clipboard
Flutter runtime permissions made easy: one-line requests, adaptive dialogs, and full flows on Android & iOS.
We analyzed this package 47 hours ago, and awarded it 150 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
61 out of 80 API elements (76.3 %) have documentation comments.
Some symbols that are missing documentation: smart_permission, smart_permission.DescriptionProvider, smart_permission.InMemoryPermissionAnalyticsTracker, smart_permission.InMemoryPermissionAnalyticsTracker.InMemoryPermissionAnalyticsTracker.new, smart_permission.InMemoryPermissionAnalyticsTracker.deniedCounts.
10/10 points: Package has an example
10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:smart_permission/smart_permission.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:smart_permission/smart_permission.dartthat declares support for platforms:Android,iOS,Windows,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:smart_permission/smart_permission.dartthat imports:package:smart_permission/src/core/config.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:smart_permission/smart_permission.dartthat imports:package:smart_permission/src/core/config.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
permission_handler |
^12.0.1 |
12.0.3 | 13.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.18.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 13.0.1 | 14.0.0 | |
permission_handler_apple |
- | 9.6.1 | 9.6.1 | |
permission_handler_html |
- | 0.1.4+1 | 0.1.4+1 | |
permission_handler_platform_interface |
- | 4.4.0 | 4.4.0 | |
permission_handler_windows |
- | 0.2.2 | 0.2.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.2.0 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^12.0.1` on permission_handler does not support the stable version `13.0.0`, that was published 10 days ago.
When permission_handler is 30 days old, this package will no longer be awarded points in this category.
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.17, Flutter 3.44.8, Dart 3.12.2.
Check the analysis log for details.