You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building FirstScreen(dirty):
'package:flutter/src/painting/_network_image_io.dart': Failed assertion: line 22 pos 14: 'url != null': is not true.
The text was updated successfully, but these errors were encountered:
Make sure you provide SHA1 certificate even if it's marked as optional on firebase console and update your both build.gradle files as instructed in step 3 ( Add firebase SDK ) or step 7 in article. This two thing fixed this issue for me.
also
Make sure you follow Medium article and don't miss a single step.
I'm new to flutter but debugged this issue in detailed and it looks like google is not sending a proper responce to your request (or null reponse) because so some missconfiguration, and assert methods are just an validation to prevent null pointer kind of exception.
Also had this problem but got it working after cleaning and restarting Android Studio to reload the SHA1 google json file after I've entered it to the Firebase authentication.
Next up I faced a similar problem that email was null too. Took me a while to understand that I've been using multiple providers for my account, and that the email was found on another element of the providerData List property of the current user.
help i have this error ...
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building FirstScreen(dirty):
'package:flutter/src/painting/_network_image_io.dart': Failed assertion: line 22 pos 14: 'url != null': is not true.
The text was updated successfully, but these errors were encountered: