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

Maintained fork of magic_sdk (magiclabs/magic-flutter) with an iOS relayer WebView fix so OAuth and email-OTP logins no longer hang. Passwordless auth for Flutter.

100/ 160
pub points
60
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: magic_flutter_v2.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: magic_flutter_v2,
    • contains a version property, and,
    • does not contain a publish_to property.

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: 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_flutter_v2/magic_flutter_v2.dart that imports:
  • package:magic_flutter_v2/modules/web3/magic_credential.dart that imports:
  • package:magic_flutter_v2/provider/rpc_provider.dart that imports:
  • package:magic_flutter_v2/relayer/webview.dart that imports:
  • package:magic_flutter_v2/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_flutter_v2/magic_flutter_v2.dart that imports:
  • package:magic_flutter_v2/modules/web3/magic_credential.dart that imports:
  • package:magic_flutter_v2/provider/rpc_provider.dart that imports:
  • package:magic_flutter_v2/relayer/webview.dart that imports:
  • package:magic_flutter_v2/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_flutter_v2/magic_flutter_v2.dart that imports:
  • package:magic_flutter_v2/modules/web3/magic_credential.dart that imports:
  • package:magic_flutter_v2/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_flutter_v2/magic_flutter_v2.dart that imports:
  • package:magic_flutter_v2/modules/web3/magic_credential.dart that imports:
  • package:magic_flutter_v2/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_flutter_v2/magic_flutter_v2.dart that imports:
  • package:magic_flutter_v2/modules/web3/magic_credential.dart that imports:
  • package:magic_flutter_v2/provider/rpc_provider.dart that imports:
  • package:magic_flutter_v2/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_flutter_v2/magic_flutter_v2.dart that imports:
  • package:magic_flutter_v2/modules/web3/magic_credential.dart that imports:
  • package:magic_flutter_v2/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.12.0 4.12.0
package_info_plus ^4.2.0 4.2.0 10.2.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.3
web3dart 2.7.0 2.7.0 3.0.3
webview_flutter ^4.2.0 4.9.0 4.14.1
webview_flutter_android ^3.9.3 3.16.9 4.13.0
webview_flutter_wkwebview ^3.7.3 3.26.0 3.26.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.9
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
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.1
characters - 1.4.1 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.2.0 2.2.0
fixnum - 1.1.1 1.1.1
flutter_rust_bridge - 2.12.0 2.12.0
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.1.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.19.0
package_info_plus_platform_interface - 2.0.1 4.1.0
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.2 1.10.2
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.4.0
wallet - 0.0.13 0.0.18
web - 1.1.1 1.1.1
webview_flutter_platform_interface - 2.15.1 2.15.1
win32 - 5.15.0 6.3.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.14, Flutter 3.44.4, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
60
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Maintained fork of magic_sdk (magiclabs/magic-flutter) with an iOS relayer WebView fix so OAuth and email-OTP logins no longer hang. Passwordless auth for Flutter.

Topics

#authentication #passwordless #web3 #wallet #oauth

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_flutter_v2