Skip to content

[MFA] getEnrollmentTimestamp is returning 0 #4001

Closed
@Lyokone

Description

@Lyokone

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: 2021.2.1 Patch 2
  • Firebase Component: Auth
  • Component version: 30.3.0

[REQUIRED] Step 3: Describe the problem

When running getEnrollmentTimestamp(), the SDK is returning 0.
When running the equivalent code on iOS the correct Timestamp is returned.

Steps to reproduce:

Run multiFactor.getEnrolledFactors(); and go through the results

Relevant Code:

if (info instanceof PhoneMultiFactorInfo) {
  final long a =  info.getEnrollmentTimestamp();

a should not be 0

Related issue
firebase/flutterfire#9354

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions