mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 12:06:47 +08:00
Bring Android updateProfile photoURL in line with web SDK and iOS naming
This commit is contained in:
@@ -439,9 +439,9 @@ public class RNFirebaseAuth extends ReactContextBaseJavaModule {
|
||||
profileBuilder.setDisplayName(displayName);
|
||||
}
|
||||
|
||||
if (props.hasKey("photoUri")) {
|
||||
String photoUriStr = props.getString("photoUri");
|
||||
Uri uri = Uri.parse(photoUriStr);
|
||||
if (props.hasKey("photoURL")) {
|
||||
String photoURLStr = props.getString("photoURL");
|
||||
Uri uri = Uri.parse(photoURLStr);
|
||||
profileBuilder.setPhotoUri(uri);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user