Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Can saving downloaded files to Application.persistentDataPath get your game rejected?

Discussion in 'iOS and tvOS' started by sonluong1987, Feb 4, 2015.

  1. sonluong1987

    sonluong1987

    Joined:
    May 10, 2014
    Posts:
    8
    Hi, In my game i'm downloading some data from the server and save them to the persistentDataPath folder, I later found out that it's actually the Documents directory, will this get my game rejected because Apple prohibits downloaded files from getting saved to Documents? Thanks very much!
     
  2. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    We've got several apps that save a downloaded file to the persistentDataPath folder - or to be more accurate, saves the contents of a downloaded file to a file in the persistentDataPath folder.
     
  3. sonluong1987

    sonluong1987

    Joined:
    May 10, 2014
    Posts:
    8
    @andymads Thanks for the reply! May I ask another thing, were your files big in size? My game is saving like ~30MBs.
     
  4. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    Less than 1Mb.