aad_b2c_webview 0.1.3 copy "aad_b2c_webview: ^0.1.3" to clipboard
aad_b2c_webview: ^0.1.3 copied to clipboard

A simple Flutter package which embeds webview for accessing Azure AD B2C user flow endpoint.

110/ 160
pub points
961
downloads

We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

718 out of 1016 API elements (70.7 %) have documentation comments.

Some symbols that are missing documentation: aad_b2c_webview, aad_b2c_webview.AADB2CBase, aad_b2c_webview.AADB2CBase.AADB2CBase.button, aad_b2c_webview.AADB2CBase.AADB2CBase.custom, aad_b2c_webview.AADB2CBase.AADB2CBase.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:aad_b2c_webview/aad_b2c_webview.dart that imports:
  • package:aad_b2c_webview/src/src.dart that imports:
  • package:aad_b2c_webview/src/core/core_export.dart that imports:
  • package:aad_b2c_webview/src/core/dependencies_export.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:aad_b2c_webview/aad_b2c_webview.dart that imports:
  • package:aad_b2c_webview/src/src.dart that imports:
  • package:aad_b2c_webview/src/core/core_export.dart that imports:
  • package:aad_b2c_webview/src/core/dependencies_export.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:aad_b2c_webview/aad_b2c_webview.dart that imports:
  • package:aad_b2c_webview/src/src.dart that imports:
  • package:aad_b2c_webview/src/core/core_export.dart that imports:
  • package:aad_b2c_webview/src/core/dependencies_export.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:aad_b2c_webview/aad_b2c_webview.dart that imports:
  • package:aad_b2c_webview/src/src.dart that imports:
  • package:aad_b2c_webview/src/core/core_export.dart that imports:
  • package:aad_b2c_webview/src/core/dependencies_export.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:aad_b2c_webview/aad_b2c_webview.dart that imports:
  • package:aad_b2c_webview/src/src.dart that imports:
  • package:aad_b2c_webview/src/core/core_export.dart that imports:
  • package:aad_b2c_webview/src/core/dependencies_export.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:aad_b2c_webview/aad_b2c_webview.dart that imports:
  • package:aad_b2c_webview/src/src.dart that imports:
  • package:aad_b2c_webview/src/core/core_export.dart that imports:
  • package:aad_b2c_webview/src/core/dependencies_export.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:aad_b2c_webview/aad_b2c_webview.dart that imports:
  • package:aad_b2c_webview/src/src.dart that imports:
  • package:aad_b2c_webview/src/core/core_export.dart that imports:
  • package:aad_b2c_webview/src/core/dependencies_export.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that imports:
  • package:webview_flutter_android/src/android_webview_platform.dart that imports:
  • package:webview_flutter_android/src/android_webview_cookie_manager.dart that imports:
  • package:webview_flutter_android/src/android_webview_controller.dart that imports:
  • package:webview_flutter_android/src/android_webkit_constants.dart that imports:
  • package:webview_flutter_android/src/android_webkit.g.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

WARNING: Two keys in a map literal shouldn't be equal.

lib/src/data/datasources/remote/b2c_auth_datasource_impl.dart:36:7

   ╷
36 │       'scope': params.providedScopes,
   │       ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/datasources/remote/b2c_auth_datasource_impl.dart

INFO: Dangling library doc comment.

lib/src/core/web/core_export_web.dart:1:1

  ╷
1 │ /// It will be developed in the next version
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
get_it ^7.7.0 7.7.0 8.2.0
http ^1.2.2 1.5.0 1.5.0
pkce ^1.1.0+1 1.1.0+1 1.1.0+1
webview_flutter ^4.10.0 4.13.0 4.13.0
webview_flutter_android ^4.2.0 4.10.2 4.10.2
webview_flutter_platform_interface ^2.10.0 2.14.0 2.14.0
webview_flutter_wkwebview ^3.18.4 3.23.0 3.23.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^7.7.0` on get_it does not support the stable version `8.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
25
likes
110
points
961
downloads

Publisher

verified publishermicrosoft.com

Weekly Downloads

A simple Flutter package which embeds webview for accessing Azure AD B2C user flow endpoint.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get_it, http, pkce, webview_flutter, webview_flutter_android, webview_flutter_platform_interface, webview_flutter_wkwebview

More

Packages that depend on aad_b2c_webview