forked from microsoft/react-native-code-push
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodePushConstants.cs
More file actions
31 lines (31 loc) · 1.93 KB
/
CodePushConstants.cs
File metadata and controls
31 lines (31 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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";
}
}