Skip to content

feat: embed plugin settings with schema and Remote Compose - #60

Merged
fython merged 1 commit into
mainfrom
feat/plugin-embedded-settings
Nov 15, 2026
Merged

fython merged 1 commit into
mainfrom
feat/plugin-embedded-settings

Conversation

@fython

@fython fython commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Plugins can now show their settings inside the WheelPlay Activity instead of requiring a separate settings Activity.

  • Add an independent v1 ContentProvider protocol and SDK for versioned settings schemas, validated writes, revision conflicts, and change notifications. The host renders switches, text, integers, choices, and actions.
  • Add a Jetpack Remote Compose player for plugin-defined layouts, using official AndroidX 1.0.0-alpha23 documents and ID/named action callbacks. No RemoteViews or plugin class loading.
  • Share plugin-owned persistence across both modes; handle lifecycle changes, timeouts, APK identity changes, and fallback to the standard form. Preserve legacy settings Activity support and projection Binder API v2.
  • Extend the independent sample APK with both modes, add translations and integration documentation in docs/PLUGIN_SETTINGS.md.

Validation:

  • 58 JVM/Robolectric tests passed across the SDK, host settings/registry/session/lifecycle/navigation, and sample. Coverage includes actual Remote Compose decoding, pixel rendering, scaled touch callbacks, external updates, edit conflicts, and fallback.
  • :mobile:assembleDebug and :projection-plugin-sample:assembleDebug passed.
  • :mobile:lintDebug, :projection-plugin-sample:lintDebug, localization tests, and git diff --check passed.
  • :common:lintDebug reports 27 errors on unchanged lines involving permissions, constants, and string formats; the new settings implementation has no lint errors.

Remote Compose remains an alpha dependency and is pinned to a matching producer/player version. Cross-UID behavior on a physical head unit has not been validated.

@fython
fython merged commit 1c0c2b8 into main Nov 15, 2026
2 of 3 checks passed
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.

2 participants