insert_affiliate_flutter_sdk 1.2.0 copy "insert_affiliate_flutter_sdk: ^1.2.0" to clipboard
insert_affiliate_flutter_sdk: ^1.2.0 copied to clipboard

PlatformAndroid

A Flutter SDK for integrating affiliate tracking and in-app purchases for the Insert Affiliate Platform.

105/ 160
pub points
451
downloads

We analyzed this package 7 hours ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

5 out of 42 API elements (11.9 %) 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 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_linux.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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 33 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: The private field _verboseLogging could be 'final'.

lib/insert_affiliate_flutter_sdk.dart:20:8

   ╷
20 │   bool _verboseLogging = false;
   │        ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/insert_affiliate_flutter_sdk.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
android_play_install_referrer ^0.4.0 0.4.0 0.4.0 Discontinued
connectivity_plus ^6.1.0 6.1.5 7.0.0
device_info_plus ^12.1.0 12.1.0 12.1.0
http ^1.2.2 1.5.0 1.5.0
in_app_purchase ^3.2.3 3.2.3 3.2.3
in_app_purchase_storekit ^0.4.6 0.4.6 0.4.6
package_info_plus ^9.0.0 9.0.0 9.0.0
shared_preferences ^2.5.3 2.5.3 2.5.3
url_launcher ^6.3.2 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
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 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+6 0.4.0+6
in_app_purchase_platform_interface - 1.4.0 1.4.0
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 - 3.2.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.15 2.4.15
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.24 6.3.24
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.15.0 5.15.0
win32_registry - 2.1.0 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.

The constraint `^6.1.0` on connectivity_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • android_play_install_referrer.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
105
points
451
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter SDK for integrating affiliate tracking and in-app purchases for the Insert Affiliate Platform.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

android_play_install_referrer, connectivity_plus, device_info_plus, flutter, http, in_app_purchase, in_app_purchase_storekit, package_info_plus, shared_preferences, url_launcher

More

Packages that depend on insert_affiliate_flutter_sdk