For flutter iOS I did the first step that mentioned by Sai Prashanth in the appDelegate.swift file AND
I added the Encoded app ID in the URL schemes [check image]. you can find the Encoded app ID in your firebase project settings in the area where you download the GoogleService-Info.plist file