Let's say I want to allow users with app version 1.1 to log in, but not 1.0
Is there a way to do this automatically in PlayFab?
Let's say I want to allow users with app version 1.1 to log in, but not 1.0
Is there a way to do this automatically in PlayFab?
That isn't a parameter in our login calls, so no, there's no way we could block the user based upon that. The way to handle this is to have a Cloud Script handler you call when the client logs in which checks anything you need - version of the client, inventory items of the player (if you need to remove some), etc. - and respond with info you can use on the client to notify the player of any changes needed on their side. So, you could have the client send up a version number, and reply with the information that the client needs to update, so that you can display that to the player.
Thanks for the quick reply.
It would be a nice feature to have, but there are good workarounds for it too.
I was thinking another easier way may be to put in the target version as title data and compare it on the client side, but that is a bit less secure.
The main concern here is security - e.g. a bug/exploit is found in the current version, and we want to make sure the players can't connect until they upgrade it.
Yes, having versions for pretty much everything - both client version and data version - is always going to be key, so that you can reliably manage your title. Client side checks are enough for many titles, but if you have a need for security around that (so that people can't stay on an old version thanks to it having an exploit), then a Cloud Script check on login would be best.
2 People are following this question.