saimobileapps_common 0.0.1 copy "saimobileapps_common: ^0.0.1" to clipboard
saimobileapps_common: ^0.0.1 copied to clipboard

Common libraries for SaiMobileApps

0
likes
70/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
10 / 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.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting saimobileapps_common... Discovering libraries... Linking elements... Precaching local docs for 640982 elements... Initialized dartdoc with 1339 libraries Generating docs for library models/auth_profile.dart from package:saimobileapps_common/models/auth_profile.dart... Generating docs for library models/auth_user_model.dart from package:saimobileapps_common/models/auth_user_model.dart... Generating docs for library models/usecase.dart from package:saimobileapps_common/models/usecase.dart... Generating docs for library models/auth_token.dart from package:saimobileapps_common/models/auth_token.dart... Generating docs for library logging.dart from package:saimobileapps_common/logging.dart... [16 more lines] ERR: warning: core has no library level documentation comments from core: (file:///tmp/pana_TVWHCG/lib/core.dart:1:9) warning: core has no library level documentation comments from core: (file:///tmp/pana_TVWHCG/lib/network.dart:1:9) error: file already written at "core/core-library.html" for symbol core: (file:///tmp/pana_TVWHCG/lib/network.dart:1:9) conflicting with file already generated by core: (file:///tmp/pana_TVWHCG/lib/core.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'core' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [13 more lines]

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 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:saimobileapps_common/auth.dart that imports:
  • package:saimobileapps_common/src/auth/auth_repository.dart that imports:
  • package:saimobileapps_common/storage.dart that imports:
  • package:saimobileapps_common/src/local_storage/auth_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `Linux`.

Because:

  • package:saimobileapps_common/core.dart that imports:
  • package:saimobileapps_common/src/permission/permission_service.dart that imports:
  • package:saimobileapps_common/src/permission/permission_type.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:saimobileapps_common/auth.dart that imports:
  • package:saimobileapps_common/src/auth/auth_repository.dart that imports:
  • package:saimobileapps_common/storage.dart that imports:
  • package:saimobileapps_common/src/local_storage/auth_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `Web`.

Because:

  • package:saimobileapps_common/auth.dart that imports:
  • package:saimobileapps_common/src/auth/auth_repository.dart that imports:
  • package:saimobileapps_common/storage.dart that imports:
  • package:saimobileapps_common/src/local_storage/auth_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.

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:saimobileapps_common/core.dart that imports:
  • package:saimobileapps_common/src/network/network_client.dart that imports:
  • package:saimobileapps_common/network.dart that imports:
  • package:saimobileapps_common/src/network/network.dart that imports:
  • package:saimobileapps_common/src/network/connectivity_info.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus_linux/connectivity_plus_linux.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:saimobileapps_common/core.dart that imports:
  • package:saimobileapps_common/src/network/network_client.dart that imports:
  • package:saimobileapps_common/network.dart that imports:
  • package:saimobileapps_common/src/network/network.dart that imports:
  • package:saimobileapps_common/src/network/connectivity_info.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus_linux/connectivity_plus_linux.dart that declares support for platforms: Linux.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 35 issues. Showing the first 2:

WARNING: The value of the field '_movePathSegment' isn't used.

lib/src/image_service/image_service.dart:19:23

   ╷
19 │   static const String _movePathSegment = "moveca";
   │                       ^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The value of the field '_saiMobileAppsHost' isn't used.

lib/src/image_service/image_service.dart:20:23

   ╷
20 │   static const String _saiMobileAppsHost = "media.saimobileapps.in";
   │                       ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/image_service/image_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
collection ^1.16.0 1.18.0 1.18.0
connectivity_plus ^1.0.4 1.4.0 6.0.3
curl_logger_dio_interceptor ^0.0.3 0.0.3 1.0.0
device_info_plus ^3.2.2 3.2.4 10.1.0
dio ^4.0.6 4.0.6 5.4.3+1
dio_cache_interceptor ^3.2.7 3.4.2 3.5.0
dio_cache_interceptor_file_store ^1.1.0 1.2.2 1.2.3
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^4.2.1 4.2.1 9.0.0
geocoding ^2.0.1 2.2.2 3.0.0
geolocator ^8.2.0 8.2.1 11.0.0
get_it ^7.1.3 7.7.0 7.7.0
image_picker ^0.8.4+4 0.8.9 1.1.1
intl ^0.17.0 0.17.0 0.19.0
jwt_decoder ^2.0.1 2.0.1 2.0.1
map_launcher ^2.2.2 2.5.0+1 3.3.0
package_info_plus ^1.4.0 1.4.2 8.0.0
permission_handler ^8.3.0 8.3.0 11.3.1
url_launcher ^6.0.12 6.2.6 6.2.6
uuid ^3.0.5 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.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
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
dbus - 0.7.4 0.7.10
device_info_plus_linux - 2.1.1 5.0.0
device_info_plus_macos - 2.2.3 5.0.0
device_info_plus_platform_interface - 2.6.1 7.0.0
device_info_plus_web - 2.1.0 5.0.0
device_info_plus_windows - 2.1.1 6.0.0
ffi - 1.2.1 2.1.2
file - 6.1.4 7.0.0
file_selector_linux - 0.9.2+1 0.9.2+1
file_selector_macos - 0.9.3+3 0.9.3+3
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+1 0.9.3+1
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_web_plugins - 0.0.0 0.0.0
geocoding_android - 3.3.0 3.3.0
geocoding_ios - 2.3.0 3.0.1
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 3.2.1 4.5.4
geolocator_apple - 2.3.7 2.3.7
geolocator_platform_interface - 4.2.2 4.2.2
geolocator_web - 2.2.1 3.0.0
geolocator_windows - 0.1.3 0.2.3
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.11 0.8.11
image_picker_for_web - 2.2.0 3.0.4
image_picker_ios - 0.8.10+1 0.8.10+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
nm - 0.5.0 0.5.0
package_info_plus_linux - 1.0.5 2.0.0
package_info_plus_macos - 1.3.0 2.0.0
package_info_plus_platform_interface - 1.0.2 3.0.0
package_info_plus_web - 1.0.6 2.0.0
package_info_plus_windows - 1.0.5 3.0.0
path - 1.9.0 1.9.0
permission_handler_platform_interface - 3.12.0 4.2.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
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
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 2.6.1 5.5.0
xml - 6.5.0 6.5.0

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

Found 13 issues. Showing the first 2:

The constraint `^1.0.4` on connectivity_plus does not support the stable version `2.0.0`.

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

The constraint `^0.0.3` on curl_logger_dio_interceptor does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.