mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
Deleting Optimized Bundle!
Reviewed By: javache Differential Revision: D4566164 fbshipit-source-id: 1fbd3dd04f24399e93e3c6ec58956e6e18f1683f
This commit is contained in:
committed by
Facebook Github Bot
parent
7c97008fa8
commit
14dc219810
@@ -208,15 +208,9 @@ public class CatalystInstanceImpl implements CatalystInstance {
|
||||
jniLoadScriptFromFile(fileName, sourceURL);
|
||||
}
|
||||
|
||||
/* package */ void loadScriptFromOptimizedBundle(String path, String sourceURL, int flags) {
|
||||
mSourceURL = sourceURL;
|
||||
jniLoadScriptFromOptimizedBundle(path, sourceURL, flags);
|
||||
}
|
||||
|
||||
private native void jniSetSourceURL(String sourceURL);
|
||||
private native void jniLoadScriptFromAssets(AssetManager assetManager, String assetURL);
|
||||
private native void jniLoadScriptFromFile(String fileName, String sourceURL);
|
||||
private native void jniLoadScriptFromOptimizedBundle(String path, String sourceURL, int flags);
|
||||
|
||||
@Override
|
||||
public void runJSBundle() {
|
||||
|
||||
Reference in New Issue
Block a user