Skip to content

Update to official c2pa 0.0.9 releases (mirror of #6) - #4

Closed
redaranj wants to merge 3 commits into
mainfrom
feature/gp-323
Closed

redaranj wants to merge 3 commits into
mainfrom
feature/gp-323

Conversation

@redaranj

Copy link
Copy Markdown
Owner

Mirror copy of guardianproject#6 (feat/library-updates), plus one fix, so the GP-49 SDK update can stack on it.

What #6 does

It moves the plugin from the redaranj forks to the official contentauth c2pa-android and c2pa-ios 0.0.9 releases. It also adapts to their API changes: URL-typed TSA and remote parameters on iOS, and JsonElement action parameters on Android. Alongside that it adds:

  • getRemoteUrl and isManifestEmbedded
  • a typed C2paSettingsDefinition
  • settingsSetValue on iOS
  • a spec-aligned PredefinedAction list

What this branch adds on top

  • 905d87d (already on #6): dart format on the three files that failed CI's format check, version 0.0.4, and a CHANGELOG entry.
  • b2c6881: the integration test ManifestDefinition.aiGenerated generates correct JSON still expected the removed c2pa.ai_generated action string. It now expects c2pa.created, matching the unit tests.

CI

On #6 (run 45897744752), every job except the integration tests passes: Analyze, Unit Tests, Build Android, Build iOS and Publish Check. The integration tests ran 22 tests per platform; 21 passed and the one failure on each platform is the test b2c6881 fixes.

b2c6881 is not on origin yet and is unsigned; it needs re-signing before it goes to #6.

Apply dart format to the three files the CI format check rejected, and add the 0.0.4 changelog entry covering the move to the official c2pa-android/c2pa-ios 0.0.9 releases and the API changes that came with it.
ManifestDefinition.aiGenerated now emits a c2pa.created action with the trainedAlgorithmicMedia source type, so the integration test was still asserting the removed c2pa.ai_generated string and failed on both platforms.
@redaranj

Copy link
Copy Markdown
Owner Author

Promoted to guardianproject#6 (the re-signed commit is now on its branch).

@redaranj redaranj closed this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant