mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Depreacte remaining LegacyArchitecture classes from the bridge package (#53191)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53191 Depreacte remaining LegacyArchitecture classes from the bridge package changelog: [Android][Changed] Depreacte all LegacyArchitecture classes from the bridge package Reviewed By: mlord93 Differential Revision: D79674635 fbshipit-source-id: 6a873d05157e17ef0434821e1c8a77959d7f079a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b29b86f275
commit
c1f7c5e321
+2
@@ -48,6 +48,8 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
*/
|
||||
@DoNotStrip
|
||||
@LegacyArchitecture
|
||||
@Deprecated(
|
||||
since = "This class is part of Legacy Architecture and will be removed in a future release")
|
||||
public class CatalystInstanceImpl implements CatalystInstance {
|
||||
static {
|
||||
ReactNativeJNISoLoader.staticInit();
|
||||
|
||||
+3
@@ -12,6 +12,9 @@ import com.facebook.react.common.annotations.internal.LegacyArchitectureLogLevel
|
||||
|
||||
/** Interface for a module that will be notified when a batch of JS->Java calls has finished. */
|
||||
@LegacyArchitecture(logLevel = LegacyArchitectureLogLevel.ERROR)
|
||||
@Deprecated(
|
||||
message = "This class is part of Legacy Architecture and will be removed in a future release",
|
||||
level = DeprecationLevel.WARNING)
|
||||
public fun interface OnBatchCompleteListener {
|
||||
public fun onBatchComplete()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user