flutter_apns_x 0.0.1
flutter_apns_x: ^0.0.1 copied to clipboard
Demonstrates how to use the flutter_apnsX plugin.
We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: GPL-3.0
.
10/10 points: 20% or more of the public API has dartdoc comments
45 out of 107 API elements (42.1 %) have documentation comments.
Some symbols that are missing documentation: apns
, apns_connector
, apns_connector.ApnsPushConnector
, apns_connector.ApnsPushConnector.ApnsPushConnector.new
, connector
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:flutter_apns_x/flutter_apns/apns.dart
that imports:package:flutter_apns_x/flutter_apns/src/firebase_connector.dart
that imports:package:flutter_apns_x/flutter_apns/flutter_apns_x.dart
that imports:package:firebase_messaging/firebase_messaging.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_apns_x/flutter_apns/apns.dart
that imports:package:flutter_apns_x/flutter_apns/src/firebase_connector.dart
that imports:package:flutter_apns_x/flutter_apns/flutter_apns_x.dart
that imports:package:firebase_messaging/firebase_messaging.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:flutter_apns_x/flutter_apns/apns.dart
that imports:package:flutter_apns_x/flutter_apns/src/firebase_connector.dart
that imports:package:flutter_apns_x/flutter_apns/flutter_apns_x.dart
that imports:package:flutter_apns_x/flutter_apns/flutter_apns_only_x.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_apns_x/flutter_apns/apns.dart
that imports:package:flutter_apns_x/flutter_apns/src/firebase_connector.dart
that imports:package:flutter_apns_x/flutter_apns/flutter_apns_x.dart
that imports:package:flutter_apns_x/flutter_apns/flutter_apns_only_x.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.
lib/flutter_apns/src/firebase_connector.dart:71:41
╷
71 │ if (permissions.authorizationStatus.name == 'authorized') {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_apns/src/firebase_connector.dart
WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.
lib/flutter_apns/src/firebase_connector.dart:73:48
╷
73 │ } else if (permissions.authorizationStatus.name == 'denied') {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_apns/src/firebase_connector.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cupertino_icons |
^1.0.5 |
1.0.8 | 1.0.8 | |
firebase_core |
^2.6.0 |
2.32.0 | 3.14.0 | |
firebase_messaging |
^14.2.2 |
14.7.10 | 15.2.7 | |
flutter_local_notifications |
^8.2.0 |
8.2.0 | 19.3.0 | |
path_provider |
^2.0.12 |
2.1.5 | 2.1.5 | |
plugin_platform_interface |
^2.1.3 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.3.35 | 1.3.56 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
firebase_core_platform_interface |
- | 5.4.0 | 5.4.0 | |
firebase_core_web |
- | 2.23.0 | 2.23.0 | |
firebase_messaging_platform_interface |
- | 4.5.37 | 4.6.7 | |
firebase_messaging_web |
- | 3.5.18 | 3.10.7 | |
flutter_local_notifications_platform_interface |
- | 4.0.1 | 9.1.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
leak_tracker |
- | 10.0.9 | 11.0.1 | |
leak_tracker_flutter_testing |
- | 3.0.9 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.1 | 3.0.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.6 | |
timezone |
- | 0.8.0 | 0.10.1 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
vm_service |
- | 15.0.0 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^2.6.0` on firebase_core does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions firebase_core
to update the constraint.
The constraint `^14.2.2` on firebase_messaging does not support the stable version `15.0.0`.
Try running dart pub upgrade --major-versions firebase_messaging
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.