knt_monetize_bloc 3.0.0
knt_monetize_bloc: ^3.0.0 copied to clipboard
Helper blocs for handling in-app-purchase & admob flow
We analyzed this package 11 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
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.
10/10 points: 20% or more of the public API has dartdoc comments
715 out of 970 API elements (73.7 %) have documentation comments.
Some symbols that are missing documentation: knt_monetize_bloc, knt_monetize_bloc.AdmobConfig.AdmobConfig.new, knt_monetize_bloc.AdmobConfig.bannerAdUnitId, knt_monetize_bloc.AdmobConfig.interstitialAdUnitId, knt_monetize_bloc.AdmobConfig.nativeAdUnitId.
10/10 points: Package has an example
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.dartthat imports:package:knt_monetize_bloc/src/service/services.dartthat imports:package:knt_monetize_bloc/src/service/admob_service.dartthat imports:package:app_tracking_transparency/app_tracking_transparency.dartthat declares support for platforms:iOS.
Package does not support platform `Windows`.
Because:
package:knt_monetize_bloc/knt_monetize_bloc.dartthat imports:package:knt_monetize_bloc/src/service/services.dartthat imports:package:knt_monetize_bloc/src/service/revcat_iap_service.dartthat imports:package:knt_monetize_bloc/src/model/models.dartthat imports:package:knt_monetize_bloc/src/model/revcat_iap_config.dartthat imports:package:purchases_flutter/purchases_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:knt_monetize_bloc/knt_monetize_bloc.dartthat imports:package:knt_monetize_bloc/src/service/services.dartthat imports:package:knt_monetize_bloc/src/service/revcat_iap_service.dartthat imports:package:knt_monetize_bloc/src/model/models.dartthat imports:package:knt_monetize_bloc/src/model/revcat_iap_config.dartthat imports:package:purchases_flutter/purchases_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:knt_monetize_bloc/knt_monetize_bloc.dartthat imports:package:knt_monetize_bloc/src/service/services.dartthat imports:package:knt_monetize_bloc/src/service/revcat_iap_service.dartthat imports:package:knt_monetize_bloc/src/model/models.dartthat imports:package:knt_monetize_bloc/src/model/iap_config.dartthat imports:package:flutter_inapp_purchase/modules.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:knt_monetize_bloc/knt_monetize_bloc.dartthat imports:package:knt_monetize_bloc/src/service/services.dartthat imports:package:knt_monetize_bloc/src/service/revcat_iap_service.dartthat imports:package:knt_monetize_bloc/src/model/models.dartthat imports:package:knt_monetize_bloc/src/model/revcat_iap_config.dartthat imports:package:purchases_flutter/purchases_flutter.dartthat declares support for platforms:Android,iOS,macOS.
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
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
app_tracking_transparency |
^2.0.2+4 |
2.0.6+1 | 2.0.6+1 | |
flutter_inapp_purchase |
^5.3.1 |
5.6.2 | 8.2.5 | |
google_mobile_ads |
^2.0.0 |
2.4.0 | 7.0.0 | |
intl |
^0.17.0 |
0.17.0 | 0.20.2 | |
knt_bloc |
^2.1.3 |
2.2.0 | 4.1.1 | |
purchases_flutter |
^4.0.0 |
4.13.0 | 9.11.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
bloc |
- | 8.1.4 | 9.2.0 | |
bloc_concurrency |
- | 0.2.5 | 0.3.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus |
- | 2.3.9 | 7.0.0 | |
connectivity_plus_linux |
- | 1.3.1 | 1.3.1 | Discontinued |
connectivity_plus_macos |
- | 1.2.6 | 1.2.6 | Discontinued |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
connectivity_plus_web |
- | 1.2.5 | 1.2.5 | Discontinued |
connectivity_plus_windows |
- | 1.2.2 | 1.2.2 | Discontinued |
dbus |
- | 0.7.11 | 0.7.11 | |
dio |
- | 4.0.6 | 5.9.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
flutter_bloc |
- | 8.1.6 | 9.1.1 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.10.0 | 4.10.0 | |
logger |
- | 1.4.0 | 2.6.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_transform |
- | 2.1.1 | 2.1.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 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
visibility_detector |
- | 0.3.3 | 0.4.0+2 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^5.3.1` on flutter_inapp_purchase does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_inapp_purchase to update the constraint.
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.
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.23.8, Flutter 3.38.8, Dart 3.10.7.
Check the analysis log for details.