oauth_webauth 5.0.0+1 oauth_webauth: ^5.0.0+1 copied to clipboard
This plugin provides an alternative to AppAuth using WebView for OAuth 2.0 authorization/authentication.
We analyzed this package 9 hours ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
.
10/10 points: 20% or more of the public API has dartdoc comments
43 out of 163 API elements (26.4 %) have documentation comments.
Some symbols that are missing documentation: oauth_webauth
, oauth_webauth.BaseConfiguration
, oauth_webauth.BaseConfiguration.BaseConfiguration
, oauth_webauth.BaseConfiguration.backButtonTooltip
, oauth_webauth.BaseConfiguration.backButtonTooltipKey
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:oauth_webauth/oauth_webauth.dart
that imports:package:oauth_webauth/src/base_web_view.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:oauth_webauth/oauth_webauth.dart
that imports:package:oauth_webauth/src/base_web_view.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that imports:package:flutter_inappwebview/src/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dart
that imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart
that imports:package:flutter_inappwebview_platform_interface/src/main.dart
that imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: The named parameter 'size' isn't defined.
lib/src/utils/widget_utils.dart:49:9
╷
49 │ size: logicalSize,
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/widget_utils.dart
INFO: 'PopInvokedCallback' is deprecated and shouldn't be used. Use PopWithResultInvokedCallback instead. This feature was deprecated after v3.22.0-12.0.pre.
lib/src/utils/custom_pop_scope.dart:14:9
╷
14 │ final PopInvokedCallback? onPopInvoked;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/custom_pop_scope.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 |
flutter_web_plugins |
flutter |
0.0.0 | 0.0.0 |
http |
>=0.13.0 <2.0.0 |
1.2.2 | 1.2.2 |
oauth2 |
^2.0.0 |
2.0.3 | 2.0.3 |
shared_preferences |
^2.0.0 |
2.3.2 | 2.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_NAMED_PARAMETER
-lib/src/utils/widget_utils.dart:49:9
- The named parameter 'size' isn't defined.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.13
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.