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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With