Skip to content

Commit

Permalink
fix java.lang.NullPointerException: java.io.File.<init> (File.java:26…
Browse files Browse the repository at this point in the history
…2) exception (#911)

relates to #906, #910
  • Loading branch information
sergey-akhalkov committed Jul 3, 2017
1 parent 3e34f1a commit 8d63d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodePush.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function checkForUpdate(deploymentKey = null) {
queryPackage = localPackage;
} else {
queryPackage = { appVersion: config.appVersion };
if (config.packageHash) {
if (Platform.OS === "ios" && config.packageHash) {
queryPackage.packageHash = config.packageHash;
}
}
Expand Down

0 comments on commit 8d63d81

Please sign in to comment.