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

Method activate

packages/firebase-app-check/index.android.ts:128–135  ·  view source on GitHub ↗
(isTokenAutoRefreshEnabled: boolean)

Source from the content-addressed store, hash-verified

126 }
127
128 activate(isTokenAutoRefreshEnabled: boolean) {
129 this.native.setTokenAutoRefreshEnabled(isTokenAutoRefreshEnabled);
130 if (customProvider) {
131 this.native.installAppCheckProviderFactory(customProvider.native);
132 } else {
133 this.native.installAppCheckProviderFactory(com.google.firebase.appcheck.playintegrity.PlayIntegrityAppCheckProviderFactory.getInstance());
134 }
135 }
136
137 getToken(forceRefresh: boolean): Promise<AppCheckToken> {
138 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 2

getInstanceMethod · 0.45

Tested by

no test coverage detected