knt_monetize_bloc 1.2.1 copy "knt_monetize_bloc: ^1.2.1" to clipboard
knt_monetize_bloc: ^1.2.1 copied to clipboard

discontinued
outdated

Helper blocs for handling in-app-purchase & admob flow

0
likes
60/ 140
pub points
0%
popularity

We analyzed this package 19 hours ago, and awarded it 60 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/appixi/knt_monetize_bloc was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: knt_monetize_bloc,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

359 out of 593 API elements (60.5 %) have documentation comments.

Some symbols that are missing documentation: knt_monetize_bloc, knt_monetize_bloc.AdBorderRadius, knt_monetize_bloc.AdBorderRadius.AdBorderRadius, knt_monetize_bloc.AdButtonView, knt_monetize_bloc.AdButtonView.AdButtonView.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:knt_monetize_bloc/knt_monetize_bloc.dart that imports:
  • package:knt_monetize_bloc/src/service/services.dart that imports:
  • package:knt_monetize_bloc/src/service/admob_service.dart that imports:
  • package:app_tracking_transparency/app_tracking_transparency.dart that declares support for platforms: iOS.
Package does not support platform `Windows`.

Because:

  • package:knt_monetize_bloc/knt_monetize_bloc.dart that imports:
  • package:knt_monetize_bloc/src/service/services.dart that imports:
  • package:knt_monetize_bloc/src/service/iap_service.dart that imports:
  • package:knt_monetize_bloc/src/model/models.dart that imports:
  • package:knt_monetize_bloc/src/model/iap_config.dart that imports:
  • package:flutter_inapp_purchase/modules.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:knt_monetize_bloc/knt_monetize_bloc.dart that imports:
  • package:knt_monetize_bloc/src/service/services.dart that imports:
  • package:knt_monetize_bloc/src/service/iap_service.dart that imports:
  • package:knt_monetize_bloc/src/model/models.dart that imports:
  • package:knt_monetize_bloc/src/model/iap_config.dart that imports:
  • package:flutter_inapp_purchase/modules.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:knt_monetize_bloc/knt_monetize_bloc.dart that imports:
  • package:knt_monetize_bloc/src/service/services.dart that imports:
  • package:knt_monetize_bloc/src/service/iap_service.dart that imports:
  • package:knt_monetize_bloc/src/model/models.dart that imports:
  • package:knt_monetize_bloc/src/model/iap_config.dart that imports:
  • package:flutter_inapp_purchase/modules.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:knt_monetize_bloc/knt_monetize_bloc.dart that imports:
  • package:knt_monetize_bloc/src/service/services.dart that imports:
  • package:knt_monetize_bloc/src/service/iap_service.dart that imports:
  • package:knt_monetize_bloc/src/model/models.dart that imports:
  • package:knt_monetize_bloc/src/model/iap_config.dart that imports:
  • package:flutter_inapp_purchase/modules.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: The getter 'endConnection' isn't defined for the type 'FlutterInappPurchase'.

lib/src/bloc/subscription_bloc.dart:28:41

   ╷
28 │     await FlutterInappPurchase.instance.endConnection;
   │                                         ^^^^^^^^^^^^^
   ╵

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

ERROR: The getter 'initConnection' isn't defined for the type 'FlutterInappPurchase'.

lib/src/bloc/subscription_bloc.dart:93:43

   ╷
93 │       await FlutterInappPurchase.instance.initConnection;
   │                                           ^^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
app_tracking_transparency ^2.0.0 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
flutter_inapp_purchase ^5.0.1 5.6.1 5.6.1
knt_bloc ^1.0.2 1.0.6 4.1.1
native_admob_flutter ^1.5.0 1.5.0+1 1.5.0+1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bloc - 7.2.1 8.1.4
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
connectivity - 3.0.6 3.0.6
connectivity_for_web - 0.4.0+1 0.4.0+1
connectivity_macos - 0.2.1+2 0.2.1+2
connectivity_platform_interface - 2.0.1 2.0.1
dio - 4.0.6 5.4.3+1
flutter_bloc - 7.3.3 8.1.5
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
logger - 1.4.0 2.3.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.0
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

The constraint `^1.0.2` on knt_bloc does not support the stable version `2.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.