Skip to content

Un-strip Material Icons Core binding so the Icons type binds#1454

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/xamarin-androidx-compose-empty-assembly
Draft

Un-strip Material Icons Core binding so the Icons type binds#1454
Copilot wants to merge 2 commits into
mainfrom
copilot/xamarin-androidx-compose-empty-assembly

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 7, 2026

Xamarin.AndroidX.Compose.Material.Icons.Core.Android shipped an empty managed assembly: the -android binding's Metadata.xml removed /api/package wholesale, stripping all 282 upstream classes including androidx.compose.material.icons.Icons.

Changes

  • material-icons-core-android/Transforms/Metadata.xml — drop the blanket <remove-node path="/api/package" />. No collision transforms are needed; the binding compiles clean, exposing Icons plus the Filled/Outlined/Rounded/Sharp/TwoTone/AutoMirrored icon sets.
  • PublicAPI.Unshipped.txt — regenerated (Icons type + nested sets).
  • published-namespaces.txt — add the 11 new AndroidX.Compose.Material.Icons.* namespaces.
  • config.json — bump material-icons-core and material-icons-core-android 1.7.8.51.7.8.6.

The non-.Android material-icons-core AAR carries no classes.jar (manifest only), so it stays empty by design — the types live in the -android artifact per the KMP metapackage layout.

// Now resolvable from the binding:
var icons = AndroidX.Compose.Material.Icons.Icons.Filled;

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix empty managed assembly issue in Xamarin.AndroidX.Compose.Material.Icons.Core Un-strip Material Icons Core binding so the Icons type binds Jun 7, 2026
Copilot AI requested a review from jonathanpeppers June 7, 2026 03:21
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.

Xamarin.AndroidX.Compose.Material.Icons.Core: managed assembly is empty (no Icons type)

2 participants