discord_rpc 0.0.2
discord_rpc: ^0.0.2 copied to clipboard
Discord Rich Presence for Flutter & Dart apps & games. Updated ffi version.
We analyzed this package 33 hours ago, and awarded it 130 pub points (of a possible 160):
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.
- contains
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
.
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
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.
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
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.0 | 1.9.0 |
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.12
, Flutter 3.24.1
, Dart 3.5.1
.
Check the analysis log for details.