Cloud Save on Android

Hello,

On iOS, I only send saves when the player minimizes the game, and it works perfectly.

void OnApplicationPause(bool pauseStatus)
    {
        if (pauseStatus)
        {
            //Save Player Data
            await SaveData.ForceSaveAsync(CachedData);
        }
    }

On Android, if the player minimizes the game with a swipe, it also works. But if the player minimized the game with the Home button, it does not work and data is sent only if the player returned to the game.

Perhaps there is some way to do this?

Hi there, this would be better to ask in the Android part of the forums as it’s not really about CloudSave but rather detecting the home button minimization on Android :slight_smile:

Hi! Ok, thanks!
I just thought that maybe some of the developers here could have a similar experience.