xmtp 1.3.1 copy "xmtp: ^1.3.1" to clipboard
xmtp: ^1.3.1 copied to clipboard

XMTP client SDK for Flutter applications.

5
likes
120/ 160
pub points
96
downloads

We analyzed this package 4 hours ago, and awarded it 120 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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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

5826 out of 8349 API elements (69.8 %) have documentation comments.

Some symbols that are missing documentation: xmtp.Api.Api.create, xmtp.Api.Api.createAdvanced, xmtp.Api.clearAuthTokenProvider, xmtp.Api.client, xmtp.Api.setAuthTokenProvider.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:xmtp/xmtp.dart that imports:
  • package:xmtp/src/client.dart that imports:
  • package:xmtp/src/conversation/manager.dart that imports:
  • package:xmtp/src/conversation/conversation_v2.dart that imports:
  • package:xmtp/src/common/api.dart that imports:
  • package:grpc/grpc.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:xmtp/xmtp.dart that imports:
  • package:xmtp_proto/xmtp_proto.dart that imports:
  • package:xmtp_proto/src/message_api/v1/message_api.pbgrpc.dart that imports:
  • package:grpc/service_api.dart that imports:
  • package:grpc/src/server/service.dart that imports:
  • package:grpc/src/server/call.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits_io.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 9 issues. Showing the first 2:

WARNING: The method doesn't override an inherited method.

lib/src/client.dart:315:25

    ╷
315 │   Future<Conversation?> decryptConversation(
    │                         ^^^^^^^^^^^^^^^^^^^
    ╵
copied to clipboard

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

WARNING: The method doesn't override an inherited method.

lib/src/client.dart:328:27

    ╷
328 │   Future<DecodedMessage?> decryptMessage(
    │                           ^^^^^^^^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client.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
async ^2.10.0 2.13.0 2.13.0
cryptography ^2.5.0 2.7.0 2.7.0
cryptography_flutter ^2.3.0 2.3.2 2.3.2
fixnum ^1.1.0 1.1.1 1.1.1
grpc ^3.1.0 3.2.4 4.0.4
pointycastle ^3.6.2 3.9.1 4.0.0
quiver ^3.2.1 3.2.2 3.2.2
web3dart ^2.6.1 2.7.3 2.7.3
xmtp_proto ^3.23.0 3.33.0 3.33.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.5
args - 2.7.0 2.7.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.2
ffi - 2.1.4 2.1.4
google_identity_services_web - 0.3.3 0.3.3
googleapis_auth - 1.6.0 2.0.0
http - 1.3.0 1.3.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_rpc_2 - 3.0.3 3.0.3
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
protobuf - 2.1.0 4.0.0
sec - 1.1.0 1.1.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
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.4 0.7.4
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
wallet - 0.0.13 0.0.13
web - 1.1.1 1.1.1

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

The constraint `^3.1.0` on grpc does not support the stable version `4.0.0`.

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

The constraint `^3.6.2` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle 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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 10020406080100120140>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0
5
likes
120
points
96
downloads

Publisher

verified publisherxmtp.org

Weekly Downloads

2024.09.16 - 2025.03.31

XMTP client SDK for Flutter applications.

Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

async, cryptography, cryptography_flutter, fixnum, flutter, grpc, pointycastle, quiver, web3dart, xmtp_proto

More

Packages that depend on xmtp