facebook twitter hatena line email

「Unity/AppleAuth/FirebaseAuth連携」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(FirebaseAuthとAppleIdの連携スクリプト)
(UnityでiOSビルド時に、GoogleService-Info.plistで、REVERSED_CLIENT_IDエラーが出る場合)
行24: 行24:
  
 
参考:https://baba-s.hatenablog.com/entry/2024/06/13/111553
 
参考:https://baba-s.hatenablog.com/entry/2024/06/13/111553
 +
 +
==実行時の-7026エラーが出るとき==
 +
エラー詳細
 +
<pre>
 +
Sign in with apple throws Authorization failed: Error Domain=AKAuthenticationError Code=-7026
 +
</pre>

2025年8月7日 (木) 19:08時点における版

firebaseページのAuthenticationで、Appleを追加

https://console.firebase.google.com/u/0/?hl=ja から、指定のfirebaseプロジェクトを選択し、 Authenticationで、ログイン方法タブを選択して、新しいプロバイダに、Appleを追加する。

FirebaseAuthとAppleIdの連携スクリプト

Firebase公式:https://firebase.google.com/docs/auth/unity/apple?hl=ja&authuser=0

apple-signin-unity公式:https://github.com/lupidan/apple-signin-unity/wiki/Sign-in-with-Apple-Unity-Plugin:-Working-with-Firebase

https://toconakis.tech/ios-sign-in-with-apple/

https://goropocha.hatenablog.com/entry/2021/03/27/174352

UnityでiOSビルド時に、GoogleService-Info.plistで、REVERSED_CLIENT_IDエラーが出る場合

エラー詳細

Error building Player: GoogleService-Info.plist file missing REVERSED_CLIENT_ID, Google Sign-In will fail to initialize.

Assets/GoogleService-Info.plist

    <key>REVERSED_CLIENT_ID</key>
    <string>dummy</string>

追加する

参考:https://baba-s.hatenablog.com/entry/2024/06/13/111553

実行時の-7026エラーが出るとき

エラー詳細

Sign in with apple throws Authorization failed: Error Domain=AKAuthenticationError Code=-7026