コード例 #1
0
    public void ManualInit()
    {
        //Keep logging to false in production
        LCGoogleLoginBridge.ChangeLoggingLevel(true);

        //For Android, You need to replace it with web client ID. Check details given in LCGoogleLoginBridge file or ReadMe file or tutorial video
        //For iOS, web client id will be used if you are using server auth. Normal iOS client id is picked up from Google-Services plist file. Its safe to pass null here for iOS if no server auth is used otherwise its ignored by the sdk

        //#warning Pass web client ID & remove this warning
        LCGoogleLoginBridge.InitWithClientID("926983986077-ksdfj7dfaarpca31dfane3ag439kar3l.apps.googleusercontent.com");
        PrintMessage("Google Login Initialized");
    }
コード例 #2
0
ファイル: LoginManager.cs プロジェクト: sewonist/PotatoSurya
    public void ManualInit()
    {
        if (!Application.isEditor)
        {
            LCGoogleLoginBridge.ChangeLoggingLevel(true);

            LCGoogleLoginBridge.InitWithClientID("926983986077-ksdfj7dfaarpca31dfane3ag439kar3l.apps.googleusercontent.com");
            infoText1.text = "Manually Initialized".ToString();
        }
        else
        {
            FirebaseCreate("test", "test");
        }
    }