insert_affiliate_flutter_sdk 1.1.5
insert_affiliate_flutter_sdk: ^1.1.5 copied to clipboard
A Flutter SDK for integrating affiliate tracking and in-app purchases for the Insert Affiliate Platform.
We analyzed this package 6 hours ago, and awarded it 105 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. 1 link is insecure.
README.md:57:173
╷
57 │ <li>Replace <code>{{ your_company_code }}</code> with the unique company code associated with your Insert Affiliate account. You can find this code in your dashboard under <a href="http://app.insertaffiliate.com/settings">Settings</a>.</li>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
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
1 out of 38 API elements (2.6 %) 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: insert_affiliate_flutter_sdk
, insert_affiliate_flutter_sdk.InsertAffiliateFlutterSDK
, insert_affiliate_flutter_sdk.InsertAffiliateFlutterSDK.InsertAffiliateFlutterSDK.new
, insert_affiliate_flutter_sdk.InsertAffiliateFlutterSDK.captureInstallReferrer
, insert_affiliate_flutter_sdk.InsertAffiliateFlutterSDK.companyCode
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:insert_affiliate_flutter_sdk/insert_affiliate_flutter_sdk.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:insert_affiliate_flutter_sdk/insert_affiliate_flutter_sdk.dart
that imports:package:android_play_install_referrer/android_play_install_referrer.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:insert_affiliate_flutter_sdk/insert_affiliate_flutter_sdk.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:insert_affiliate_flutter_sdk/insert_affiliate_flutter_sdk.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:insert_affiliate_flutter_sdk/insert_affiliate_flutter_sdk.dart
that imports:package:android_play_install_referrer/android_play_install_referrer.dart
that declares support for platforms:Android
.
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:insert_affiliate_flutter_sdk/insert_affiliate_flutter_sdk.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:insert_affiliate_flutter_sdk/insert_affiliate_flutter_sdk.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that imports:package:win32/src/com/iwinhttprequest.dart
that imports:package:win32/src/com/iunknown.dart
that imports:package:win32/src/utils.dart
that imports:package:win32/src/win32/user32.g.dart
that imports:package:win32/src/variant.dart
that imports:package:win32/src/win32/oleaut32.g.dart
that imports:package:win32/src/structs.g.dart
that imports:package:win32/src/guid.dart
that imports:package:win32/src/win32/ole32.g.dart
that imports:package:win32/src/combase.dart
that imports:package:win32/src/macros.dart
that imports:package:win32/src/inline.dart
that imports:package:win32/src/win32/uxtheme.g.dart
that imports:package:win32/src/callbacks.dart
that imports:package:win32/src/types.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf8.dart
that imports:dart:ffi
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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: Unused import: 'package:url_launcher/url_launcher.dart'.
lib/insert_affiliate_flutter_sdk.dart:10:8
╷
10 │ import 'package:url_launcher/url_launcher.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/insert_affiliate_flutter_sdk.dart
INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.
lib/insert_affiliate_flutter_sdk.dart:777:46
╷
777 │ final window = WidgetsBinding.instance.window;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/insert_affiliate_flutter_sdk.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
android_play_install_referrer |
^0.3.0 |
0.3.0 | 0.4.0 | Discontinued |
connectivity_plus |
^3.0.0 |
3.0.6 | 7.0.0 | |
device_info_plus |
^9.0.0 |
9.1.2 | 12.1.0 | |
http |
^0.13.5 |
0.13.6 | 1.5.0 | |
in_app_purchase |
>=2.0.0 <4.0.0 |
3.2.2 | 3.2.3 | |
in_app_purchase_storekit |
^0.3.20 |
0.3.22+1 | 0.4.6 | |
package_info_plus |
^4.0.0 |
4.2.0 | 9.0.0 | |
shared_preferences |
^2.0.13 |
2.5.3 | 2.5.3 | |
url_launcher |
^6.1.0 |
6.3.2 | 6.3.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
in_app_purchase_android |
- | 0.4.0+4 | 0.4.0+4 | |
in_app_purchase_platform_interface |
- | 1.4.0 | 1.4.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.14 | 2.4.14 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.23 | 6.3.23 | |
url_launcher_ios |
- | 6.3.4 | 6.3.4 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.3 | 3.2.3 | |
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 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.14.0 | 5.14.0 | |
win32_registry |
- | 1.1.5 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^0.3.0` on android_play_install_referrer does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions android_play_install_referrer
to update the constraint.
The constraint `^3.0.0` on connectivity_plus does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions connectivity_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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.