linkfive_purchases 2.0.2 icon indicating copy to clipboard operation
linkfive_purchases: ^2.0.2 copied to clipboard

Manage your in-app subscriptions with the LinkFive plugin - The Easiest Implementation of Subscriptions.

5
likes
110/ 130
pub points
58%
popularity

We analyzed this package 21 hours ago, and awarded it 110 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

10/10 points: 20% or more of the public API has dartdoc comments

  • 100 out of 221 API elements (45.2 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:linkfive_purchases/linkfive_purchases.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:linkfive_purchases/linkfive_purchases.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:linkfive_purchases/linkfive_purchases.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:linkfive_purchases/linkfive_purchases.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:linkfive_purchases/linkfive_purchases.dart that imports:
  • package:linkfive_purchases/util/subscription_duration_convert.dart that imports:
  • package:in_app_purchase_storekit/store_kit_wrappers.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:linkfive_purchases/linkfive_purchases.dart that imports:
  • package:linkfive_purchases/models/linkfive_products.dart that imports:
  • package:in_app_purchase_android/in_app_purchase_android.dart that declares support for platforms: Android.
icon indicating section status
Pass static analysis
10 / 30icon to trigger folding of the section

10/30 points: code has no errors, warnings, lints, or formatting issues

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/client/linkfive_client.dart:39:35

   ╷
39 │     return WidgetsBinding.instance?.window.locale.countryCode ?? "";
   │                                   ^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
device_info_plus^3.2.23.2.44.0.0
flutterflutter0.0.00.0.0
http^0.13.40.13.40.13.4
in_app_purchase^3.0.23.0.63.0.6
in_app_purchase_android^0.2.2+20.2.2+80.2.2+8
in_app_purchase_platform_interface^1.3.11.3.11.3.1
in_app_purchase_storekit^0.3.0+30.3.0+100.3.0+10
in_app_purchases_interface^0.0.80.0.80.0.8
in_app_purchases_intl^0.0.40.0.40.0.4
package_info_plus^1.4.01.4.21.4.2
shared_preferences^2.0.132.0.152.0.15
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.9.02.9.0
characters-1.2.01.2.1
clock-1.1.01.1.1
collection-1.16.01.16.0
device_info_plus_linux-2.1.12.1.1
device_info_plus_macos-2.2.32.2.3
device_info_plus_platform_interface-2.3.0+12.3.0+1
device_info_plus_web-2.1.02.1.0
device_info_plus_windows-2.1.13.0.0
ffi-1.2.12.0.1
file-6.1.26.1.2
flutter_localizations-0.0.00.0.0
flutter_web_plugins-0.0.00.0.0
http_parser-4.0.14.0.1
intl-0.17.00.17.0
js-0.6.40.6.4
json_annotation-4.5.04.5.0
material_color_utilities-0.1.40.1.5
meta-1.7.01.8.0
package_info_plus_linux-1.0.51.0.5
package_info_plus_macos-1.3.01.3.0
package_info_plus_platform_interface-1.0.21.0.2
package_info_plus_web-1.0.51.0.5
package_info_plus_windows-1.0.51.0.5
path-1.8.11.8.2
path_provider_linux-2.1.72.1.7
path_provider_platform_interface-2.0.42.0.4
path_provider_windows-2.0.72.1.0
platform-3.1.03.1.0
plugin_platform_interface-2.1.22.1.2
process-4.2.44.2.4
shared_preferences_android-2.0.122.0.12
shared_preferences_ios-2.1.12.1.1
shared_preferences_linux-2.1.12.1.1
shared_preferences_macos-2.0.42.0.4
shared_preferences_platform_interface-2.0.02.0.0
shared_preferences_web-2.0.42.0.4
shared_preferences_windows-2.1.12.1.1
sky_engine-0.0.990.0.99
source_span-1.9.01.9.0
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
vector_math-2.1.22.1.2
win32-2.6.12.7.0
xdg_directories-0.2.0+10.2.0+1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.2.2` on device_info_plus does not support the stable version `4.0.0`, that was published 4 days ago.

When device_info_plus is 30 days old, this package will no longer be awarded points in this category.

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.13, Flutter 3.0.3, Dart 2.17.5.