mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-12 22:29:41 +08:00
set JS profiling global to true, fix to parsing of strings with ascii value >=128
Reviewed By: @mkonicek Differential Revision: D2512320 fb-gh-sync-id: 098727cd664f0f0cdb0092875a9934a5d7b577f2
This commit is contained in:
committed by
facebook-github-bot-4
parent
b5890e1283
commit
5d682d65f6
@@ -60,6 +60,10 @@ public class ReactBridge extends Countable {
|
||||
JavaScriptExecutor jsExecutor,
|
||||
ReactCallback callback,
|
||||
MessageQueueThread nativeModulesQueueThread);
|
||||
|
||||
/**
|
||||
* All native functions are not thread safe and appropriate queues should be used
|
||||
*/
|
||||
public native void loadScriptFromAssets(AssetManager assetManager, String assetName);
|
||||
public native void loadScriptFromNetworkCached(String sourceURL, @Nullable String tempFileName);
|
||||
public native void callFunction(int moduleId, int methodId, NativeArray arguments);
|
||||
|
||||
Reference in New Issue
Block a user