Unity/AppleAuth/FirebaseAuth連携
提供: 初心者エンジニアの簡易メモ
2025年8月7日 (木) 19:08時点におけるAdmin (トーク | 投稿記録)による版 (→UnityでiOSビルド時に、GoogleService-Info.plistで、REVERSED_CLIENT_IDエラーが出る場合)
目次
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