We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 30818a1 + c0f8835 commit 5b6fbdbCopy full SHA for 5b6fbdb
CodePush.js
@@ -50,7 +50,7 @@ function checkForUpdate(deploymentKey = null) {
50
* to send the app version to the server, since we are interested
51
* in any updates for current app store version, regardless of hash.
52
*/
53
- if (localPackage && semver.compare(localPackage.appVersion, config.appVersion) === 0) {
+ if (localPackage && localPackage.appVersion && semver.compare(localPackage.appVersion, config.appVersion) === 0) {
54
queryPackage = localPackage;
55
}
56
0 commit comments