问题描述
changeRequest.photoURL
因为:
$ b模拟器一(5英寸):changeRequest.photoURL = 。Firebase身份验证API不会自动上传您提供的本地图片。如果您正在寻找上传和存储本地图片的地方,建议您查看 - 特别是有关。
Where this data are stored ?
changeRequest.photoURL
Because :
Simulator one (5 inch): changeRequest.photoURL = http://xxx...../1.jpg
I use now simulator Two (4.7 inch) witch the same user and change photoUrl :changeRequest.photoURL = http://xxx...../2.jpg
If i go now in simulator one when i asked for user.photoUrl it's always 1.jpg.... (so error) and not 2.jpg
So this data are stored in phone and not in firebase... can someone confirm this pls ?
Regards
The value that you provide for FIRUserProfileChangeRequest.photoURL
, must point to a publicly accessible image for the user.
For comparison: this is your public profile image's URL for Stack Overflow: https://www.gravatar.com/avatar/4ebee97695ce4f9bc246d73714972745?s=32&d=identicon&r=PG&f=1
, which shows as .
The Firebase Authentication API does not automatically upload a local image you provide. If you're looking for a place to upload and store the local image, I recommend that you check out Firebase Storage - specifically its section on uploading files from iOS.
这篇关于FIRUserProfileChangeRequest存储数据的地方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!