react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Load XML files on disk by default

Open Abbondanzo opened this issue 1 year ago • 2 comments

Summary

This adds some minor checks in the AssetSourceResolver to only attempt loading XML asset types from disk on the Android platform. XML assets like vector drawables are precompiled and cannot be served over the network by Metro.

Changelog

[Android] [Added] - Adds support for importing XML assets as images

Differential Revision: D62302929

Abbondanzo avatar Sep 06 '24 17:09 Abbondanzo

This pull request was exported from Phabricator. Differential Revision: D62302929

facebook-github-bot avatar Sep 06 '24 17:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D62302929

facebook-github-bot avatar Sep 06 '24 18:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D62302929

facebook-github-bot avatar Sep 09 '24 14:09 facebook-github-bot

This pull request has been merged in facebook/react-native@2e80f5acf11cd9726921a00a58700cab9e0bb0a7.

facebook-github-bot avatar Sep 09 '24 17:09 facebook-github-bot

This pull request was successfully merged by Peter Abbondanzo in 2e80f5acf11cd9726921a00a58700cab9e0bb0a7

When will my fix make it into a release? | How to file a pick request?

react-native-bot avatar Sep 09 '24 17:09 react-native-bot