@@ -148,12 +148,12 @@ - (instancetype)init
148148 isInitialializingDependencyContainer = YES ;
149149
150150 _dispatchQueueWrapper = SentryDependencies.dispatchQueueWrapper ;
151- _random = [[SentryRandom alloc ] init ] ;
152- _threadWrapper = [[SentryThreadWrapper alloc ] init ] ;
151+ _random = SentryDependencies. random ;
152+ _threadWrapper = SentryDependencies. threadWrapper ;
153153 _binaryImageCache = [[SentryBinaryImageCache alloc ] init ];
154154 _dateProvider = SentryDependencies.dateProvider ;
155155
156- _notificationCenterWrapper = NSNotificationCenter . defaultCenter ;
156+ _notificationCenterWrapper = SentryDependencies. notificationCenterWrapper ;
157157
158158 _processInfoWrapper = SentryDependencies.processInfoWrapper ;
159159 _crashWrapper = [[SentryCrashWrapper alloc ] initWithProcessInfoWrapper: _processInfoWrapper];
@@ -172,7 +172,7 @@ - (instancetype)init
172172#endif // TARGET_OS_IOS && SENTRY_HAS_UIKIT
173173 ];
174174
175- _sysctlWrapper = [[SentrySysctl alloc ] init ] ;
175+ _sysctlWrapper = SentryDependencies. sysctlWrapper ;
176176
177177 SentryRetryAfterHeaderParser *retryAfterHeaderParser = [[SentryRetryAfterHeaderParser alloc ]
178178 initWithHttpDateParser: [[SentryHttpDateParser alloc ] init ]
@@ -184,9 +184,6 @@ - (instancetype)init
184184 [[SentryDefaultRateLimits alloc ] initWithRetryAfterHeaderParser: retryAfterHeaderParser
185185 andRateLimitParser: rateLimitParser
186186 currentDateProvider: _dateProvider];
187- _infoPlistWrapper = [[SentryInfoPlistWrapper alloc ] init ];
188- _sessionReplayEnvironmentChecker = [[SentrySessionReplayEnvironmentChecker alloc ]
189- initWithInfoPlistWrapper: _infoPlistWrapper];
190187
191188 _reachability = [[SentryReachability alloc ] init ];
192189
0 commit comments