Skip to content

feat(collectibles): show NFTs with inline metadata and SVG images - #1057

Open
JiahuiWho wants to merge 3 commits into
mainfrom
feature/collectibles-inline-metadata
Open

JiahuiWho wants to merge 3 commits into
mainfrom
feature/collectibles-inline-metadata

Conversation

@JiahuiWho

@JiahuiWho JiahuiWho commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

What

  • Read collectible metadata that is embedded in the token URI as data:application/json (plain, percent-encoded or base64) using new helper parseMetadataDataUri,
  • Render inline SVG artwork (data:image/svg+xml) in CollectibleImage with react-native-svg, since Image cannot show SVG.

Why

Counterpart of stellar/freighter#3083

Known limitations

N/A

Screenshots / video

Screen.Recording.iPhone.17.Pro.11-10-2026.at.4.34.15.PM.mp4

Checklist

PR structure

  • This PR does not mix refactoring changes with feature changes (break it down into smaller PRs if not).
  • This PR has reasonably narrow scope (break it down into smaller PRs if not).
  • This PR includes relevant before and after screenshots/videos highlighting these changes.
  • I took the time to review my own PR.

Testing

  • These changes have been tested and confirmed to work as intended on Android.
  • These changes have been tested and confirmed to work as intended on iOS.
  • These changes have been tested and confirmed to work as intended on small iOS screens.
  • These changes have been tested and confirmed to work as intended on small Android screens.
  • I have tried to break these changes while extensively testing them.
  • This PR adds tests for the new functionality or fixes.

Release

  • This is not a breaking change.
  • This PR updates existing JSDocs when applicable.
  • This PR adds JSDocs to new functionalities.
  • I've checked with the product team if we should add metrics to these changes.
  • I've shared relevant before and after screenshots/videos highlighting these changes with the design team and they've approved the changes.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Android Emulator preview APK is ready: https://github.com/stellar/freighter-mobile/releases/tag/untagged-54a0d4948802b9dbbb90
Backend: V1 prod + V2 staging (no sandbox configured for @JiahuiWho). SDF collaborators only — install instructions in the release description.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

iOS Simulator preview build is ready: https://github.com/stellar/freighter-mobile/releases/tag/untagged-aa49938f539cde6c9ce3
Backend: V1 prod + V2 staging (no sandbox configured for @JiahuiWho). SDF collaborators only — install instructions in the release description.

Comment thread src/helpers/parseMetadataDataUri.ts Resolved
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