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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

question about google sign in plist file

Discussion in 'iOS and tvOS' started by alex_1302, Aug 1, 2021.

  1. alex_1302

    alex_1302

    Joined:
    Aug 20, 2019
    Posts:
    54
    Hi.
    i have a question: i am working on a project for android and ios, that needs to allow the user log in with google. i am using the api on this link . and is working fine on android. Now i need to build on ios, but i did read that is needed to locate a .plist file (i got the plist file from google cloud) on the xcode that unity generates. i am not sure where to put the plist file, because on some forums i did read that it needs to be on the root of the xcode project, but in other forum i did read that the plist file have to be on the assets folder of the unity project folder.
    Do i need to put the plist file on the assets folder and in the root of the xcode project too ?

    any help will be very appreciated.
     
  2. bonestudiosm

    bonestudiosm

    Joined:
    Oct 13, 2021
    Posts:
    7
    First you have to download "GoogleService-Info.plist" from this link
    Click on "created an OAuth client ID"
    and chose your project like this , if you don't see any project then click on create a new project then follow a few step to download the file, after that put your file in unity inside (Assets) like this image

    I suggest you read this article from Google

    hope that can help you :)