diff --git a/ios/native/REAInitializer.h b/ios/native/REAInitializer.h index 66898e8f4ef..c6fc3264d74 100644 --- a/ios/native/REAInitializer.h +++ b/ios/native/REAInitializer.h @@ -18,6 +18,10 @@ NS_ASSUME_NONNULL_BEGIN namespace reanimated { +[[deprecated( + "REAInitializer method is no longer required, you can just remove invocation.")]] void +REAInitializer(RCTBridge *bridge); + #if REACT_NATIVE_MINOR_VERSION <= 71 [[deprecated( "REAJSIExecutorRuntimeInstaller method is no longer required, you can just remove invocation.")]] JSIExecutor:: diff --git a/ios/native/REAInitializer.mm b/ios/native/REAInitializer.mm index b2ad7d2b7ad..fa786df7611 100644 --- a/ios/native/REAInitializer.mm +++ b/ios/native/REAInitializer.mm @@ -4,6 +4,11 @@ namespace reanimated { +void REAInitializer(RCTBridge *bridge) +{ + // do nothing, just for backward compatibility +} + #if REACT_NATIVE_MINOR_VERSION <= 71 JSIExecutor::RuntimeInstaller REAJSIExecutorRuntimeInstaller(