I am developing a game (iOS/Android with Unity Game Engine) that requires to download resources to be stored locally on device. I wish to check free space on device to send an error message before download starts in case it's not enough.
How can I check it? I couldn't find any clear procedure on my research.