invertase / react-native-apple-authentication

A React Native library providing support for Apple Authentication on iOS and Android.
Other
1.4k stars 223 forks source link

Service ID Error on Firebase Android and iOS #310

Closed murilopf-up closed 1 year ago

murilopf-up commented 1 year ago

Hi all, I'm having a this problem, when I put the Service ID in firebase my Android login starts working but my iOS login starts returning the error:

[Error: [auth/invalid-credential] The supplied auth credential is malformed or has expired.]

Captura de Tela 2022-10-31 às 14 01 55

But if I remove Service ID from the firebase dashboard, my iOS login starts working but my Android login starts returning the following errors:

[Error: [auth/invalid-credential] The supplied auth credential is malformed or has expired. [ The audience in ID Token [com.mytoken.android] does not match the expected audience. ]]

Could anyone help me with this?