electrode-io / electrode-ota-server

Electrode Over The Air Server for hot deployment of React Native and Cordova mobile apps
Other
204 stars 40 forks source link

On updateCheck, find latest package that matches specified appVersion #74

Closed datvong-wm closed 6 years ago

datvong-wm commented 6 years ago

Given two binary versions, with the same bundle IDs. Version v1.1.0 . bundleHash ABC . label v1 Version v1.2.0 . bundleHash ABC . label v2

A new bundle is released to both binary versions Version v1.1.0 . bundleHash DEF . label v3 Version v1.2.0 . bundleHash DEF . label v4

When mobile clients on version v1.1.0 check for updates.. Expected: return package label v3. Actual: returns "update not available". this is because we don't search using the appVersion.