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

Method activate

packages/firebase-remote-config/index.ios.ts:150–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 activate(): Promise<boolean> {
151 return new Promise((resolve, reject) => {
152 this.native.activateWithCompletion((done, error) => {
153 if (error) {
154 const err = FirebaseError.fromNative(error);
155 reject(err);
156 } else {
157 resolve(done);
158 }
159 });
160 });
161 }
162 ensureInitialized(): Promise<void> {
163 return new Promise((resolve, reject) => {
164 this.native.ensureInitializedWithCompletionHandler((error) => {

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected