diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java index 184619890efe38..f227f0da0629ba 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java @@ -170,6 +170,17 @@ public CatalystInstance getCatalystInstance() { return Assertions.assertNotNull(mCatalystInstance); } + /** + * This API has been deprecated due to naming consideration, please use hasActiveReactInstance() + * instead + * + * @return + */ + @Deprecated + public boolean hasActiveCatalystInstance() { + return hasActiveReactInstance(); + } + /** @return true if there is an non-null, alive react native instance */ public boolean hasActiveReactInstance() { return mCatalystInstance != null && !mCatalystInstance.isDestroyed();