Search Unity

Can I check if a player with iOS is signed in with their apple ID?

Discussion in 'Unity IAP' started by Feeliks, Nov 19, 2018.

  1. Feeliks

    Feeliks

    Joined:
    Jul 17, 2017
    Posts:
    1
    Hi! I'm using iCloud to store player data and in game-currency bought using Unity IAP. Because of this I need to make sure that the player is signed in and has also enabled iCloud for the application.

    I would much like to know if there is a way to check if this is true or false and based on the information, prompt the player to sign in so that they can retrieve their saved data on iCloud.

    Right now if I click the button that calls for RestorePurchases inside Unity IAP, the player only get notification to sign into iTunes & App Store. This however isn't enough to fetch the iCloud data. Any suggestions?

    Thanks in advance!
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @Feeliks We would not have any built-in functionality to sign into iCloud. I do see some plugins on the Unity Asset store to do just as you suggest, but I haven't tried them.