When a new update arrives, the user should query the server and check if there is a new update every time the application is opened. For this you need to post data somewhere (maybe a better idea)
As I can update automatically thanks to my server, if there is a new version, I make a query to the server in the background every time the user opens the application. If there is an update, I force it to download it. (Via Google or app store link)