File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -204,9 +204,10 @@ void Auth::InitPlatformAuth(AuthData* const auth_data) {
204204 auth_data->app ->function_registry ()->RegisterFunction (
205205 internal::FnAuthStopTokenListener,
206206 Auth::StopTokenRefreshThreadForRegistry);
207-
207+ # ifdef FIREBASE_EARLY_ACCESS_PREVIEW
208208 // Load existing UserData
209209 InitializeUserDataPersist (auth_data);
210+ #endif // FIREBASE_EARLY_ACCESS_PREVIEW
210211 InitializeTokenRefresher (auth_data);
211212}
212213
@@ -230,7 +231,9 @@ void Auth::DestroyPlatformAuth(AuthData* const auth_data) {
230231 auth_data->id_token_listeners .clear ();
231232 }
232233
234+ #ifdef FIREBASE_EARLY_ACCESS_PREVIEW
233235 DestroyUserDataPersist (auth_data);
236+ #endif // FIREBASE_EARLY_ACCESS_PREVIEW
234237
235238 UserView::ClearUser (auth_data);
236239
You can’t perform that action at this time.
0 commit comments