public CodePushReactPackage(string deploymentKey, ReactPage mainPage) { AppVersion = CodePushUtils.GetAppVersion(); DeploymentKey = deploymentKey; MainPage = mainPage; UpdateManager = new UpdateManager(); if (CurrentInstance != null) { CodePushUtils.Log("More than one CodePush instance has been initialized. Please use the instance method codePush.getBundleUrlInternal() to get the correct bundleURL for a particular instance."); } CurrentInstance = this; }
public CodePushReactPackage(string deploymentKey, ReactPage mainPage) { AppVersion = Package.Current.Id.Version.Major + "." + Package.Current.Id.Version.Minor + "." + Package.Current.Id.Version.Build; DeploymentKey = deploymentKey; MainPage = mainPage; UpdateManager = new UpdateManager(); IsRunningBinaryVersion = false; // TODO implement telemetryManager // _codePushTelemetryManager = new CodePushTelemetryManager(this.applicationContext, CODE_PUSH_PREFERENCES); if (CurrentInstance != null) { CodePushUtils.Log("More than one CodePush instance has been initialized. Please use the instance method codePush.getBundleUrlInternal() to get the correct bundleURL for a particular instance."); } CurrentInstance = this; }
public CodePushReactPackage(string deploymentKey, ReactPage mainPage) { AppVersion = Package.Current.Id.Version.Major + "." + Package.Current.Id.Version.Minor + "." + Package.Current.Id.Version.Build; DeploymentKey = deploymentKey; MainPage = mainPage; UpdateManager = new UpdateManager(); IsRunningBinaryVersion = false; // TODO implement telemetryManager // _codePushTelemetryManager = new CodePushTelemetryManager(this.applicationContext, CODE_PUSH_PREFERENCES); InitializeUpdateAfterRestart(); if (CurrentInstance != null) { CodePushUtils.Log("More than one CodePush instance has been initialized. Please use the instance method codePush.getBundleUrlInternal() to get the correct bundleURL for a particular instance."); } CurrentInstance = this; }
public CodePushNativeModule(ReactContext reactContext, CodePushReactPackage codePush) : base(reactContext) { _reactContext = reactContext; _codePush = codePush; }
public CodePushNativeModule(ReactContext reactContext, CodePushReactPackage codePush) : base(reactContext) { _reactContext = reactContext; _codePush = codePush; }