magic_sdk 6.0.1 copy "magic_sdk: ^6.0.1" to clipboard
magic_sdk: ^6.0.1 copied to clipboard

This is your entry-point to secure, passwordless authentication for your iOS or Android-based Flutter app.

105/ 160
pub points
117
downloads

We analyzed this package 2 days 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 ("6.0.1").

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.

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

65 out of 197 API elements (33.0 %) have documentation comments.

Some symbols that are missing documentation: DPop, DPop.base64UrlEncoded, DPop.createJwt, auth_module, base_configuration.

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_sdk/magic_sdk.dart that imports:
  • package:magic_sdk/modules/web3/magic_credential.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:magic_sdk/relayer/webview.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_sdk/magic_sdk.dart that imports:
  • package:magic_sdk/modules/web3/magic_credential.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:magic_sdk/relayer/webview.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_sdk/magic_sdk.dart that imports:
  • package:magic_sdk/modules/web3/magic_credential.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_sdk/magic_sdk.dart that imports:
  • package:magic_sdk/modules/web3/magic_credential.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 `macOS`.

Because:

  • package:magic_sdk/magic_sdk.dart that imports:
  • package:magic_sdk/modules/web3/magic_credential.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:magic_sdk/relayer/types/DPop.dart that imports:
  • package:secp256r1/secp256r1.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:magic_sdk/magic_sdk.dart that imports:
  • package:magic_sdk/modules/web3/magic_credential.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 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 10 issues. Showing the first 2:

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <4.0.0' don't guarantee it.

lib/modules/base_module.dart:17:17

   ╷
17 │       {required Enum method, List<dynamic>? params}) async {
   │                 ^^^^
   ╵

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

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <4.0.0' don't guarantee it.

lib/modules/base_module.dart:25:17

   ╷
25 │       {required Enum method, Map<String, dynamic>? params}) async {
   │                 ^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/modules/base_module.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
blockchain_signer ^0.1.0 0.1.0 0.1.0
crypto ^3.0.3 3.0.7 3.0.7
json_annotation ^4.5.0 4.10.0 4.10.0
package_info_plus ^4.2.0 4.2.0 9.0.0
secp256r1 ^0.1.0-dev.7 0.1.0-dev.9 0.1.0-dev.9
uuid ^3.0.7 3.0.7 4.5.2
web3dart 2.7.0 2.7.0 3.0.2
webview_flutter ^4.2.0 4.9.0 4.13.1
webview_flutter_android ^3.9.3 3.16.9 4.10.11
webview_flutter_wkwebview ^3.7.3 3.23.5 3.23.5
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
bs58check - 1.0.2 1.0.2
build_cli_annotations - 2.1.1 2.1.1
cbor - 4.1.0 6.5.0
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.5 2.1.5
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
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
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 6.0.0
recase - 4.1.0 4.1.0
sec - 1.1.0 1.1.1
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
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
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
webview_flutter_platform_interface - 2.14.0 2.14.0
win32 - 5.15.0 5.15.0

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

Found 4 issues. Showing the first 2:

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.

The constraint `^3.0.7` on uuid does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions uuid 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.8, Flutter 3.38.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
23
likes
105
points
117
downloads

Publisher

verified publishermagic.link

Weekly Downloads

This is your entry-point to secure, passwordless authentication for your iOS or Android-based Flutter app.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

blockchain_signer, crypto, flutter, json_annotation, package_info_plus, secp256r1, uuid, web3dart, webview_flutter, webview_flutter_android, webview_flutter_wkwebview

More

Packages that depend on magic_sdk