internal PushCountlyService(EventCountlyService eventCountlyService, RequestCountlyHelper requestCountlyHelper, INotificationsService notificationsService, NotificationsCallbackService notificationsCallbackService)
 {
     _eventCountlyService          = eventCountlyService;
     _requestCountlyHelper         = requestCountlyHelper;
     _notificationsService         = notificationsService;
     _notificationsCallbackService = notificationsCallbackService;
 }
        private void Init(RequestRepository requestRepo, ViewEventRepository viewEventRepo,
                          NonViewEventRepository nonViewEventRepo, Dao <ConfigEntity> configDao, EventNumberInSameSessionHelper eventNumberInSameSessionHelper)
        {
            var countlyUtils = new CountlyUtils(this);
            var requests     = new RequestCountlyHelper(Config, countlyUtils, requestRepo);

            Events             = new EventCountlyService(Config, requests, viewEventRepo, nonViewEventRepo, eventNumberInSameSessionHelper);
            OptionalParameters = new OptionalParametersCountlyService();
            Notifications      = new NotificationsCallbackService(Config);
            var notificationsService = new ProxyNotificationsService(Config, InternalStartCoroutine, Events);

            _push   = new PushCountlyService(Events, requests, notificationsService, Notifications);
            Session = new SessionCountlyService(Config, _push, requests, OptionalParameters, eventNumberInSameSessionHelper);

            Consents     = new ConsentCountlyService();
            CrashReports = new CrashReportsCountlyService(Config, requests);

            Device         = new DeviceIdCountlyService(Session, requests, Events, countlyUtils);
            Initialization = new InitializationCountlyService(Session);

            RemoteConfigs = new RemoteConfigCountlyService(Config, requests, countlyUtils, configDao);

            StarRating     = new StarRatingCountlyService(Events);
            UserDetails    = new UserDetailsCountlyService(requests, countlyUtils);
            Views          = new ViewCountlyService(Config, Events);
            _inputObserver = InputObserverResolver.Resolve();
        }
 public DeviceIdCountlyService(SessionCountlyService sessionCountlyService,
                               RequestCountlyHelper requestCountlyHelper, IEventCountlyService eventCountlyService, ICountlyUtils countlyUtils)
 {
     _sessionCountlyService = sessionCountlyService;
     _requestCountlyHelper  = requestCountlyHelper;
     _eventCountlyService   = eventCountlyService;
     _countlyUtils          = countlyUtils;
 }
Exemple #4
0
 internal DeviceIdCountlyService(SessionCountlyService sessionCountlyService,
                                 RequestCountlyHelper requestCountlyHelper, EventCountlyService eventCountlyService, CountlyUtils countlyUtils)
 {
     _sessionCountlyService = sessionCountlyService;
     _requestCountlyHelper  = requestCountlyHelper;
     _eventCountlyService   = eventCountlyService;
     _countlyUtils          = countlyUtils;
 }
Exemple #5
0
 internal EventCountlyService(CountlyConfigModel countlyConfigModel, RequestCountlyHelper requestCountlyHelper,
                              ViewEventRepository viewEventRepo, NonViewEventRepository nonViewEventRepo, EventNumberInSameSessionHelper eventNumberInSameSessionHelper)
 {
     _countlyConfigModel             = countlyConfigModel;
     _requestCountlyHelper           = requestCountlyHelper;
     _viewEventRepo                  = viewEventRepo;
     _nonViewEventRepo               = nonViewEventRepo;
     _eventNumberInSameSessionHelper = eventNumberInSameSessionHelper;
 }
        internal RemoteConfigCountlyService(CountlyConfigModel config, RequestCountlyHelper requestCountlyHelper, CountlyUtils countlyUtils, Dao <ConfigEntity> configDao)
        {
            _config               = config;
            _configDao            = configDao;
            _countlyUtils         = countlyUtils;
            _requestCountlyHelper = requestCountlyHelper;

            Configs = FetchConfigFromDB();
        }
Exemple #7
0
 internal SessionCountlyService(CountlyConfigModel configModel, PushCountlyService pushCountlyService,
                                RequestCountlyHelper requestCountlyHelper, OptionalParametersCountlyService optionalParametersCountlyService,
                                EventNumberInSameSessionHelper eventNumberInSameSessionHelper)
 {
     _configModel                      = configModel;
     _pushCountlyService               = pushCountlyService;
     _requestCountlyHelper             = requestCountlyHelper;
     _optionalParametersCountlyService = optionalParametersCountlyService;
     _eventNumberInSameSessionHelper   = eventNumberInSameSessionHelper;
 }
Exemple #8
0
 public PushCountlyService(RequestCountlyHelper requestCountlyHelper, INotificationsService notificationsService)
 {
     _requestCountlyHelper = requestCountlyHelper;
     _notificationsService = notificationsService;
 }
 public CrushReportsCountlyService(CountlyConfigModel configModel, RequestCountlyHelper requestCountlyHelper)
 {
     _configModel          = configModel;
     _requestCountlyHelper = requestCountlyHelper;
 }
Exemple #10
0
 public RemoteConfigCountlyService(RequestCountlyHelper requestCountlyHelper, ICountlyUtils countlyUtils, Dao <ConfigEntity> configDao)
 {
     _requestCountlyHelper = requestCountlyHelper;
     _countlyUtils         = countlyUtils;
     _configDao            = configDao;
 }
 public UserDetailsCountlyService(RequestCountlyHelper requestCountlyHelper, ICountlyUtils countlyUtils)
 {
     _requestCountlyHelper = requestCountlyHelper;
     _countlyUtils         = countlyUtils;
 }
 internal CrashReportsCountlyService(CountlyConfigModel configModel, RequestCountlyHelper requestCountlyHelper)
 {
     _configModel          = configModel;
     _requestCountlyHelper = requestCountlyHelper;
 }
Exemple #13
0
 internal UserDetailsCountlyService(RequestCountlyHelper requestCountlyHelper, CountlyUtils countlyUtils)
 {
     _requestCountlyHelper = requestCountlyHelper;
     _countlyUtils         = countlyUtils;
 }