Files
react-native-code-push/windows/CodePushConstants.cs
Geoffrey Goh 97b8233d26 CR feedback
2016-05-04 18:26:33 -07:00

32 lines
1.9 KiB
C#

namespace CodePush.ReactNative
{
internal class CodePushConstants
{
internal const string AssetsBundlePrefix = "ms-appx:///ReactAssets/";
internal const string BinaryModifiedTimeKey = "binaryModifiedTime";
internal const string CodePushServerUrl = "https://codepush.azurewebsites.net/";
internal const string CodePushFolderPrefix = "CodePush";
internal const string CodePushPreferences = "CodePush";
internal const string CurrentPackageKey = "currentPackage";
internal const string DefaultJsBundleName = "index.windows.bundle";
internal const string DiffManifestFileName = "hotcodepush.json";
internal const string DownloadFileName = "download.zip";
internal const string DownloadProgressEventName = "CodePushDownloadProgress";
internal const string DownloadUrlKey = "downloadUrl";
internal const string FailedUpdatesKey = "CODE_PUSH_FAILED_UPDATES";
internal const string FileBundlePrefix = "ms-appdata:///local";
internal const string PackageFileName = "app.json";
internal const string PackageHashKey = "packageHash";
internal const string PendingUpdateHashKey = "hash";
internal const string PendingUpdateKey = "CODE_PUSH_PENDING_UPDATE";
internal const string PendingUpdateIsLoadingKey = "isLoading";
internal const string PreviousPackageKey = "previousPackage";
// This needs to be kept in sync with https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManager.java#L78
internal const string ReactDevBundleCacheFileName = "ReactNativeDevBundle.js";
internal const string ReactNativeLogCategory = "ReactNative";
internal const string RelativeBundlePathKey = "bundlePath";
internal const string StatusFileName = "codepush.json";
internal const string UnzippedFolderName = "unzipped";
}
}