@bravemobile/react-native-code-push 9.0.0-alpha.3 → 9.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CodePush.js +2 -2
  2. package/package.json +1 -1
package/CodePush.js CHANGED
@@ -121,8 +121,8 @@ async function checkForUpdate(deploymentKey = null, handleBinaryVersionMismatchC
121
121
 
122
122
  if (!updateInfo) {
123
123
  return null;
124
- } else if (updateInfo.update_app_version) {
125
- return { updateAppVersion: true, appVersion: updateInfo.target_binary_range };
124
+ } else if (!updateInfo.download_url) {
125
+ return null;
126
126
  } else if (!updateInfo.is_available) {
127
127
  return null;
128
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bravemobile/react-native-code-push",
3
- "version": "9.0.0-alpha.3",
3
+ "version": "9.0.0-alpha.4",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "CodePush.js",
6
6
  "typings": "typings/react-native-code-push.d.ts",