Repository navigation
feat(demo): add app-local Web and SwiftUI Native UI Extension demo - #277
Merged
Merged
Conversation
Contributor
Author
|
/devin レビューして |
Contributor
Contributor
レビュー結果修正必須の新規指摘はありません。
今回の検証
ブラウザー E2E と iOS Simulator は今回未実行です。SwiftUI 側はコードレビューのみで、PR 本文にある Simulator 結果をこちらで再検証したものではありません。また、現在の対象ブランチでは PR CI が起動しておらず、チェックは 0 件です。 コード変更・push は行っていません。 |
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a Native UI Extension demo under Index that projects an ordinary Web element into an app-local SwiftUI Now Playing view. The toggle switches between Web and native rendering while preserving playback state. Native rendering uses the Web element's frame and works with both ordinary tabs and Vertical Bars on supported iOS versions.
This PR is stacked on #276 and targets
feat/native-ui-extensions. All feature code stays in the demo application; no separate npm package, Capacitor plugin, or player-specific shared shell API is added.Implementation
data-title,data-artist, anddata-playing; actions return to the Web-owned state.tab-accessoryseparately; this sample does not require it.Validation
UI example only: no audio engine is started and elapsed time is fixed. See
docs/native-mini-player.mdfor integration details.