Expose a method to ReactContext to determine if we are running in Bridgeless mode or not

Summary:
This method exposes a method to ReactContext to determine if we are running in Bridgeless mode or not

Changelog: [internal]

Reviewed By: JoshuaGross

Differential Revision: D18901149

fbshipit-source-id: bdd5ba747381f3bde5f592276b42244ca01ccbb9
This commit is contained in:
David Vacca
2019-12-10 20:30:08 -08:00
committed by Facebook Github Bot
parent bc11e9c7f1
commit df32ab43fb
@@ -413,6 +413,11 @@ public class ReactContext extends ContextWrapper {
return mCurrentActivity.get();
}
/** @deprecated DO NOT USE, this method will be removed in the near future. */
public boolean isBridgeless() {
return false;
}
/**
* Get the C pointer (as a long) to the JavaScriptCore context associated with this instance. Use
* the following pattern to ensure that the JS context is not cleared while you are using it: