-1

I have added firebase authentication to my flutter project. and when it is running on the emulator. it is perfectly run on it with authentication feature(Login and sign in both are working fine).

but when I use it with my real mobile phone using USB debugging. it is perfectly running, except authentication. every time it is failed to login and sign in with real device

1 Answers1

0

Are you doing both in Debug mode or are you doing Release mode on your device? If so, you might need to add the release SHA keys to Firebase. cd android ./gradlew :app:signingReport

  • No I am testing my app on a real device. instead of emulator.. in the emulator. app is running perfect. but when I testing it with my device, it is always failed to perform the authentication part – Ravindu Dharmadasa Aug 12 '21 at 16:16
  • I think we need more information to be able to help you then. At which point is it failing exactly? What error messages are you getting? – Louis Deveseleer Aug 12 '21 at 16:22
  • thank you for your support. I think it is an issue with my phone. it ran perfectly on another device. thank you – Ravindu Dharmadasa Aug 12 '21 at 16:59