City-of-Helsinki/harrastuspassi-backend

Version validity checking API for mobile applications

Opened this issue · 1 comments

The backend must provide on API for the mobile applications for checking whether the mobile app version is still supported. If the app is not supported, it shall prevent usage and force the user to update.

This is to prevent crashing or unwanted functionality when breaking API changes are introduced, or when a mobile app version is deemed unsafe for any reason.

Now that API versioning is done via URLs, version validity checking endpoint might not be necessary. Mobile app could force upgrade simply if the API version it tries to call returns 404.