-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛] 🔥 enrolledFactors not accessible on MultiFactorUser #7189
Comments
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Thanks for your patience, sorry for the delay, updating docs to match code is not breaking, updating code to match docs is breaking, so prefer to update docs in general and not break code Only trouble is if firebase-js-sdk also has these typings we must match them, at which point updating code is best, but adding ability to access with new property while deprecating but not removing old property helps existing users adapt A PR that did this would be truly appreciated |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
@mikehardy Did @huwmartin open a PR on this? If not I will open and send to you for approval. I would love access to the last four of the phone number in my app before the user completes signin with MFA |
@yuvalhermelin-fijoya no but it looks like @mnahkies has something good cooking in #7565 that is 😬 waiting on me. Suggest you follow that one and I'll work to get it through now |
Raised #7652 to cover the |
Issue
Documentation states that
MultiFactorUser
has a propertyenrolledFactors
and so do the TypeScript types, but in code this is namedenrolledFactor
https://github.com/invertase/react-native-firebase/blob/main/packages/auth/lib/multiFactor.js#L17, so this isn't working as expected. Happy to open a PR for this if that would be helpful - shouldMultiFactorUser
in multiFactor.js be updated with property naming as-per the docs?Project Files
Javascript
Click To Expand
package.json
:# N/A
firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:e.g. 5.4.3
Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?Y/N
&VERSION
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: