prevent data from being backup on icloud

I’m having a problem with my app on ios, on my app i saving data on persistent data path, that i download with WWW class, but apple reject my app because this data is being backup on icloud, but i need this data to be download, to function my app correctly and if the device is offline, use this data to make the work correctly.

So they redirect me to this page: Q&A of how to prevent data being backup on icloud but this for a xcode project on object C, so how can i prevent that the data that i download and save is not being backup on icloud.

Well this questions was made a long time ago. But i will answer in case someone gets in here (like i did).

You need to write: Device.SetNoBackupFlag("your file path") and the data will not be saved in the iCloud.

I am still having some problems with iCloud. Seems like apple do not want me to save in Application.persistentDataPath. Apple says: “check that any temporary files used by your app are only stored in the /tmp directory”).

I come back here if i figure it out.
Good luck!