-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cannot connect to Kanboard v1.1.0 #37
Comments
Hi I am using this version: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kandroid v0.5.7 refuses to connect to Kanboard v1.1.0 saying the minimum required version is 1.0.38
I think the bug is in LoginActivity.java (lines 242-244), that expects all 3 components of the server version to be greater than or equal to 1, 0 and 38, respectively. Note that the third component of the actual server version (1.1.0) is less than the expected 38 and so gets rejected.
The correct check would be:
} else if (version[0] > Constants.minKanboardVersion[0] ||
version[0] = Constants.minKanboardVersion[0] &&
(version[1] > Constants.minKanboardVersion[1] ||
version[1] = Constants.minKanboardVersion[1] &&
version[2] >= Constants.minKanboardVersion[2])) {
I'm not sure about the formatting, sorry.
The text was updated successfully, but these errors were encountered: