init method
Implementation
Future init() async {
if (_isInitialized) {
log("HightouchClient already initialized", kind: LogFilterKind.warning);
return;
}
// await _fetchSettings();
// flush any stored events
_flushPolicyExecuter.manualFlush();
// set up tracking for lifecycle events
_setupLifecycleEvents();
// save the current installed version
await _checkInstalledVersion();
_isInitialized = true;
}