So I'm logging in on my device using this code:
void LoginIOS() { LoginWithIOSDeviceIDRequest request = new LoginWithIOSDeviceIDRequest(); request.TitleId = PlayFabSettings.TitleId; request.DeviceId = SystemInfo.deviceUniqueIdentifier; request.CreateAccount = true; PlayFabClientAPI.LoginWithIOSDeviceID(request, OnLoginSuccess, OnLoginFailure); }
And it works. But thats on startup of my game. Lets say 20 minutes later the player wants to purchase something. How do I verify that I still have connectivity? What if the player suddenly drops service? Whats the best practice to test connectivity? It seems risky to always assume I have connectivity.