From 387e94343a237d0976bdfa4f5c0e20c6922456fa Mon Sep 17 00:00:00 2001 From: Guillaume Bernos Date: Fri, 5 Jan 2024 09:48:14 +0100 Subject: [PATCH] feat(auth, windows): add support for `creationTime` and `lastSignInTime` (#12116) --- .../firebase_auth/windows/firebase_auth_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/firebase_auth/firebase_auth/windows/firebase_auth_plugin.cpp b/packages/firebase_auth/firebase_auth/windows/firebase_auth_plugin.cpp index 02c2bca158ea..a184bbe1fedd 100644 --- a/packages/firebase_auth/firebase_auth/windows/firebase_auth_plugin.cpp +++ b/packages/firebase_auth/firebase_auth/windows/firebase_auth_plugin.cpp @@ -157,6 +157,8 @@ PigeonUserInfo FirebaseAuthPlugin::ParseUserInfo( result.set_photo_url(user->photo_url()); result.set_provider_id(user->provider_id()); result.set_uid(user->uid()); + result.set_creation_timestamp(user->metadata().creation_timestamp); + result.set_last_sign_in_timestamp(user->metadata().last_sign_in_timestamp); return result; }