Skip to content

Commit

Permalink
Fix packageHash not passed to /updateCheck on Android (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaminglu authored and Max committed May 25, 2017
1 parent e761ad1 commit a59e4cf
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 (Platform.OS === "ios" && config.packageHash) {
if (config.packageHash) {
queryPackage.packageHash = config.packageHash;
}
}
Expand Down

0 comments on commit a59e4cf

Please sign in to comment.