Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS : bad version comparison ? #8

Open
jdupuis opened this issue Oct 24, 2023 · 0 comments
Open

iOS : bad version comparison ? #8

jdupuis opened this issue Oct 24, 2023 · 0 comments

Comments

@jdupuis
Copy link

jdupuis commented Oct 24, 2023

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

  • Plugin version: 2.0.0
  • Platform: iOS
  • OS version: tested on iOS 16 & 17
  • Device manufacturer / model: iPhone SE (3rd generation)
  • Cordova version (cordova -v): 12.0.0
  • Cordova platform version (cordova platform ls): 7.0.1 (I also tested on version 6.3.0 of iOS Cordova platform version)
@jdupuis jdupuis changed the title iOS : bad version comparaison ? iOS : bad version comparison ? Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant