Skip to content

Commit

Permalink
Android deprecate JSCJavaScriptExecutorFactory and JSCJavaScriptExecu…
Browse files Browse the repository at this point in the history
…tor (#38594)

Summary:
Pull Request resolved: #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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Jul 30, 2023
1 parent 62c9aae commit 0cac88f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0cac88f

Please sign in to comment.