MCPcopy Create free account
hub / github.com/NativeScript/firebase / reload

Method reload

packages/firebase-auth/index.android.ts:340–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338 }
339
340 reload(): Promise<void> {
341 return new Promise((resolve, reject) => {
342 if (!this.native) {
343 reject();
344 } else {
345 NSFirebaseAuth().User.reload(
346 this.native,
347 new org.nativescript.firebase.auth.FirebaseAuth.Callback({
348 onSuccess(success) {
349 resolve();
350 },
351 onError(error) {
352 reject(FirebaseError.fromNative(error));
353 },
354 })
355 );
356 }
357 });
358 }
359
360 sendEmailVerification(actionCodeSettings?: ActionCodeSettings): Promise<void> {
361 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

reloadMethod · 0.65

Tested by

no test coverage detected