nui_auth 1.0.3 nui_auth: ^1.0.3 copied to clipboard
A new Flutter package for authentication
We analyzed this package 30 hours ago, and awarded it 90 pub points (of a possible 160):
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.
- contains
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.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 547 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
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.
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
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
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:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
crypto |
^3.0.1 |
3.0.6 | 3.0.6 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 9.2.3 |
google_sign_in |
^6.1.0 |
6.2.2 | 6.2.2 |
http |
^0.13.5 |
0.13.6 | 1.2.2 |
jwt_decoder |
^2.0.1 |
2.0.1 | 2.0.1 |
nui_core |
^1.0.4 |
1.0.24 | 1.1.15 |
nui_geolocator |
^1.0.3 |
1.0.4 | 1.0.4 |
nui_web |
^1.0.2 |
1.0.19 | 1.1.6 |
permission_handler |
^10.2.0 |
10.4.5 | 11.3.1 |
sign_in_with_apple |
^4.3.0 |
4.3.0 | 6.1.4 |
Transitive dependencies
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.