Skip to content

Add 'android:resource' to meta-data attributes#2682

Merged
tido64 merged 2 commits intomicrosoft:trunkfrom
CptFabulouso:add-meta-data-attribute
Feb 25, 2026
Merged

Add 'android:resource' to meta-data attributes#2682
tido64 merged 2 commits intomicrosoft:trunkfrom
CptFabulouso:add-meta-data-attribute

Conversation

@CptFabulouso
Copy link
Contributor

Description

android:resource is one of possible attributes https://developer.android.com/guide/topics/manifest/meta-data-element

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

specify to app.json

"metaData": [
      {
        "android:name": "module.icon.color",
        "android:resource": "@color/notification_icon_color"
      },

and see the attribute in generated AndroidManifest

@CptFabulouso
Copy link
Contributor Author

@microsoft-github-policy-service agree

Copy link
Member

@tido64 tido64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tido64 tido64 merged commit 1565f90 into microsoft:trunk Feb 25, 2026
51 of 54 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