Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly pass Image.source attribute to the C++ side (facebook#43129)
Summary: Pull Request resolved: facebook#43129 ## Changelog: [Internal] - C++ side expects "source" property to be an up to date, correctly resolved Image source inside `ImageProps`. Incidentally, it wasn't the case when: * we build for an Android platform * the asset is a "packager asset", i.e. bundled by Metro and included in APK It hasn't been an issue in the case of "pure" Android platform, as it instead uses "src" prop, instead of source on the Java implementation side, ignoring "source" completely, so the fact that "source" wasn't propagated correctly to C++ in some cases didn't affect Android. However, there are some new use cases where we'd like to have correct "source" value in C++ as well (and ultimately align this between all the platforms, so it's "source" everywhere, but this is a matter of a separate discussion). Differential Revision: D54000899 fbshipit-source-id: 9bfb9e7c157cf19ddf396c141b03b75f3b2022e8
- Loading branch information