iOS/Swift/Firebase Authentication: Help Needed on Accessing “isNewUser”
问题 In my iOS/Swift/Firebase app, I am trying to access the "isNewUser" parameter after a user successfully signs in via email/password so that I can pop a window to compel them to reset their password from the temporary one initially assigned upon user creation. Any insights would be appreciated. Thanks. 回答1: The .isNewUser method is available from the FirebaseAuth AdditionalUserInfo class. Here is the link. In order to utilize this code, please see a demo sign in function I wrote below. Auth