@bravemobile/react-native-code-push 8.3.0 → 8.3.1

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.
@@ -98,10 +98,7 @@ public class CodePushUpdateUtils {
98
98
  }
99
99
 
100
100
  public static void copyNecessaryFilesFromCurrentPackage(String diffManifestFilePath, String currentPackageFolderPath, String newPackageFolderPath) throws IOException {
101
- if (currentPackageFolderPath == null || !new File(currentPackageFolderPath).exists()) {
102
- CodePushUtils.log("Unable to copy files from current package during diff update, because currentPackageFolderPath is invalid.");
103
- return;
104
- }
101
+ FileUtils.copyDirectoryContents(currentPackageFolderPath, newPackageFolderPath);
105
102
  JSONObject diffManifest = CodePushUtils.getJsonObjectFromFile(diffManifestFilePath);
106
103
  try {
107
104
  JSONArray deletedFiles = diffManifest.getJSONArray("deletedFiles");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bravemobile/react-native-code-push",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
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",