firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

[Bug] Auth SignInWithCredentialAsync cause Error iOS

Open xavierarpa opened this issue 2 years ago • 2 comments

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2022.3.10f1
  • Firebase Unity SDK version: 11.5.0
  • Source you installed the SDK: .unitypackage
  • Problematic Firebase Component: Auth
  • Other Firebase Components in use: Firestore, RemoteConfig, Analitycs
  • Additional SDKs you are using: Ironsource, FacebookSDK, GooglePlayGamesPlugin, AppleSignInUnity, GooglePlayReview, GoogleMobileAds
  • Platform you are using the Unity editor on: Mac
  • Platform you are targeting: iOS, Android
  • Scripting Runtime: IL2CPP
  • Pre-built SDK from the website or open-source from this repo: Pre-built SDK

[REQUIRED] Please describe the issue here:

I have changed to a new mac (Attached below) and it compiles the application perfectly, the problem is found when trying to authenticate the account with Firebase which gives me the error shown.  The code has not been changed since the beginning. so I think it is a problem with the Firebase library in XCode or version 15.0.1 of XCode

I have tested the libraries in Android (GPG) and in Editor (using mail) and it works correctly

In the podfile I have added

pod 'Firebase/Auth', '10.15.0'

Steps to reproduce:

  • "SignIn with Apple"
  • OAuthProvider.GetCredential
  • SignInWithCredentialAsync // Error

This issue ocurrs 100% times

Relevant Code:

// "SignIn with Apple"

credential = Auth.OAuthProvider.GetCredential( PROVIDER_IOS,  IdentityToken, RawNonce, null);

await instance.SignInWithCredentialAsync(credential); // Err
Captura de pantalla 2023-11-30 a las 11 50 37 Captura de pantalla 2023-11-30 a las 11 50 45

0

1

xavierarpa avatar Nov 30 '23 11:11 xavierarpa

Hi @xavierarpa,

It's possible that a compatibility issue is causing this to happen. Could you specify the setup (chip, OS version, Xcode version) of your previous machine so we can confirm this?

paulinon avatar Dec 04 '23 09:12 paulinon

Hello @paulinon

The company I am currently working for does not have that particular Mac, making it impossible for me to provide specific details about its configuration.Thank you for your understanding!

xavierarpa avatar Dec 04 '23 13:12 xavierarpa