Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force user to update app

I'm building a multiplayer game app. The user will be have to connect to the intenet to use the app.

I want to force the user to update the app if there is an update avilable on the app store, or he can't log in and play. Is there an API for what user's version? Also, will Apple agree to this like that - you must have an updated app, or you can't log in and play?

like image 945
Eli_Rozen Avatar asked Nov 20 '25 17:11

Eli_Rozen


1 Answers

I think a better solution would be to just have the app send its version number to the server, and let the server decide whether to let that player play. That way, the server can be configured to allow whatever range of versions is valid, or can let players with matching versions play, even if neither has a completely-up-to-date version.

The app shouldn't have to know whether its own version is valid. It just needs to know how to handle a "Sorry, you can't play with that version" response from the server.

like image 107
Kristopher Johnson Avatar answered Nov 23 '25 08:11

Kristopher Johnson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!