You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since v9, the PhoneMultiFactorInfo is not exported from firebase/auth. This type is accessible in v8 firebase.auth.PhoneMultiFactorInfo.
In v9, there's still an enrolledFactors item that is of the type PhoneMultiFactorInfo. I know this because I do enrolledFactors[0].phoneNumber and it is still returning the 2FA phone number. It's just that the type is missing in the SDK.
Describe your environment
[REQUIRED] Describe the problem
Since v9, the
PhoneMultiFactorInfo
is not exported fromfirebase/auth
. This type is accessible in v8firebase.auth.PhoneMultiFactorInfo
.In v9, there's still an
enrolledFactors
item that is of the typePhoneMultiFactorInfo
. I know this because I doenrolledFactors[0].phoneNumber
and it is still returning the 2FA phone number. It's just that the type is missing in the SDK.See here for v8: https://github.com/firebase/firebase-js-sdk/blob/master/packages/auth-types/index.d.ts#L376-L378
Not present in v9 public types: https://github.com/firebase/firebase-js-sdk/blob/master/packages/auth/src/model/public_types.ts
The text was updated successfully, but these errors were encountered: