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 27 hours 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 60 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 104 API elements (43.3 %) have documentation comments.
Some symbols that are missing documentation: apns
, apns_connector
, apns_connector.ApnsPushConnector
, apns_connector.ApnsPushConnector.ApnsPushConnector
, 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:firebase_messaging/firebase_messaging.dart
that imports:package:firebase_messaging_platform_interface/firebase_messaging_platform_interface.dart
that imports:package:firebase_messaging_platform_interface/src/platform_interface/platform_interface_messaging.dart
that imports:package:firebase_messaging_platform_interface/src/method_channel/method_channel_messaging.dart
that imports:package:firebase_messaging_platform_interface/src/method_channel/utils/exception.dart
that imports:package:_flutterfire_internals/_flutterfire_internals.dart
that imports:package:_flutterfire_internals/src/exception.dart
that imports:package:firebase_core/firebase_core.dart
that imports:package:firebase_core_platform_interface/firebase_core_platform_interface.dart
that imports:package:firebase_core_platform_interface/src/pigeon/test_api.dart
that imports:package:flutter_test/flutter_test.dart
that imports:package:flutter_test/src/widget_tester.dart
that imports:package:flutter_test/src/test_text_input.dart
that imports:package:flutter_test/src/test_text_input_key_handler.dart
that imports:package:flutter_test/src/binding.dart
that imports:package:flutter_test/src/platform.dart
that imports:dart:io
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 |
---|---|---|---|
cupertino_icons |
^1.0.5 |
1.0.8 | 1.0.8 |
firebase_core |
^2.6.0 |
2.32.0 | 3.1.0 |
firebase_messaging |
^14.2.2 |
14.9.4 | 15.0.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_local_notifications |
^8.2.0 |
8.2.0 | 17.1.2 |
path_provider |
^2.0.12 |
2.1.3 | 2.1.3 |
plugin_platform_interface |
^2.1.3 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_flutterfire_internals |
- | 1.3.35 | 1.3.37 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.19.0 |
fake_async |
- | 1.3.1 | 1.3.1 |
ffi |
- | 2.1.2 | 2.1.2 |
firebase_core_platform_interface |
- | 5.1.0 | 5.1.0 |
firebase_core_web |
- | 2.17.2 | 2.17.2 |
firebase_messaging_platform_interface |
- | 4.5.37 | 4.5.39 |
firebase_messaging_web |
- | 3.8.7 | 3.8.9 |
flutter_local_notifications_platform_interface |
- | 4.0.1 | 7.1.0 |
flutter_test |
- | 0.0.0 | 0.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
leak_tracker |
- | 10.0.4 | 10.0.5 |
leak_tracker_flutter_testing |
- | 3.0.3 | 3.0.5 |
leak_tracker_testing |
- | 3.0.1 | 3.0.1 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider_android |
- | 2.2.5 | 2.2.5 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.2.1 | 2.2.1 |
platform |
- | 3.1.5 | 3.1.5 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.0 | 0.7.2 |
timezone |
- | 0.8.0 | 0.9.3 |
vector_math |
- | 2.1.4 | 2.1.4 |
vm_service |
- | 14.2.1 | 14.2.4 |
web |
- | 0.5.1 | 0.5.1 |
win32 |
- | 5.5.1 | 5.5.1 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
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`, that was published 10 days ago.
When firebase_core is 30 days old, this package will no longer be awarded points in this category.
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`, that was published 10 days ago.
When firebase_messaging is 30 days old, this package will no longer be awarded points in this category.
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.6
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.