frappe_oauth2_flutter_sdk 0.1.4
frappe_oauth2_flutter_sdk: ^0.1.4 copied to clipboard
A comprehensive Flutter SDK for Frappe OAuth2 authentication with automatic platform configuration and token management.
We analyzed this package in the last hour, and awarded it 120 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
178 out of 224 API elements (79.5 %) have documentation comments.
Some symbols that are missing documentation: auth_result, auth_result.AuthResult.isCancelled, auth_result.AuthResult.isFailure, frappe_auth_exception, frappe_auth_exception.FrappeAuthException.FrappeAuthException.new.
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:frappe_oauth2_flutter_sdk/frappe_oauth2_flutter_sdk.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:frappe_oauth2_flutter_sdk/frappe_oauth2_flutter_sdk.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:frappe_oauth2_flutter_sdk/frappe_oauth2_flutter_sdk.dartthat declares support for platforms:Android,iOS,Web.
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:frappe_oauth2_flutter_sdk/frappe_oauth2_flutter_sdk.dartthat imports:package:frappe_oauth2_flutter_sdk/frappe_oauth_client_simple.dartthat imports:package:frappe_oauth2_flutter_sdk/services/web_auth_service.dartthat imports:package:flutter_web_auth_2/flutter_web_auth_2.dartthat imports:package:flutter_web_auth_2/src/linows.dartthat imports:package:flutter_web_auth_2/src/webview.dartthat imports:package:desktop_webview_window/desktop_webview_window.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:frappe_oauth2_flutter_sdk/frappe_oauth2_flutter_sdk.dartthat imports:package:frappe_oauth2_flutter_sdk/frappe_oauth_client_simple.dartthat imports:package:frappe_oauth2_flutter_sdk/services/web_auth_service.dartthat imports:package:flutter_web_auth_2/flutter_web_auth_2.dartthat imports:package:flutter_web_auth_2/src/linows.dartthat imports:package:flutter_web_auth_2/src/webview.dartthat imports:package:desktop_webview_window/desktop_webview_window.dartthat declares support for platforms:Windows,Linux,macOS.
Package not compatible with platform Web
Because:
package:frappe_oauth2_flutter_sdk/frappe_oauth2_flutter_sdk.dartthat imports:package:frappe_oauth2_flutter_sdk/services/network_service.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:frappe_oauth2_flutter_sdk/frappe_oauth2_flutter_sdk.dartthat imports:package:frappe_oauth2_flutter_sdk/services/network_service.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/frappe_oauth2_flutter_sdk/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: The declaration '_$TokenResponseFromJson' isn't referenced.
lib/models/token_response.g.dart:9:15
╷
9 │ TokenResponse _$TokenResponseFromJson(Map<String, dynamic> json) =>
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/token_response.g.dart
WARNING: The declaration '_$UserInfoFromJson' isn't referenced.
lib/models/user_info.g.dart:9:10
╷
9 │ UserInfo _$UserInfoFromJson(Map<String, dynamic> json) => UserInfo(
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/user_info.g.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
flutter_secure_storage |
^9.0.0 |
9.2.4 | 10.0.0 | |
flutter_web_auth_2 |
^4.1.0 |
4.1.0 | 5.0.1 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.9.0 |
4.11.0 | 4.11.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.2.0 |
2.5.5 | 2.5.5 | |
uuid |
^4.1.0 |
4.5.3 | 4.5.3 | |
web |
^1.0.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
desktop_webview_window |
- | 0.2.3 | 0.2.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_secure_storage_linux |
- | 1.2.3 | 3.0.0 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.1.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.1.0 | |
flutter_web_auth_2_platform_interface |
- | 4.1.0 | 5.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.2 | 1.0.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
native_toolchain_c |
- | 0.17.6 | 0.17.6 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
shared_preferences_android |
- | 2.4.23 | 2.4.23 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.2 | 6.3.2 | |
url_launcher_android |
- | 6.3.29 | 6.3.29 | |
url_launcher_ios |
- | 6.4.1 | 6.4.1 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.2 | 2.4.2 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
win32 |
- | 5.15.0 | 6.0.1 | |
window_to_front |
- | 0.0.3 | 0.0.3 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^9.0.0` on flutter_secure_storage does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage to update the constraint.
The constraint `^4.1.0` on flutter_web_auth_2 does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions flutter_web_auth_2 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.23.12, Flutter 3.41.6, Dart 3.11.4.
Check the analysis log for details.