magic_ext_oauth 0.4.7 copy "magic_ext_oauth: ^0.4.7" to clipboard
magic_ext_oauth: ^0.4.7 copied to clipboard

A Magic oauth extension to support Magic social login authentication

105/ 160
pub points
64
downloads

We analyzed this package 25 hours ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.4.7").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: Apache-2.0.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

9 out of 85 API elements (10.6 %) 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: magic_ext_oauth, magic_ext_oauth.MagicOAuthExtension.oauth, magic_ext_oauth.OAuthExtension.OAuthExtension.new, magic_ext_oauth.OAuthExtension.provider, magic_ext_oauth.OAuthExtension.sendToProviderWithMap.

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:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:magic_ext_oauth/magic_ext_oauth.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 13 issues. Showing the first 2:

INFO: The constant name 'GOOGLE' isn't a lowerCamelCase identifier.

lib/oauth_configuration.dart:17:3

   ╷
17 │   GOOGLE,
   │   ^^^^^^
   ╵

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

INFO: The constant name 'FACEBOOK' isn't a lowerCamelCase identifier.

lib/oauth_configuration.dart:18:3

   ╷
18 │   FACEBOOK,
   │   ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/oauth_configuration.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
crypto ^3.0.1 3.0.7 3.0.7
flutter_web_auth ^0.5.0 0.5.0 0.6.0
json_annotation ^4.5.0 4.9.0 4.9.0
magic_sdk ^6.0.0 6.0.1 6.0.1
package_info_plus ^4.2.0 4.2.0 9.0.0
uri ^1.0.0 1.0.0 1.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
agent_dart - 1.0.0-dev.40 1.0.0-dev.40
agent_dart_base - 1.0.0-dev.35 1.0.0-dev.40
agent_dart_ffi - 1.0.0-dev.40 1.0.0-dev.40
archive - 3.6.1 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bip32 - 2.0.0 2.0.0
bip39 - 1.0.6 1.0.6
blockchain_signer - 0.1.0 0.1.0
boolean_selector - 2.1.2 2.1.2
bs58check - 1.0.2 1.0.2
build_cli_annotations - 2.1.1 2.1.1
cbor - 4.1.0 6.3.7
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.3
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_rust_bridge - 2.11.1 2.11.1
freezed_annotation - 2.4.4 3.1.0
hex - 0.2.0 0.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
json_rpc_2 - 3.0.3 4.0.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
package_info_plus_platform_interface - 2.0.1 3.2.1
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
protobuf - 3.1.0 5.1.0
quiver - 3.2.2 3.2.2
recase - 4.1.0 4.1.0
sec - 1.1.0 1.1.1
secp256r1 - 0.1.0-dev.9 0.1.0-dev.9
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.8 0.7.8
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.2
validators - 3.0.0 3.0.0
vector_math - 2.2.0 2.2.0
wallet - 0.0.13 0.0.18
web - 1.1.1 1.1.1
web3dart - 2.7.0 3.0.1
webview_flutter - 4.9.0 4.13.0
webview_flutter_android - 3.16.9 4.10.5
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.23.2 3.23.2
win32 - 5.15.0 5.15.0

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

The constraint `^0.5.0` on flutter_web_auth does not support the stable version `0.6.0`.

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

The constraint `^4.2.0` on package_info_plus does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions package_info_plus 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.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
105
points
64
downloads

Publisher

verified publishermagic.link

Weekly Downloads

A Magic oauth extension to support Magic social login authentication

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

crypto, flutter, flutter_web_auth, json_annotation, magic_sdk, package_info_plus, uri

More

Packages that depend on magic_ext_oauth