pushTestMode doesn't support nil values but defaults to it.
This commit is contained in:
		@@ -130,11 +130,9 @@ static OSStatus MPHotKeyHander(EventHandlerCallRef nextHandler, EventRef theEven
 | 
			
		||||
        countlyConfig.appKey = decrypt( countlyKey );
 | 
			
		||||
        countlyConfig.features = @[ CLYPushNotifications ];
 | 
			
		||||
        countlyConfig.requiresConsent = YES;
 | 
			
		||||
#if PUBLIC
 | 
			
		||||
        countlyConfig.pushTestMode = nil;
 | 
			
		||||
#elif DEBUG
 | 
			
		||||
#if DEBUG
 | 
			
		||||
        countlyConfig.pushTestMode = CLYPushTestModeDevelopment;
 | 
			
		||||
#else
 | 
			
		||||
#elif ! PUBLIC
 | 
			
		||||
        countlyConfig.pushTestMode = CLYPushTestModeTestFlightOrAdHoc;
 | 
			
		||||
#endif
 | 
			
		||||
        countlyConfig.alwaysUsePOST = YES;
 | 
			
		||||
 
 | 
			
		||||
@@ -138,11 +138,9 @@ void mpw_log_sink_pearl(const MPLogEvent *record) {
 | 
			
		||||
        countlyConfig.appKey = decrypt( countlyKey );
 | 
			
		||||
        countlyConfig.features = @[ CLYPushNotifications, CLYAutoViewTracking ];
 | 
			
		||||
        countlyConfig.requiresConsent = YES;
 | 
			
		||||
#if PUBLIC
 | 
			
		||||
        countlyConfig.pushTestMode = nil;
 | 
			
		||||
#elif DEBUG
 | 
			
		||||
#if DEBUG
 | 
			
		||||
        countlyConfig.pushTestMode = CLYPushTestModeDevelopment;
 | 
			
		||||
#else
 | 
			
		||||
#elif ! PUBLIC
 | 
			
		||||
        countlyConfig.pushTestMode = CLYPushTestModeTestFlightOrAdHoc;
 | 
			
		||||
#endif
 | 
			
		||||
        countlyConfig.alwaysUsePOST = YES;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user