init static method

dynamic init(
  1. TBLPublisherInfo publisherInfo
)

Initializes the Taboola SDK with the provided TBLPublisherInfo. Use this method to configure the Taboola SDK with your TBLPublisherInfo.

publisherInfo: Information about your Taboola publisher account.

Implementation

static init(TBLPublisherInfo publisherInfo) {
  if (Platform.isIOS) {
    final TBLWebviewWarmUp _tblWarmUp = TBLWebviewWarmUp();

    _isWebViewWarmedUp = _tblWarmUp.initWarmUp();
  }
  _internalInit();
  _tblEventsManager
      .trySendTrackingGrantedEventToBeacon(WHERE_CALLED_FROM.INIT);
  Taboola._tblPublisherInfo = publisherInfo;
}