Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Game Center: silent authentication

Discussion in 'iOS and tvOS' started by Wordsonplay, Feb 26, 2014.

  1. Wordsonplay

    Wordsonplay

    Joined:
    Apr 29, 2013
    Posts:
    21
    I'm trying to add Game Center leaderboards to my iOS game, but I find the Game Center authentication window to be annoyingly obtrusive, especially for players who don't want to use it. My hope was to make it so that if you have already authenticated (via the Settings page) then the game connects to the Game Center, otherwise it does not.

    However it seems that Social.localUser.Authenticate() will always prompt you to authenticate if you have not done so already. And if I don't call Authenticate() I cannot use Game Center at all. Is there no way to check authentication silently?

    Are things any different in the Prime 31 plugin? The API docs seem to suggest not and I'm about to spend $75 to find out. Is there any way around this, or is it a fundamental feature of the Game Center API?
     
    Last edited: Feb 26, 2014
  2. BrUnO-XaVIeR

    BrUnO-XaVIeR

    Joined:
    Dec 6, 2010
    Posts:
    1,687
    That is how Game Center works. No plugin can change that.
     
  3. Wordsonplay

    Wordsonplay

    Joined:
    Apr 29, 2013
    Posts:
    21