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