@revopush/react-native-code-push 2.5.0-rc.0 → 2.5.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,10 +52,11 @@ dependencies {
52
52
  implementation 'com.facebook.react:react-android:0.79.6'
53
53
  // end of local dev only
54
54
  } else {
55
- implementation fileTree(dir: "libs", include: ["*.aar", "*.jar"])
56
55
  // For < 0.71, this will be from the local maven repo
57
56
  // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
58
57
  //noinspection GradleDynamicVersion
58
+
59
+ implementation "org.revopush:revopush-diff:0.0.2"
59
60
  implementation "com.facebook.react:react-native:+"
60
61
  }
61
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revopush/react-native-code-push",
3
- "version": "2.5.0-rc.0",
3
+ "version": "2.5.0-rc.2",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "CodePush.js",
6
6
  "typings": "typings/react-native-code-push.d.ts",
@@ -23,6 +23,7 @@ const CODE_PUSH_METADATA_FILE_NAME = "CodePushMetadata";
23
23
  const CODE_PUSH_PACKAGE_HASH = "packageHash"
24
24
  const CODE_PUSH_BUNDLE_HASH = "bundleHash"
25
25
  const CODE_PUSH_ASSET_HASH = "assetHash"
26
+ const MANIFEST = "manifest"
26
27
  const CODE_PUSH_HASH_OLD_FILE_NAME = "CodePushHash.json";
27
28
  const HASH_ALGORITHM = "sha256";
28
29
 
@@ -106,7 +107,9 @@ function addJsBundleAndMetaToManifest() {
106
107
  const manifestMetadata = {
107
108
  [CODE_PUSH_PACKAGE_HASH]: finalHash,
108
109
  [CODE_PUSH_BUNDLE_HASH]: bundleHash,
109
- [CODE_PUSH_ASSET_HASH]: assetHash, ...(getBundleResourceEntries(resourcesDir, assetsDir))
110
+ [CODE_PUSH_ASSET_HASH]: assetHash,
111
+ ...(getBundleResourceEntries(resourcesDir, assetsDir)),
112
+ [MANIFEST]: manifest
110
113
  }
111
114
 
112
115
  console.log(finalHash);