Skip to content

fix(ohos): align alpha bindings, C headers and API docs - #135

Merged
Shinokawa merged 2 commits into
mainfrom
codex/api-alignment-audit
Sep 7, 2026
Merged

Shinokawa merged 2 commits into
mainfrom
codex/api-alignment-audit

Conversation

@Shinokawa

@Shinokawa Shinokawa commented Sep 7, 2026

Copy link
Copy Markdown
Member

OpenHarmony discarded videoAlphaMode before presenter creation, so transparent video requests always used opaque mode. Forward the optional parameter through both Flutter and standalone OHPM bindings, retaining the three-argument default.

Synchronize the OHPM header mirror and correct English, Chinese and Japanese API documentation, including synchronous open behavior, Windows texture ownership and the v0.1.8 configuration ABI change. Add focused header/signature checks and execute both native creation functions with a fake N-API host to verify forwarding and legacy behavior.

Validation: five focused tests pass; the unmodified v0.1.8 native functions fail the new alpha assertion. Workflow actionlint and whitespace checks pass. The v0.1.8 OHOS runtime exports all 96 expected C symbols. Device rendering is not verified.

The manual OHPM workflow can also build the Flutter bridge while reusing the existing v0.1.8 core. It saves the bridge and matching source as separate artifacts. Version numbers and existing release assets stay unchanged. The maintainer requested a narrow rebuild, so automatic matrices are skipped for this merge; the targeted OHOS package workflow will run explicitly.

@Shinokawa
Shinokawa merged commit 905d5fc into main Sep 7, 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