firebase-android-sdk
firebase-android-sdk copied to clipboard
[MFA] getEnrollmentTimestamp is returning 0
[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 https://github.com/firebase/flutterfire/issues/9354
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.
Hi @Lyokone, thanks for reporting. I was able to reproduce the same behavior. I'll notify our engineers and see what we can do here.