MCPcopy Index your code
hub / github.com/NativeScript/firebase / callback

Function callback

packages/firebase-app-check/index.android.ts:75–81  ·  view source on GitHub ↗
(token: { token: string; expirationDate: Date }, error: FirebaseError)

Source from the content-addressed store, hash-verified

73 getToken() {
74 let result;
75 const callback = (token: { token: string; expirationDate: Date }, error: FirebaseError) => {
76 if (token) {
77 token = new (<any>org).nativescript.firebase.app_check.FirebaseAppCheck.AppCheckToken(token.token, token.expirationDate.getTime());
78 } else {
79 result = (error as any).intoNative();
80 }
81 };
82
83 ref.get?.().getToken(callback);
84 return result;

Callers 12

onDataChangeMethod · 0.85
onChildAddedMethod · 0.85
onChildChangedMethod · 0.85
onChildRemovedMethod · 0.85
onChildMovedMethod · 0.85
onMethod · 0.85
onSuccessMethod · 0.85
onSuccessMethod · 0.85
index.android.tsFile · 0.85
constructorMethod · 0.85
constructorMethod · 0.85
constructorMethod · 0.85

Calls 1

intoNativeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…