mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Android deprecate JSCJavaScriptExecutorFactory and JSCJavaScriptExecutor (#38594)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38594 These classes are deprecated in favor of com.facebook.react.jscexecutor instead changelog: [Android][Changed] Deprecate JSCJavaScriptExecutorFactory and JSCJavaScriptExecutor, use com.facebook.react.jscexecutor instead Reviewed By: christophpurrer, cortinico Differential Revision: D47483650 fbshipit-source-id: 5c29cf2bfff201468f171f1529e76ecf65244731
This commit is contained in:
committed by
Facebook GitHub Bot
parent
62c9aaea9b
commit
0cac88fa65
+2
@@ -10,7 +10,9 @@ package com.facebook.react.bridge;
|
||||
import com.facebook.jni.HybridData;
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
|
||||
/** @deprecated use {@link com.facebook.react.jscexecutor.JSCExecutor} instead. */
|
||||
@DoNotStrip
|
||||
@Deprecated
|
||||
/* package */ class JSCJavaScriptExecutor extends JavaScriptExecutor {
|
||||
static {
|
||||
ReactBridge.staticInit();
|
||||
|
||||
+2
@@ -7,6 +7,8 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
/** @deprecated use {@link com.facebook.react.jscexecutor.JSCExecutorFactory} instead. */
|
||||
@Deprecated
|
||||
public class JSCJavaScriptExecutorFactory implements JavaScriptExecutorFactory {
|
||||
private final String mAppName;
|
||||
private final String mDeviceName;
|
||||
|
||||
Reference in New Issue
Block a user