proximity_screen_lock_ios 1.0.0
proximity_screen_lock_ios: ^1.0.0 copied to clipboard
A iOS Flutter plugin that can be used to bind screen activation to proximity sensor
We analyzed this package 17 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/amantoux/proximity_screen_lock/proximity_screen_lock_ios 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
6 out of 12 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: proximity_screen_lock_ios, proximity_screen_lock_ios.ProximityScreenLockIos, proximity_screen_lock_ios.ProximityScreenLockIos.ProximityScreenLockIos.new, proximity_screen_lock_ios.ProximityScreenLockIos.registerWith, proximity_screen_lock_ios_method_channel.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ iOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:proximity_screen_lock_ios/proximity_screen_lock_ios.dartthat declares support for platforms:iOS.
Package does not support platform `Windows`.
Because:
package:proximity_screen_lock_ios/proximity_screen_lock_ios.dartthat declares support for platforms:iOS.
Package does not support platform `Linux`.
Because:
package:proximity_screen_lock_ios/proximity_screen_lock_ios.dartthat declares support for platforms:iOS.
Package does not support platform `macOS`.
Because:
package:proximity_screen_lock_ios/proximity_screen_lock_ios.dartthat declares support for platforms:iOS.
Package does not support platform `Web`.
Because:
package:proximity_screen_lock_ios/proximity_screen_lock_ios.dartthat declares support for platforms:iOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/proximity_screen_lock_ios/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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The member 'setActive' overrides an inherited member but isn't annotated with '@override'.
lib/proximity_screen_lock_ios.dart:11:16
╷
11 │ Future<void> setActive(bool value) async {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/proximity_screen_lock_ios.dart
INFO: The member 'isProximityLockSupported' overrides an inherited member but isn't annotated with '@override'.
lib/proximity_screen_lock_ios.dart:15:16
╷
15 │ Future<bool> isProximityLockSupported() async {
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/proximity_screen_lock_ios.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
proximity_screen_lock_platform_interface |
^1.0.1 |
1.0.1 | 2.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.1` on proximity_screen_lock_platform_interface does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions proximity_screen_lock_platform_interface 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.