resetWithConfig method
Implementation
Future<void> resetWithConfig(IdeaConfigModel? config) async {
if (config is IdeaConfigModel) {
_config = config;
}
if (!_firstStartOnceToken) {
EasyLog.logEvent("launch_app_first_start");
_firstStartOnceToken = true;
}
await _loadLocalData();
await _loadCacheConfirm();
if (_currentConfirmModel != null) {
await _handlePtReadyWithConfirm(_currentConfirmModel!);
await _handleBuReadyWithConfirm(_currentConfirmModel!);
await _handleKpReadyWithConfirm(_currentConfirmModel!);
}
await _refreshConfirmNumAfterFetch(false);
_isLoadConfirm = false;
await _handleAppsflyer();
await _getConfirm();
}