mapmetrics 1.0.1
mapmetrics: ^1.0.1 copied to clipboard
Permissive and performant mapping library that supports Mapbox Vector Tiles (MVT) powered by MapLibre SDKs.
We analyzed this package 5 hours ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: mapmetrics, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.
0/5 points: Provide a valid README.md
`README.md` is empty.
The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
484 out of 603 API elements (80.3 %) have documentation comments.
Some symbols that are missing documentation: Basic, Events, Layers, Offline, Style.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mapmetrics/mapmetrics.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:mapmetrics/mapmetrics.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:mapmetrics/mapmetrics.dartthat declares support for platforms:Android,iOS,Web.
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:mapmetrics/mapmetrics.dartthat imports:package:mapmetrics/src/widget_layer.dartthat imports:package:pointer_interceptor/pointer_interceptor.dartthat declares support for platforms:iOS,Web.
Package does not support platform `iOS`.
Because:
package:mapmetrics/mapmetrics.dartthat imports:package:mapmetrics/src/permission_manager.dartthat imports:package:mapmetrics/src/platform_interface.dartthat imports:package:mapmetrics/src/platform/platform_native.dartthat imports:package:mapmetrics/src/platform/ios/offline_manager.dartthat imports:package:mapmetrics/src/platform/offline_manager_native.dartthat imports:package:mapmetrics/src/platform/android/extensions.dartthat imports:package:mapmetrics/src/platform/android/jni/jni.dartthat imports:package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/_package.dartthat imports:package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/ThreadUtils.dartthat imports:package:jni/jni.dartthat declares support for platforms:Android,Windows,Linux.
Package does not support platform `Web`.
Because:
package:mapmetrics/mapmetrics.dartthat imports:package:mapmetrics/src/permission_manager.dartthat imports:package:mapmetrics/src/platform_interface.dartthat imports:package:mapmetrics/src/platform/platform_native.dartthat imports:package:mapmetrics/src/platform/ios/offline_manager.dartthat imports:package:mapmetrics/src/platform/offline_manager_native.dartthat imports:package:mapmetrics/src/platform/android/extensions.dartthat imports:package:mapmetrics/src/platform/android/jni/jni.dartthat imports:package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/_package.dartthat imports:package:mapmetrics/src/platform/android/jni/org/maplibre/android/utils/ThreadUtils.dartthat imports:package:jni/jni.dartthat declares support for platforms:Android,Windows,Linux.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 347 issues. Showing the first 2:
ERROR: The method 'numberWithBool_' isn't defined for the type 'NSNumber'.
lib/src/platform/ios/extensions_ios.dart:10:47
╷
10 │ objc.NSNumber toNSNumber() => objc.NSNumber.numberWithBool_(this ? 1 : 0);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform/ios/extensions_ios.dart
ERROR: The method 'numberWithInt_' isn't defined for the type 'NSNumber'.
lib/src/platform/ios/extensions_ios.dart:14:47
╷
14 │ objc.NSNumber toNSNumber() => objc.NSNumber.numberWithInt_(this);
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform/ios/extensions_ios.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.3 |
2.1.4 | 2.1.4 | |
geotypes |
^0.0.2 |
0.0.2 | 0.0.2 | |
html |
^0.15.4 |
0.15.6 | 0.15.6 | |
jni |
^0.14.0 |
0.14.2 | 0.15.2 | |
objective_c |
^6.0.0 |
6.0.0 | 9.0.0+1 | |
pointer_interceptor |
^0.10.1+2 |
0.10.1+2 | 0.10.1+2 | |
url_launcher |
^6.3.0 |
6.3.2 | 6.3.2 | |
web |
^1.0.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointer_interceptor_ios |
- | 0.10.1+1 | 0.10.1+1 | |
pointer_interceptor_platform_interface |
- | 0.10.0+1 | 0.10.0+1 | |
pointer_interceptor_web |
- | 0.10.3 | 0.10.3 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
url_launcher_android |
- | 6.3.24 | 6.3.24 | |
url_launcher_ios |
- | 6.3.5 | 6.3.5 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.4 | 3.2.4 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
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 `^0.14.0` on jni does not support the stable version `0.15.0`, that was published 7 days ago.
When jni is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions jni to update the constraint.
The constraint `^6.0.0` on objective_c does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions objective_c to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 24 errors:
UNDEFINED_METHOD-lib/src/platform/ios/extensions_ios.dart:10:47- The method 'numberWithBool_' isn't defined for the type 'NSNumber'.UNDEFINED_METHOD-lib/src/platform/ios/extensions_ios.dart:14:47- The method 'numberWithInt_' isn't defined for the type 'NSNumber'.INVALID_ASSIGNMENT-lib/src/platform/ios/extensions_ios.dart:29:22- A value of type 'num' can't be assigned to a variable of type 'double'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.
Check the analysis log for details.
