diff --git a/CodePushPackage.m b/CodePushPackage.m index 4cb98dc..aaa2b28 100644 --- a/CodePushPackage.m +++ b/CodePushPackage.m @@ -434,7 +434,7 @@ NSString * const UnzippedFolderName = @"unzipped"; } } - [[NSFileManager defaultManager] moveItemAtPath:fullFilePath toPath:destFileName error:error]; + [[NSFileManager defaultManager] copyItemAtPath:fullFilePath toPath:destFileName error:error]; if (*error) { return; } @@ -513,4 +513,4 @@ NSString * const UnzippedFolderName = @"unzipped"; } } -@end \ No newline at end of file +@end diff --git a/package.json b/package.json index a4c7477..a937e37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-code-push", - "version": "1.5.1-beta", + "version": "1.5.2-beta", "description": "React Native plugin for the CodePush service", "main": "CodePush.js", "homepage": "https://microsoft.github.io/code-push", @@ -22,4 +22,4 @@ "devDependencies": { "react-native": "0.15.0" } -} \ No newline at end of file +}