MCPcopy Create free account
hub / github.com/Iterable/react-native-sdk / initialize2

Method initialize2

src/core/classes/Iterable.ts:174–188  ·  view source on GitHub ↗

* DO NOT CALL THIS METHOD. * This method is used internally to connect to staging environment. * * @internal

(
    apiKey: string,
    config: IterableConfig = new IterableConfig(),
    apiEndPoint: string
  )

Source from the content-addressed store, hash-verified

172 * @internal
173 */
174 static initialize2(
175 apiKey: string,
176 config: IterableConfig = new IterableConfig(),
177 apiEndPoint: string
178 ): Promise<boolean> {
179 this.setupIterable(config);
180
181 const version = this.getVersionFromPackageJson();
182
183 return IterableApi.initialize2WithApiKey(apiKey, {
184 config,
185 version,
186 apiEndPoint,
187 });
188 }
189
190 /**
191 * @internal

Callers 1

Iterable.test.tsFile · 0.80

Calls 3

setupIterableMethod · 0.95
initialize2WithApiKeyMethod · 0.65

Tested by

no test coverage detected