JSBundleLoader function ( final AssetManager arg0 , final String arg1 ) { return new JSBundleLoader ( ) { @ Override public void loadScript ( ReactBridge arg2 ) { arg2 . loadScriptFromAssets ( arg0 , arg1 ) ; } } ; }
this loader is recommended one for release version of your app . in that case local js executor should be used . js bundle will be read from assets directory in native code to save on passing large strings from java to native memory . concode_field_sep PlaceHolder placeHolder concode_field_sep void loadScript concode_elem_sep JSBundleLoader createCachedBundleFromNetworkLoader concode_elem_sep JSBundleLoader createRemoteDebuggerBundleLoader