File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -304,13 +304,6 @@ - (void)notifySdkConfigChange:(CountlyConfig *)config
304
304
CountlyCommon.sharedInstance .maxValueLength = config.sdkInternalLimits .getMaxValueSize ;
305
305
CountlyCommon.sharedInstance .maxSegmentationValues = config.sdkInternalLimits .getMaxSegmentationValues ;
306
306
307
- config.requiresConsent = _consentRequired ?: config.requiresConsent ;
308
- CountlyConsentManager.sharedInstance .requiresConsent = config.requiresConsent ;
309
- if (_consentRequired)
310
- {
311
- [CountlyConsentManager.sharedInstance cancelConsentForAllFeatures ];
312
- }
313
-
314
307
config.eventSendThreshold = _eventQueueSize ?: config.eventSendThreshold ;
315
308
config.requestDropAgeHours = _dropOldRequestTime ?: config.requestDropAgeHours ;
316
309
config.storedRequestsLimit = _requestQueueSize ?: config.storedRequestsLimit ;
@@ -320,6 +313,13 @@ - (void)notifySdkConfigChange:(CountlyConfig *)config
320
313
321
314
config.updateSessionPeriod = _sessionInterval ?: config.updateSessionPeriod ;
322
315
_sessionInterval = config.updateSessionPeriod ;
316
+
317
+ config.requiresConsent = _consentRequired ?: config.requiresConsent ;
318
+ CountlyConsentManager.sharedInstance .requiresConsent = config.requiresConsent ;
319
+ if (_consentRequired)
320
+ {
321
+ [CountlyConsentManager.sharedInstance cancelConsentForAllFeatures ];
322
+ }
323
323
324
324
#if (TARGET_OS_IOS)
325
325
[config.content setZoneTimerInterval: _contentZoneInterval ?: config.content.getZoneTimerInterval];
You can’t perform that action at this time.
0 commit comments