appbridge 1.0.1
appbridge: ^1.0.1 copied to clipboard
This is a rich flutter javascript interactive plugin.
We analyzed this package 12 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/bingbing01121-art/appbridge was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/bingbing01121-art/appbridge was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/bingbing01121-art/appbridge/issues/issues 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
5 out of 40 API elements (12.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: appbridge, appbridge.Appbridge, appbridge.Appbridge.Appbridge.new, appbridge.Appbridge.appIcon, appbridge.Appbridge.callModuleMethod.
10/10 points: Package has an example
10/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:appbridge/appbridge.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:appbridge/appbridge.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:appbridge/appbridge.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:appbridge/appbridge.dartthat 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:appbridge/appbridge.dartthat imports:package:appbridge/src/modules/notifications_module.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:appbridge/appbridge.dartthat imports:package:appbridge/src/modules/notifications_module.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/appbridge/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Use the generic function type syntax in 'typedef's.
lib/src/modules/core_module.dart:15:32
╷
15 │ typedef Future<BridgeResponse> OnAddShortcutCallback(String title, String url);
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/modules/core_module.dart
INFO: Use the generic function type syntax in 'typedef's.
lib/src/modules/core_module.dart:16:32
╷
16 │ typedef Future<BridgeResponse> OnAppIconCallback(String styleId);
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/modules/core_module.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
battery_plus |
^7.0.0 |
7.1.1 | 7.1.1 | |
cached_network_image |
^3.0.0 |
3.4.1 | 4.0.0 | |
connectivity_plus |
^7.0.0 |
7.3.1 | 7.3.1 | |
device_info_plus |
^12.2.0 |
12.4.0 | 13.2.0 | |
dio |
^5.4.0 |
5.11.0 | 5.11.0 | |
flutter_downloader |
^1.12.0 |
1.12.1 | 1.12.1 | |
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
flutter_local_notifications |
^19.0.0 |
19.5.0 | 22.3.0 | |
flutter_pinned_shortcut_plus |
^0.0.2 |
0.0.2 | 0.0.2 | |
fluttertoast |
^9.0.0 |
9.1.0 | 10.0.0 | |
image_picker |
^1.2.0 |
1.2.3 | 1.2.3 | |
in_app_update |
^4.2.0 |
4.2.5 | 5.0.0 | |
package_info_plus |
^9.0.0 |
9.0.1 | 10.2.1 | |
path_provider |
^2.1.2 |
2.1.6 | 2.1.6 | |
permission_handler |
^12.0.1 |
12.0.3 | 13.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
quick_actions |
^1.1.0 |
1.1.0 | 1.1.0 | |
screen_brightness |
^2.1.7 |
2.1.11 | 2.1.11 | |
share_plus |
^12.0.1 |
12.0.2 | 13.3.0 | |
shared_preferences |
^2.2.2 |
2.5.5 | 2.5.5 | |
url_launcher |
^6.2.2 |
6.3.2 | 6.3.2 | |
video_player |
^2.8.6 |
2.14.0 | 2.14.0 | |
volume_controller |
^3.4.0 |
3.6.1 | 3.6.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 8 issues. Showing the first 2:
The constraint `^3.0.0` on cached_network_image does not support the stable version `4.0.0`, that was published 6 days ago.
When cached_network_image is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions cached_network_image to update the constraint.
The constraint `^12.2.0` on device_info_plus does not support the stable version `13.0.0`.
Try running dart pub upgrade --major-versions device_info_plus 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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.