Bring Android updateProfile photoURL in line with web SDK and iOS naming
This commit is contained in:
parent
f6ee3ff6f9
commit
9b38d9258e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue