mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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:
|
||||
|
||||
Reference in New Issue
Block a user