nui_auth 1.0.3 copy "nui_auth: ^1.0.3" to clipboard
nui_auth: ^1.0.3 copied to clipboard

A new Flutter package for authentication

0
likes
70/ 140
pub points
49%
popularity

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

Homepage URL doesn't exist.

At the time of the analysis http://dev.g-i.com.my/istudio/docs/core/overview/ was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://neohwei@bitbucket.org/myinglab/flutterstudio.git 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: nui_auth,
    • 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

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

3 out of 548 API elements (0.5 %) 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: data_result_factory, data_result_factory.DataResultFactory, data_result_factory.DataResultFactory.DataResultFactory, data_result_factory.DataResultFactory.defineDataResult, nui_apple_login_result.

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:nui_auth/nui_auth.dart that imports:
  • package:nui_auth/result/nui_google_login_result.dart that imports:
  • package:nui_core/data/nui_ent.dart that imports:
  • package:nui_core/datetime/nui_dt_util.dart that imports:
  • package:nui_core/ui/component/nui_bottom_sheet_widget.dart that imports:
  • package:nui_core/nui_core.dart that imports:
  • package:nui_core/ui/nui_image_util.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:nui_auth/nui_auth.dart that imports:
  • package:nui_auth/result/nui_google_login_result.dart that imports:
  • package:nui_core/data/nui_ent.dart that imports:
  • package:nui_core/datetime/nui_dt_util.dart that imports:
  • package:nui_core/ui/component/nui_bottom_sheet_widget.dart that imports:
  • package:nui_core/nui_core.dart that imports:
  • package:nui_core/ui/nui_permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
Package does not support platform `macOS`.

Because:

  • package:nui_auth/nui_auth.dart that imports:
  • package:nui_auth/result/nui_google_login_result.dart that imports:
  • package:nui_core/data/nui_ent.dart that imports:
  • package:nui_core/datetime/nui_dt_util.dart that imports:
  • package:nui_core/ui/component/nui_bottom_sheet_widget.dart that imports:
  • package:nui_core/nui_core.dart that imports:
  • package:nui_core/ui/nui_permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
Package does not support platform `Web`.

Because:

  • package:nui_auth/nui_auth.dart that imports:
  • package:nui_auth/result/nui_google_login_result.dart that imports:
  • package:nui_core/data/nui_ent.dart that imports:
  • package:nui_core/datetime/nui_dt_util.dart that imports:
  • package:nui_core/ui/component/nui_bottom_sheet_widget.dart that imports:
  • package:nui_core/nui_core.dart that imports:
  • package:nui_core/ui/nui_permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.

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:nui_auth/nui_auth.dart that imports:
  • package:nui_auth/web/nui_auth_api.dart that imports:
  • package:nui_auth/domain/nui_user_info.dart that imports:
  • package:nui_geolocator/nui_geolocator.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:nui_auth/nui_auth.dart that imports:
  • package:nui_auth/web/nui_auth_api.dart that imports:
  • package:nui_auth/domain/nui_user_info.dart that imports:
  • package:nui_geolocator/nui_geolocator.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_android/geolocator_android.dart that declares support for platforms: Android.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 31 issues. Showing the first 2:

WARNING: The stack trace variable 's' isn't used and can be removed.

lib/bridge/nui_auth_bridge.dart:80:17

   ╷
80 │       }catch(e, s){
   │                 ^
   ╵

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

WARNING: The value of the local variable 'result' isn't used.

lib/bridge/nui_auth_bridge.dart:231:11

    ╷
231 │     final result = await _getModuleInstance().loginWithGoogle();
    │           ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/bridge/nui_auth_bridge.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
crypto ^3.0.1 3.0.3 3.0.3
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^8.0.0 8.1.0 9.1.1
google_sign_in ^6.1.0 6.2.1 6.2.1
http ^0.13.5 0.13.6 1.2.1
jwt_decoder ^2.0.1 2.0.1 2.0.1
nui_core ^1.0.4 1.0.20 1.0.20
nui_geolocator ^1.0.3 1.0.4 1.0.4
nui_web ^1.0.2 1.0.4 1.0.4
permission_handler ^10.2.0 10.4.5 11.3.1
sign_in_with_apple ^4.3.0 4.3.0 6.1.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
cached_network_image - 3.3.1 3.3.1
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
connectivity_plus - 3.0.6 6.0.3
connectivity_plus_platform_interface - 1.2.4 2.0.0
cryptography - 2.7.0 2.7.0
cryptography_flutter - 2.3.2 2.3.2
csslib - 1.0.0 1.0.0
dart_ipify - 1.1.1 1.1.1
dbus - 0.7.10 0.7.10
device_info_plus - 8.2.2 10.1.0
device_info_plus_platform_interface - 7.0.0 7.0.0
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
flutter_cache_manager - 3.3.1 3.3.2
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.0 3.1.0
flutter_secure_storage_platform_interface - 1.1.1 1.1.1
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 2.1.1 3.1.2
flutter_svg - 2.0.9 2.0.10+1
flutter_web_plugins - 0.0.0 0.0.0
geocoding - 2.2.2 3.0.0
geocoding_android - 3.3.1 3.3.1
geocoding_ios - 2.3.0 3.0.1
geocoding_platform_interface - 3.2.0 3.2.0
geolocator - 9.0.2 11.0.0
geolocator_android - 4.3.1 4.5.5
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
google_identity_services_web - 0.3.1+1 0.3.1+1
google_sign_in_android - 6.1.23 6.1.23
google_sign_in_ios - 5.7.6 5.7.6
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4 0.12.4
html - 0.15.4 0.15.4
http_parser - 4.0.2 4.0.2
intl - 0.18.1 0.19.0
ios_utsname_ext - 2.3.0 2.3.0
js - 0.6.7 0.7.1
line_awesome_flutter - 2.0.0 2.0.0
location - 4.4.0 6.0.2
location_platform_interface - 2.3.0 4.0.0
location_web - 3.1.1 5.0.1
map_launcher - 2.5.0+1 3.3.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
nm - 0.5.0 0.5.0
octo_image - 2.0.0 2.0.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.4.0 2.4.0
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
permission_handler_android - 10.3.6 12.0.6
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.27.7
shared_preferences - 2.2.3 2.2.3
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.4.0 2.4.0
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
shimmer - 2.0.0 3.0.0
sign_in_with_apple_platform_interface - 1.1.0 1.1.0
sign_in_with_apple_web - 1.0.1 2.1.0
skeleton_loader - 2.0.0+4 2.0.0+4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.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 - 6.2.6 6.2.6
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 - 3.0.7 4.4.0
vector_graphics - 1.1.10+1 1.1.11+1
vector_graphics_codec - 1.1.10+1 1.1.11+1
vector_graphics_compiler - 1.1.10+1 1.1.11+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 4.1.4 5.5.0
xdg_directories - 1.0.4 1.0.4
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 `^8.0.0` on flutter_secure_storage does not support the stable version `9.0.0`.

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

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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.