tyrads_sdk 0.2.2 copy "tyrads_sdk: ^0.2.2" to clipboard
tyrads_sdk: ^0.2.2 copied to clipboard

Show TyrAds offer wall.

0
likes
110/ 140
pub points
54%
popularity

We analyzed this package 2 days 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.

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: tyrads_sdk,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository has no repository or homepage URL.

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

0 out of 17 API elements (0.0 %) 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.

Some symbols that are missing documentation: tyrads_sdk, tyrads_sdk.Tyrads, tyrads_sdk.Tyrads.apiKey, tyrads_sdk.Tyrads.apiSecret, tyrads_sdk.Tyrads.back.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger 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:tyrads_sdk/tyrads_sdk.dart that imports:
  • package:tyrads_sdk/src/acmo/modules/users/repository.dart that imports:
  • package:tyrads_sdk/src/acmo/core/network/network_common.dart that imports:
  • package:tyrads_sdk/src/acmo/core/helpers/toasts.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:tyrads_sdk/tyrads_sdk.dart that imports:
  • package:tyrads_sdk/src/acmo/modules/users/repository.dart that imports:
  • package:tyrads_sdk/src/acmo/core/network/network_common.dart that imports:
  • package:tyrads_sdk/src/acmo/core/helpers/toasts.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:tyrads_sdk/tyrads_sdk.dart that imports:
  • package:tyrads_sdk/src/acmo/modules/users/repository.dart that imports:
  • package:tyrads_sdk/src/acmo/core/network/network_common.dart that imports:
  • package:tyrads_sdk/src/acmo/core/helpers/toasts.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:tyrads_sdk/tyrads_sdk.dart that imports:
  • package:tyrads_sdk/src/acmo/modules/device_details/controller.dart that imports:
  • package:safe_device/safe_device.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:tyrads_sdk/tyrads_sdk.dart that imports:
  • package:tyrads_sdk/src/acmo/modules/device_details/controller.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 `iOS`.

Because:

  • package:tyrads_sdk/tyrads_sdk.dart that imports:
  • package:tyrads_sdk/src/acmo/modules/device_details/controller.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.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 46 issues. Showing the first 2:

INFO: 'launch' is deprecated and shouldn't be used. Use launchUrl instead.

lib/src/acmo/core/helpers/common.dart:18:11

   ╷
18 │     await launch(url);
   │           ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/acmo/core/helpers/common.dart

INFO: 'canLaunch' is deprecated and shouldn't be used. Use canLaunchUrl instead.

lib/src/acmo/core/helpers/common.dart:23:11

   ╷
23 │     await canLaunch(url) ? await launch(url) : throw 'Could not launch $url';
   │           ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/acmo/core/helpers/common.dart

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

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

Package Constraint Compatible Latest
advertising_id ^2.6.0 2.6.0 2.6.0
back_button_interceptor ^7.0.0 7.0.3 7.0.3
cached_network_image ^3.0.0 3.3.1 3.3.1
custom_platform_device_id ^1.0.8 1.0.8 1.0.8
custom_timer ^0.2.3 0.2.3 0.2.3
device_info_plus ^10.1.0 10.1.0 10.1.0
dio ^5.4.2+1 5.4.3+1 5.4.3+1
equatable ^2.0.5 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
flutter_inappwebview ^6.0.0 6.0.0 6.0.0
fluttertoast ^8.0.9 8.2.5 8.2.5
freezed_annotation ^2.4.1 2.4.1 2.4.1
google_fonts ^6.2.0 6.2.1 6.2.1
json_annotation ^4.8.1 4.9.0 4.9.0
material_design_icons_flutter ^7.0.7296 7.0.7296 7.0.7296
numeral ^3.0.0 3.0.0 3.0.0
package_info_plus ^6.0.0 6.0.0 8.0.0
pull_to_refresh ^2.0.0 2.0.0 2.0.0
readmore ^3.0.0 3.0.0 3.0.0
safe_device ^1.1.4 1.1.7 1.1.7
shared_preferences ^2.0.5 2.2.3 2.2.3
styled_text ^8.1.0 8.1.0 8.1.0
url_launcher ^6.0.3 6.2.6 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.2.0 1.2.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
device_info - 2.0.3 2.0.3
device_info_platform_interface - 2.0.1 2.0.1
device_info_plus_platform_interface - 7.0.0 7.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_cache_manager - 3.3.2 3.3.2
flutter_inappwebview_android - 1.0.13 1.0.13
flutter_inappwebview_internal_annotations - 1.1.1 1.1.1
flutter_inappwebview_ios - 1.0.13 1.0.13
flutter_inappwebview_macos - 1.0.11 1.0.11
flutter_inappwebview_platform_interface - 1.0.10 1.0.10
flutter_inappwebview_web - 1.0.8 1.0.8
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
octo_image - 2.0.0 2.0.0
package_info_plus_platform_interface - 2.0.1 3.0.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
platform_device_id_linux - 1.0.0 1.0.0
platform_device_id_macos - 1.0.0 1.0.0
platform_device_id_platform_interface - 1.0.0 1.0.0
platform_device_id_web - 1.0.0 1.0.0
platform_device_id_windows - 1.0.0 1.0.0
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.27.7
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.3.3+1 2.3.3+1
sqflite_common - 2.5.4 2.5.4
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
win32_registry - 1.1.3 1.1.3
xdg_directories - 1.0.4 1.0.4
xmlstream - 1.1.1 1.1.1

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

The constraint `^6.0.0` on package_info_plus does not support the stable version `7.0.0`, that was published 23 days ago.

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

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.