Search Unity

How do you save your player progress data on iOS iCloud ? Do you use plugins ?

Discussion in 'General Discussion' started by G3R1, Jun 28, 2017.

  1. G3R1

    G3R1

    Joined:
    Sep 3, 2016
    Posts:
    32
    Hi everyone,

    I am almost finishing my first mobile game and I want to know how do you save your players progress data on iCloud for iOS platform. I found out how to do that with google play services on Android platform, but I am not sure how to do it on iOS. I searched on google and found out that most of the developers are using plugins that help you with the game save on iCloud. Also, I am saving the players progress data using a binary file based on a Unity tutorial and everything is being saved locally just fine for my game.
    I would be glad if you helped me with this and suggest me any plugin or something else which would be the best solution.

    Waiting for your replies...

    Thank you,
    Gerald.
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    14,414
    Same, and according to Stack Overflow it's required. Searching Google came up with two results on Github. One uses the Key-Value Storage and the other uses KeyChain. The Key-Value Storage appears to be intended as an app settings storage with KeyChain storing actual data.

    https://github.com/TermiT/iCloudKeyValue
    https://github.com/phamtanlong/unity-ios-keychain-plugin

    Additionally there is the Prime31 asset which from the description appears to be using the Key-Value Storage too.

    https://www.assetstore.unity3d.com/en/#!/content/79895
     
  3. G3R1

    G3R1

    Joined:
    Sep 3, 2016
    Posts:
    32
    Thank you for the links. :)
     
  4. joshskelton

    joshskelton

    Joined:
    Aug 30, 2013
    Posts:
    16
    Anybody know of any good tuts using Prime 31 iCloud plugin?