tim_ui_kit_push_plugin 3.1.2+1 tim_ui_kit_push_plugin: ^3.1.2+1 copied to clipboard
The native notification push extension for Tencent Cloud Chat, support Apple APNS/ Google Firebase Cloud Messaging/ HUAWEI/ XiaoMi/ OPPO/ Vivo platform.
We analyzed this package 21 hours ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 12 links are insecure.
README.md:49:50
╷
49 │ <h2>Connection Preparations (Vendor Registration)<a href="id:firstone"></a></h2>
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
63 out of 85 API elements (74.1 %) have documentation comments.
Some symbols that are missing documentation: appInfo
, appInfo.PushAppInfo
, apple_apns_impl
, apple_apns_impl.AppleAPNSImpl
, apple_apns_impl.AppleAPNSImpl.AppleAPNSImpl
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:tim_ui_kit_push_plugin/tim_ui_kit_push_plugin.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:tim_ui_kit_push_plugin/tim_ui_kit_push_plugin.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:tim_ui_kit_push_plugin/tim_ui_kit_push_plugin.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:tim_ui_kit_push_plugin/tim_ui_kit_push_plugin.dart
that declares support for platforms:Android
,iOS
.
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:tim_ui_kit_push_plugin/tim_ui_kit_push_plugin.dart
that imports:package:tim_ui_kit_push_plugin/channel/apple_apns_impl.dart
that imports:package:tencent_flutter_apns/tencent_flutter_apns.dart
that imports:package:tencent_flutter_apns/apns.dart
that imports:package:tencent_flutter_apns/src/apns_connector.dart
that imports:package:flutter_apns_only/flutter_apns_only.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:tim_ui_kit_push_plugin/tim_ui_kit_push_plugin.dart
that imports:package:tim_ui_kit_push_plugin/channel/huawei_apns_impl.dart
that imports:package:huawei_push/huawei_push.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tim_ui_kit_push_plugin/tim_ui_kit_push_plugin.dart
that imports:package:tim_ui_kit_push_plugin/channel/google_fcm_impl.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
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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/tim_ui_kit_push_plugin/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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
WARNING: The value of the local variable 'res' isn't used.
lib/channel/google_fcm_impl.dart:74:13
╷
74 │ final res = await googleFCMMessaging.deleteToken();
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/channel/google_fcm_impl.dart
WARNING: Unused import: 'package:tencent_cloud_chat_sdk/enum/message_elem_type.dart'.
lib/utils/utils.dart:2:8
╷
2 │ import 'package:tencent_cloud_chat_sdk/enum/message_elem_type.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/utils.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
firebase_core |
^2.4.0 |
2.32.0 | 3.8.0 |
firebase_messaging |
^14.1.4 |
14.7.10 | 15.1.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
huawei_push |
^6.5.0+300 |
6.12.0+302 | 6.12.0+302 |
plain_notification_token_for_us |
^1.0.0+1 |
1.0.0+1 | 1.0.0+1 |
tencent_cloud_chat_sdk |
^6.0.0 |
6.1.33 | 8.2.6325+4 |
tencent_flutter_apns |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_flutterfire_internals |
- | 1.3.35 | 1.3.46 |
async |
- | 2.11.0 | 2.12.0 |
boolean_selector |
- | 2.1.1 | 2.1.2 |
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.1 | 1.1.2 |
collection |
- | 1.18.0 | 1.19.1 |
fake_async |
- | 1.3.1 | 1.3.2 |
firebase_core_platform_interface |
- | 5.3.0 | 5.3.0 |
firebase_core_web |
- | 2.18.1 | 2.18.1 |
firebase_messaging_platform_interface |
- | 4.5.37 | 4.5.48 |
firebase_messaging_web |
- | 3.5.18 | 3.9.4 |
flutter_apns_only |
- | 1.6.0 | 1.6.0 |
flutter_test |
- | 0.0.0 | 0.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
js |
- | 0.6.7 | 0.7.1 |
leak_tracker |
- | 10.0.5 | 10.0.8 |
leak_tracker_flutter_testing |
- | 3.0.5 | 3.0.9 |
leak_tracker_testing |
- | 3.0.1 | 3.0.1 |
matcher |
- | 0.12.16+1 | 0.12.17 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.0 | 1.9.1 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.4.0 |
tencent_im_sdk_plugin_platform_interface |
- | 1.0.16 | 1.0.16 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.2 | 0.7.3 |
vector_math |
- | 2.1.4 | 2.1.4 |
vm_service |
- | 14.2.5 | 14.3.1 |
web |
- | 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.4.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.1.4` 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.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.