是否有方法在UserProfileChangeRequest setDisplayName中引用firebase存储

是否有方法在UserProfileChangeRequest setDisplayName中引用firebase存储,firebase,firebase-authentication,firebase-storage,Firebase,Firebase Authentication,Firebase Storage,方法如下: setDisplayName(Uri uri) 是否有方法引用firebase直接存储路径?像 gs://project.appspot.com/default/profile_image.jpg或just/default/profile_image.jpg 或者你只能用这个: setPhotoUri(Uri.parse("https://firebasestorage.googleapis.com/v0/b/project.appspot.com/o/default%2Fprof

方法如下:

setDisplayName(Uri uri)
是否有方法引用firebase直接存储路径?像

gs://project.appspot.com/default/profile_image.jpg或just/default/profile_image.jpg

或者你只能用这个:

setPhotoUri(Uri.parse("https://firebasestorage.googleapis.com/v0/b/project.appspot.com/o/default%2Fprofile_image.jpg?alt=media&token=0d9efwe097-dddd-4asd4ewfw4e267b7ad8"));

我建议您使用HTTPS URL,您想使用GS URI有什么原因吗?HTTPS带有令牌,而且感觉很脏,但是好的,谢谢,我只需要使用它