Skip to main content

c2pa_flutter 0.1.0 copy "c2pa_flutter: ^0.1.0" to clipboard
c2pa_flutter: ^0.1.0 copied to clipboard

Combined read/write C2PA Flutter plugin with manifest signing and certificate management. Uses the official c2pa-rs Rust library via FFI.

130/ 160
pub points
78
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/Township-Innovation/c2pa_flutter 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/Township-Innovation/c2pa_flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Township-Innovation/c2pa_flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

208 out of 224 API elements (92.9 %) have documentation comments.

Some symbols that are missing documentation: action, c2pa, c2pa_exception, c2pa_flutter.C2paReader.C2paReader.new, c2pa_flutter.C2paSigner.C2paSigner.new.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

  • package:c2pa_flutter/c2pa_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:c2pa_flutter/c2pa_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:c2pa_flutter/c2pa_flutter.dart that declares support for platforms: Android, iOS.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors 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

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/writer/c2pa_writer.dart:65:9

   ╷
65 │         return _signWithCallback(
   │         ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/writer/c2pa_writer.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
equatable ^2.0.7 2.1.0 3.0.0
flutter_rust_bridge ^2.11.1 2.13.0 2.13.0
http ^1.3.0 1.6.0 1.6.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
build_cli_annotations - 2.1.1 2.1.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
listen - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2

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

The constraint `^2.0.7` on equatable does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions equatable 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.19, Flutter 3.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
78
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Combined read/write C2PA Flutter plugin with manifest signing and certificate management. Uses the official c2pa-rs Rust library via FFI.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

equatable, flutter, flutter_rust_bridge, http, plugin_platform_interface

More

Packages that depend on c2pa_flutter

Packages that implement c2pa_flutter