JSBundleLoader function ( final Context arg0 , final String arg1 , final boolean arg2 ) { return new JSBundleLoader ( ) { @ Override public String loadScript ( CatalystInstanceImpl arg3 ) { arg3 . loadScriptFromAssets ( arg0 . getAssets ( ) , arg1 , arg2 ) ; return 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 in native code to save on passing large strings from java to native memory . concode_field_sep PlaceHolder placeHolder concode_field_sep String loadScript concode_elem_sep JSBundleLoader createCachedBundleFromNetworkLoader concode_elem_sep JSBundleLoader createRemoteDebuggerBundleLoader concode_elem_sep JSBundleLoader createFileLoader concode_elem_sep JSBundleLoader createFileLoader