mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "fix(iOS): unify prefetchImageWithMetadata's signature in JS and ObjC land" (#47664)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47664
We landed the previous change in [4dd60acb7d](https://github.com/facebook/react-native/commit/4dd60acb7ddc2811453e84e3567c1a114fa5e6f9), but this is breaking the OSS CI because now the two signatures do not match
## Changelog:
[Internal] - Revert make the prefetchImageWithMetadata's queryRoot nullable
Reviewed By: GijsWeterings
Differential Revision: D66096759
fbshipit-source-id: b0ce87d82edd63576df7a04c58d5aec3173ad8d6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fe8cc62824
commit
7e0bdcb780
@@ -1227,7 +1227,7 @@ RCT_EXPORT_METHOD(prefetchImage
|
||||
|
||||
RCT_EXPORT_METHOD(prefetchImageWithMetadata
|
||||
: (NSString *)uri queryRootName
|
||||
: (nullable NSString *)queryRootName rootTag
|
||||
: (NSString *)queryRootName rootTag
|
||||
: (double)rootTag resolve
|
||||
: (RCTPromiseResolveBlock)resolve reject
|
||||
: (RCTPromiseRejectBlock)reject)
|
||||
|
||||
Reference in New Issue
Block a user