diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/CallInvokerHolderImpl.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/CallInvokerHolderImpl.java index e59bc786e46dd2..d1dd5f772617cc 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/CallInvokerHolderImpl.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/CallInvokerHolderImpl.java @@ -8,6 +8,7 @@ package com.facebook.react.turbomodule.core; import com.facebook.jni.HybridData; +import com.facebook.proguard.annotations.DoNotStrip; import com.facebook.react.turbomodule.core.interfaces.CallInvokerHolder; /** @@ -16,7 +17,8 @@ * pass it from CatalystInstance, through Java, to TurboModuleManager::initHybrid. */ public class CallInvokerHolderImpl implements CallInvokerHolder { - private final HybridData mHybridData; + + @DoNotStrip private final HybridData mHybridData; static { NativeModuleSoLoader.maybeLoadSoLibrary(); diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/NativeMethodCallInvokerHolderImpl.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/NativeMethodCallInvokerHolderImpl.java index 1f7012bdfb784b..4a0cbcc5a12de9 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/NativeMethodCallInvokerHolderImpl.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/NativeMethodCallInvokerHolderImpl.java @@ -8,6 +8,7 @@ package com.facebook.react.turbomodule.core; import com.facebook.jni.HybridData; +import com.facebook.proguard.annotations.DoNotStrip; import com.facebook.react.turbomodule.core.interfaces.NativeMethodCallInvokerHolder; /** @@ -18,7 +19,7 @@ */ public class NativeMethodCallInvokerHolderImpl implements NativeMethodCallInvokerHolder { - private final HybridData mHybridData; + @DoNotStrip private final HybridData mHybridData; static { NativeModuleSoLoader.maybeLoadSoLibrary();