fetchApiVersionAndStore
open suspend override fun fetchApiVersionAndStore(links: ServerConfig.Links): Either<CoreFailure, ServerConfig>
calculate the app/server common api version for a new non stored config and store it locally if the version is valid can return a ServerConfigFailure in case of an invalid version
Return
ServerConfigFailure in case of an invalid version
NetworkFailure in case of remote communication error
StorageFailure in case of DB errors when storing configuration
Parameters
links