mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fabric: Fixes image blob url not work (#41881)
Summary: Added image blob url support. Before:  After:  ## Changelog: [IOS] [FIXED] - Fabric: Fixes image blob url not work Pull Request resolved: https://github.com/facebook/react-native/pull/41881 Test Plan: none. Reviewed By: cortinico Differential Revision: D52044019 Pulled By: ryancat fbshipit-source-id: d8d8b863ddd24099ee1c2692dbe698844c0bece9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
44d6e4310c
commit
cdef53d662
@@ -61,11 +61,11 @@ id<RCTTurboModule> RCTAppSetupDefaultModuleFromClass(Class moduleClass)
|
||||
} else if (moduleClass == RCTNetworking.class) {
|
||||
return [[moduleClass alloc]
|
||||
initWithHandlersProvider:^NSArray<id<RCTURLRequestHandler>> *(RCTModuleRegistry *moduleRegistry) {
|
||||
return @[
|
||||
[RCTHTTPRequestHandler new],
|
||||
[RCTDataRequestHandler new],
|
||||
[RCTFileRequestHandler new],
|
||||
];
|
||||
return [NSArray arrayWithObjects:[RCTHTTPRequestHandler new],
|
||||
[RCTDataRequestHandler new],
|
||||
[RCTFileRequestHandler new],
|
||||
[moduleRegistry moduleForName:"BlobModule"],
|
||||
nil];
|
||||
}];
|
||||
}
|
||||
// No custom initializer here.
|
||||
|
||||
Reference in New Issue
Block a user