public DevSupportManager(
     IReactInstanceDevCommandsHandler reactInstanceCommandsHandler,
     string jsBundleFile,
     string jsAppBundleName)
 {
     _reactInstanceCommandsHandler = reactInstanceCommandsHandler;
     _jsBundleFile    = jsBundleFile;
     _jsAppBundleName = jsAppBundleName;
     _devSettings     = new DevInternalSettings(this);
     _devServerHelper = new DevServerHelper(_devSettings);
     ReloadSettings();
 }
Ejemplo n.º 2
0
 public DevSupportManager(
     IReactInstanceDevCommandsHandler reactInstanceCommandsHandler,
     bool shouldLoadFromPackagerServer,
     string jsAppBundleName)
 {
     _reactInstanceCommandsHandler = reactInstanceCommandsHandler;
     _shouldLoadFromPackagerServer = shouldLoadFromPackagerServer;
     _jsAppBundleName = jsAppBundleName;
     _devSettings     = new DevInternalSettings(this);
     _devServerHelper = new DevServerHelper(_devSettings);
     ReloadSettings();
 }