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

discontinued
PlatformiOS

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

0
likes
110/ 140
pub points
0%
popularity

We analyzed this package 31 hours ago, and awarded it 110 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

715 out of 943 API elements (75.8 %) have documentation comments.

Some symbols that are missing documentation: knt_monetize_bloc, knt_monetize_bloc.AdmobConfig.bannerAdUnitId, knt_monetize_bloc.AdmobConfig.interstitialAdUnitId, knt_monetize_bloc.AdmobConfig.nativeAdUnitId, knt_monetize_bloc.AdmobService.appVolume.

10/10 points: Package has 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/revcat_iap_service.dart that imports:
  • package:knt_monetize_bloc/src/model/models.dart that imports:
  • package:knt_monetize_bloc/src/model/revcat_iap_config.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.
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/revcat_iap_service.dart that imports:
  • package:knt_monetize_bloc/src/model/models.dart that imports:
  • package:knt_monetize_bloc/src/model/revcat_iap_config.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.
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/revcat_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/revcat_iap_service.dart that imports:
  • package:knt_monetize_bloc/src/model/models.dart that imports:
  • package:knt_monetize_bloc/src/model/revcat_iap_config.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'setDebugLogsEnabled' is deprecated and shouldn't be used. Use setLogLevel.

lib/src/service/revcat_iap_service.dart:21:21

   ╷
21 │     await Purchases.setDebugLogsEnabled(enabledLogs);
   │                     ^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: 'setup' is deprecated and shouldn't be used. Use PurchasesConfiguration.

lib/src/service/revcat_iap_service.dart:22:21

   ╷
22 │     await Purchases.setup(publicKey, appUserId: appUserId);
   │                     ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/service/revcat_iap_service.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.2+4 2.0.4 2.0.4
flutter flutter 0.0.0 0.0.0
flutter_inapp_purchase ^5.3.1 5.6.1 5.6.1
google_mobile_ads ^2.0.0 2.4.0 5.0.0
intl ^0.17.0 0.17.0 0.19.0
knt_bloc ^2.1.3 2.2.0 4.1.1
purchases_flutter ^4.0.0 4.13.0 6.24.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.4.2 2.4.2
async - 2.11.0 2.11.0
bloc - 8.1.4 8.1.4
bloc_concurrency - 0.2.5 0.2.5
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
connectivity_plus - 2.3.9 6.0.1
connectivity_plus_linux - 1.3.1 1.3.1
connectivity_plus_macos - 1.2.6 1.2.6
connectivity_plus_platform_interface - 1.2.4 2.0.0
connectivity_plus_web - 1.2.5 1.2.5
connectivity_plus_windows - 1.2.2 1.2.2
dbus - 0.7.10 0.7.10
dio - 4.0.6 5.4.2+1
ffi - 2.1.2 2.1.2
flutter_bloc - 8.1.5 8.1.5
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.1 2.4.1
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
json_annotation - 4.8.1 4.8.1
logger - 1.4.0 2.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
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
stream_transform - 2.1.0 2.1.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
visibility_detector - 0.3.3 0.4.0+2
web - 0.5.1 0.5.1
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^2.0.0` on google_mobile_ads does not support the stable version `3.0.0`.

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

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

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

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.