From 94cea1edda6901607b805c34a16d55b77b96ec7d Mon Sep 17 00:00:00 2001 From: Dmitry Rykun Date: Thu, 3 Nov 2022 05:13:04 -0700 Subject: [PATCH] feat: make RCTBlobManager TurboModule-compatible Summary: This diff reverts D40716048 (https://github.com/facebook/react-native/commit/279cfec55fdf404fdb9198edbb37d3adfdfb3bf1) (https://github.com/facebook/react-native/pull/35047) which breaks RCTImageLoader. https://pxl.cl/2jKrM Those files are auto-generated and are not supposed to be edited manually. Changelog: [iOS] [Fixed] - https://github.com/facebook/react-native/pull/35047 reverted. Reviewed By: cipolleschi Differential Revision: D40979350 fbshipit-source-id: ece2b9c653fe01e209a523e6a99e41a0605fddac --- React/CoreModules/CoreModulesPlugins.h | 1 - React/CoreModules/CoreModulesPlugins.mm | 1 - 2 files changed, 2 deletions(-) diff --git a/React/CoreModules/CoreModulesPlugins.h b/React/CoreModules/CoreModulesPlugins.h index e2a02a4e335bdf..564988958a046e 100644 --- a/React/CoreModules/CoreModulesPlugins.h +++ b/React/CoreModules/CoreModulesPlugins.h @@ -53,7 +53,6 @@ Class RCTWebSocketModuleCls(void) __attribute__((used)); Class RCTDevLoadingViewCls(void) __attribute__((used)); Class RCTDevSplitBundleLoaderCls(void) __attribute__((used)); Class RCTEventDispatcherCls(void) __attribute__((used)); -Class RCTBlobManagerCls(void) __attribute__((used)); #ifdef __cplusplus } diff --git a/React/CoreModules/CoreModulesPlugins.mm b/React/CoreModules/CoreModulesPlugins.mm index 85187305e90cc0..7e54e5a0909325 100644 --- a/React/CoreModules/CoreModulesPlugins.mm +++ b/React/CoreModules/CoreModulesPlugins.mm @@ -36,7 +36,6 @@ Class RCTCoreModulesClassProvider(const char *name) { {"PerfMonitor", RCTPerfMonitorCls}, {"DevMenu", RCTDevMenuCls}, {"DevSettings", RCTDevSettingsCls}, - {"BlobModule", RCTBlobManagerCls}, {"RedBox", RCTRedBoxCls}, {"LogBox", RCTLogBoxCls}, {"WebSocketExecutor", RCTWebSocketExecutorCls},