Skip to content

Add server version check when login #5

Description

@aidewoode

Because the server may have some breaking changes on API. so we need to add server check on CLI side incase user using old version of CLI that does not support new API on server. We are already doing this check on mobile app.

ref:

https://github.com/blackcandy-org/app/blob/a38c056be1e1e232318d6af6f21c2803c62fcb96/shared/src/commonMain/kotlin/org/blackcandy/shared/models/SystemInfo.kt#L11-L17

may also need to update here on server side:

https://github.com/blackcandy-org/blackcandy/blob/master/app/views/systems/show.json.jbuilder#L8-L12

add min_cli_version on server response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions