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) {
204
204
auth_data->app ->function_registry ()->RegisterFunction (
205
205
internal::FnAuthStopTokenListener,
206
206
Auth::StopTokenRefreshThreadForRegistry);
207
-
207
+ # ifdef FIREBASE_EARLY_ACCESS_PREVIEW
208
208
// Load existing UserData
209
209
InitializeUserDataPersist (auth_data);
210
+ #endif // FIREBASE_EARLY_ACCESS_PREVIEW
210
211
InitializeTokenRefresher (auth_data);
211
212
}
212
213
@@ -230,7 +231,9 @@ void Auth::DestroyPlatformAuth(AuthData* const auth_data) {
230
231
auth_data->id_token_listeners .clear ();
231
232
}
232
233
234
+ #ifdef FIREBASE_EARLY_ACCESS_PREVIEW
233
235
DestroyUserDataPersist (auth_data);
236
+ #endif // FIREBASE_EARLY_ACCESS_PREVIEW
234
237
235
238
UserView::ClearUser (auth_data);
236
239
You can’t perform that action at this time.
0 commit comments