I managed to solve that issue by adding a very old SHA1 , SHA256 key which was stored on my pc.
I used this command.
&"D:\Programs\Android Studio\jbr\bin\keytool" -list -v -alias androiddebugkey -keystore "$env:USERPROFILE.android\debug.keystore" -storepass android
Also Ensure all of the SHA1 and SHA256 keys are added with the updated google-services.json file.