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

"Not a valid semver version: Varies with device" #10

Closed
junioroga opened this issue Feb 8, 2021 · 6 comments
Closed

"Not a valid semver version: Varies with device" #10

junioroga opened this issue Feb 8, 2021 · 6 comments

Comments

@junioroga
Copy link

My application on the device is with version 1.0.3 exactly the same as the store, but needsUpdate always returns true.

I tried to change the device version to 1.0.4 in an attempt to solve the problem, but needsUpdate still returns true.

image

image

@tschoffelen
Copy link
Owner

Interesting! Haven't seen that one before. Would you be able to email me the bundle ID so that I can try to reproduce it? thomas at schof.co

@tschoffelen
Copy link
Owner

Thanks for your email! Posting this here as well as it might be helpful for others:

I've had a quick look, and it seems like this happens when there are multiple APKs/bundles in production at the same time: https://stackoverflow.com/a/25463637

In that case, we can't automatically determine the version available for the current user. I'm not sure if there's a way to work around that, although needsUpdate should definitely not be true in that case, I'll get that fixed!

@RichardBoyder
Copy link

Hi @tschoffelen With regards to the above. Have you managed a fix?

Im considering using this plugin and just want to make sure it is foolproof and won't fail as live store releases are a big thing, can't have it happen even once that true is set all the time and users keep seeing a message to update and they have the latest.

Appreciate the plugin and really do hope I can use it.

@tschoffelen
Copy link
Owner

Hi @RichardBoyder! Yes, this problem has been resolved. Anything that doesn't look like a version number (ie doesn't have a period in the string), won't result in a needsUpdate: true.

6a8d800

Still not sure why Google Play is returning 'Varies with device' for this specific bundle though.

@tschoffelen
Copy link
Owner

Closing because this problem has been resolved, and the only open question is also addressed in #14.

@faizanbuggy
Copy link

I am also facing the same issue on iOS.

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

4 participants