After logged in, you can retrieve user information like email and name and profile picture.
You can find which items you can use, with the break point after you got the Auth.auth().currentUser value.
To update user profile picture, you'd be better to use KingFisher library
GitHub - onevcat/Kingfisher: A lightweight, pure-Swift library for downloading and caching images…
Kingfisher is a powerful, pure-Swift library for downloading and caching images from the web. It provides you a chance…
Add this line into your Profile, and install.
If you have still opened Xcode when you install a pod library, you’ll face this popup
Just select the above button ‘Read from Disk’
Import the Kingfisher library
It is enough with the user.photoURL value to load the profile picture. If you need to know more about the parameters, refer to the official git repository above.
Kingfisher make you write shorter lines to set and change images. And the placeholder option is good when you handle the error with a default image.