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

Correctly handle multiple apks in the play store #104

Conversation

arnestockmans
Copy link
Contributor

Related to issue #1.
Currently if the retrieved version is "Varies depending on the device", the library will still try to compare the current and new version.
Since it will split on a "." and assumes the pieces are Integers, java will throw a NumberFormatException which isn't handled by the library.
This commit will handle the NumberFormatException and return 0, to say we're on the latest version.

@pietrorampini pietrorampini added this to the m2.1.6 milestone Jan 28, 2015
@pietrorampini pietrorampini self-assigned this Jan 28, 2015
pietrorampini added a commit that referenced this pull request Jan 28, 2015
Correctly handle multiple apks in the play store
@pietrorampini pietrorampini merged commit 96ed602 into pietrorampini:master Jan 28, 2015
@arnestockmans arnestockmans deleted the bugfix/multipleapk branch January 29, 2015 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants