discord_rpc 0.0.2 copy "discord_rpc: ^0.0.2" to clipboard
discord_rpc: ^0.0.2 copied to clipboard

discontinued
PlatformLinuxWindows

Discord Rich Presence for Flutter & Dart apps & games. Updated ffi version.

1
likes
130/ 160
pub points
60%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/alexmercerind/discord_rpc was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/alexmercerind/discord_rpc was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

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: discord_rpc,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

30 out of 139 API elements (21.6 %) have documentation comments.

Some symbols that are missing documentation: bindings, bindings.DISCORD_REPLY_IGNORE, bindings.DISCORD_REPLY_NO, bindings.DISCORD_REPLY_YES, bindings.DiscordEventHandlers.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

  • ✓ Linux

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:discord_rpc/discord_rpc.dart that declares support for platforms: Windows, Linux.
Package does not support platform `iOS`.

Because:

  • package:discord_rpc/discord_rpc.dart that declares support for platforms: Windows, Linux.
Package does not support platform `macOS`.

Because:

  • package:discord_rpc/discord_rpc.dart that declares support for platforms: Windows, Linux.
Package does not support platform `Web`.

Because:

  • package:discord_rpc/discord_rpc.dart that declares support for platforms: Windows, Linux.

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 95 issues. Showing the first 2:

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

lib/generated/bindings.dart:158:8

    ╷
158 │   @ffi.Array.multi([2])
    │        ^^^^^
    ╵

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

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

lib/generated/bindings.dart:158:14

    ╷
158 │   @ffi.Array.multi([2])
    │              ^^^^^
    ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^2.0.1 2.1.3 2.1.3
path ^1.8.2 1.9.1 1.9.1

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

1
likes
130
pub points
60%
popularity

Publisher

unverified uploader

Discord Rich Presence for Flutter & Dart apps & games. Updated ffi version.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ffi, path

More

Packages that depend on discord_rpc