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);
|
profileBuilder.setDisplayName(displayName);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.hasKey("photoUri")) {
|
if (props.hasKey("photoURL")) {
|
||||||
String photoUriStr = props.getString("photoUri");
|
String photoURLStr = props.getString("photoURL");
|
||||||
Uri uri = Uri.parse(photoUriStr);
|
Uri uri = Uri.parse(photoURLStr);
|
||||||
profileBuilder.setPhotoUri(uri);
|
profileBuilder.setPhotoUri(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user