Or how to detect that app was just reintalled?
I’m uninstalling app and file with latest state of game still exists in DocumentsDirectory. :(
Documentation says about system.DocumentsDirectory:
This directory is intended for files that the app cannot regenerate on its own, for example user-specific data, “app state” data, or anything that the app generates post-installation. Files in this directory will persist for the lifetime of the app — that is, until the app is explicitly removed from the device.