kungfu-king-betty / cordova-plugin-native-app-update

This is a cordova plugin to easily check the iOS App Store or Android Google Play Store for an available app update.
MIT License
12 stars 17 forks source link

iOS : bad version comparison ? #8

Open jdupuis opened 11 months ago

jdupuis commented 11 months ago

Error

It's not really an error (the app not crashed) but the plugin tell me that an update exists on the App Store, but it's not the case.

Am I the only one to notice this? Thanks for your help !

Context

I already have my app on the App Store with 2.3.1 as version name and 40 as bundle version.

I created a new version of the same app : 2.4.0 as version name and 42 as bundle version.

When I launched the app, the plugin detect the good versions (2.3.1 on the Play Store, 2.4.0 for the current version) but say me that an update is required despite the fact that the current version is superior to the version on the store.

Steps to Reproduce

  1. Already have an app ont the App Store
  2. Create a new version of the ios app with the cordova-plugin-native-app-update
  3. launch the app and look what the plugin returns.
  4. In my case, appUpdateObj.update_available is true even if the new version name is not inferior of the version on the app store.

Your Environment