From 6269a1ede7298cf1187d4c54e2d4d87b1314e97f Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 21 Oct 2022 20:00:20 +0200 Subject: [PATCH] feat: make RCTBlobManager TurboModule-compatible --- React/CoreModules/CoreModulesPlugins.h | 1 + React/CoreModules/CoreModulesPlugins.mm | 1 + 2 files changed, 2 insertions(+) diff --git a/React/CoreModules/CoreModulesPlugins.h b/React/CoreModules/CoreModulesPlugins.h index 55015a55c1276b..632fd5aeab1ba2 100644 --- a/React/CoreModules/CoreModulesPlugins.h +++ b/React/CoreModules/CoreModulesPlugins.h @@ -54,6 +54,7 @@ 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 e74ddb8ee0192d..8915f029c3fb21 100644 --- a/React/CoreModules/CoreModulesPlugins.mm +++ b/React/CoreModules/CoreModulesPlugins.mm @@ -37,6 +37,7 @@ Class RCTCoreModulesClassProvider(const char *name) { {"PerfMonitor", RCTPerfMonitorCls}, {"DevMenu", RCTDevMenuCls}, {"DevSettings", RCTDevSettingsCls}, + {"BlobModule", RCTBlobManagerCls}, {"RedBox", RCTRedBoxCls}, {"LogBox", RCTLogBoxCls}, {"WebSocketExecutor", RCTWebSocketExecutorCls},