Skip to content

Commit 8d63d81

Browse files
fix java.lang.NullPointerException: java.io.File.<init> (File.java:262) exception (#911)
relates to #906, #910
1 parent 3e34f1a commit 8d63d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodePush.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function checkForUpdate(deploymentKey = null) {
4646
queryPackage = localPackage;
4747
} else {
4848
queryPackage = { appVersion: config.appVersion };
49-
if (config.packageHash) {
49+
if (Platform.OS === "ios" && config.packageHash) {
5050
queryPackage.packageHash = config.packageHash;
5151
}
5252
}

0 commit comments

Comments
 (0)