Function initialize

  • Initializes this braze instance with your API key. This method must be called before other Braze methods are invoked. Subsequent calls will be ignored until 'destroy` is called.

    @param apiKey - Your app's Braze API Key. Your API keys can be found here. @param baseUrl - Your app's Braze SDK endpoint. Your SDK endpoint can be found here. @param options - Configuration options. See VegaInitializationOptions for supported options.

    @returns - A promise that resolves to a boolean indicating whether or not the braze instance has been successfully initialized. Reasons for returning false include a missing API key/base URL and user opt out.

    Parameters

    Returns Promise<boolean>