this is not necessarily an ionic specific question, but I hope, someone also had to deal with this issue or has some good best practice for solving it.
I have built a mobile app for Android and iOS (ionic 1.3 app). Now I’m asking myself what’s a good practice for managing version conflicts between client (app) and server.
If I change certain api methods on the server side, of course I have to change the client accordingly. But since users of mobile os aren’t necessarily forced to update to the latest version, they likely use outdated versions of the app (at least temporarily).
I can think of 2 options to solve that problem:
Force app users to update if a new version of the app and the backend is available. This is very low effort for me as developer and a little disadvantage for the user in my opinion.
Do a versioning for the server backend (the api) so that every version of the app can access the appropriate version of the api. This is high effort for me.
How do you handle this issue? Am I getting something wrong? Is there a bad practice?
Thanks in advance.