You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Consent handling for Application Performance Monitoring
9
+
- Added `COUNTLY_EXCLUDE_PUSHNOTIFICATIONS` flag to disable push notifications altogether in order to avoid App Store Connect warnings (thanks @grundleborg)
10
+
- Fixed an incorrect internal logging on SDK start
11
+
- Fixed location consent order to avoid some legacy Countly Server issue with location info being unavailable even after giving consent
Copy file name to clipboardExpand all lines: Countly.h
+70-10Lines changed: 70 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN
60
60
61
61
/**
62
62
* Flushes request and event queues.
63
-
* @discussion Flushes persistenly stored request queue and events recorded but not converted to a request so far.
63
+
* @discussion Flushes persistently stored request queue and events recorded but not converted to a request so far.
64
64
* @discussion Started timed events will not be affected.
65
65
*/
66
66
- (void)flushQueues;
@@ -202,7 +202,7 @@ NS_ASSUME_NONNULL_BEGIN
202
202
* Records event with given key and segmentation.
203
203
* @discussion Segmentation should be an @c NSDictionary, with keys and values are both @c NSString's only.
204
204
* @discussion Custom objects in segmentation will cause events not to be sent to Countly Server.
205
-
* @discussion Nested values in segmentation will be ignored by Counly Server event segmentation section.
205
+
* @discussion Nested values in segmentation will be ignored by Countly Server event segmentation section.
206
206
* @param key Event key, a non-zero length valid string
207
207
* @param segmentation Segmentation key-value pairs of event
208
208
*/
@@ -212,7 +212,7 @@ NS_ASSUME_NONNULL_BEGIN
212
212
* Records event with given key, segmentation and count.
213
213
* @discussion Segmentation should be an @c NSDictionary, with keys and values are both @c NSString's only.
214
214
* @discussion Custom objects in segmentation will cause events not to be sent to Countly Server.
215
-
* @discussion Nested values in segmentation will be ignored by Counly Server event segmentation section.
215
+
* @discussion Nested values in segmentation will be ignored by Countly Server event segmentation section.
216
216
* @param key Event key, a non-zero length valid string
217
217
* @param segmentation Segmentation key-value pairs of event
218
218
* @param count Count of event occurrences
@@ -223,7 +223,7 @@ NS_ASSUME_NONNULL_BEGIN
223
223
* Records event with given key, segmentation, count and sum.
224
224
* @discussion Segmentation should be an @c NSDictionary, with keys and values are both @c NSString's only.
225
225
* @discussion Custom objects in segmentation will cause events not to be sent to Countly Server.
226
-
* @discussion Nested values in segmentation will be ignored by Counly Server event segmentation section.
226
+
* @discussion Nested values in segmentation will be ignored by Countly Server event segmentation section.
227
227
* @param key Event key, a non-zero length valid string
228
228
* @param segmentation Segmentation key-value pairs of event
229
229
* @param count Count of event occurrences
@@ -235,7 +235,7 @@ NS_ASSUME_NONNULL_BEGIN
235
235
* Records event with given key, segmentation, count, sum and duration.
236
236
* @discussion Segmentation should be an @c NSDictionary, with keys and values are both @c NSString's only.
237
237
* @discussion Custom objects in segmentation will cause events not to be sent to Countly Server.
238
-
* @discussion Nested values in segmentation will be ignored by Counly Server event segmentation section.
238
+
* @discussion Nested values in segmentation will be ignored by Countly Server event segmentation section.
239
239
* @param key Event key, a non-zero length valid string
240
240
* @param segmentation Segmentation key-value pairs of event
241
241
* @param count Count of event occurrences
@@ -263,7 +263,7 @@ NS_ASSUME_NONNULL_BEGIN
263
263
* @discussion Trying to end an event with already ended (or not yet started) key will have no effect.
264
264
* @discussion Segmentation should be an @c NSDictionary, with keys and values are both @c NSString's only.
265
265
* @discussion Custom objects in segmentation will cause events not to be sent to Countly Server.
266
-
* @discussion Nested values in segmentation will be ignored by Counly Server event segmentation section.
266
+
* @discussion Nested values in segmentation will be ignored by Countly Server event segmentation section.
267
267
* @param key Event key, a non-zero length valid string
268
268
* @param segmentation Segmentation key-value pairs of event
269
269
* @param count Count of event occurrences
@@ -282,6 +282,7 @@ NS_ASSUME_NONNULL_BEGIN
282
282
283
283
#pragma mark - Push Notification
284
284
#if (TARGET_OS_IOS || TARGET_OS_OSX)
285
+
#ifndef COUNTLY_EXCLUDE_PUSHNOTIFICATIONS
285
286
/**
286
287
* Shows default system dialog that asks for user's permission to display notifications.
287
288
* @discussion A unified convenience method that handles asking for notification permission on both iOS10 and older iOS versions with badge, sound and alert notification types.
@@ -321,6 +322,7 @@ NS_ASSUME_NONNULL_BEGIN
321
322
*/
322
323
- (void)clearPushNotificationToken;
323
324
#endif
325
+
#endif
324
326
325
327
326
328
@@ -355,7 +357,7 @@ NS_ASSUME_NONNULL_BEGIN
355
357
- (void)recordIP:(NSString *)IP;
356
358
357
359
/**
358
-
* Disables geo-location based push notifications by clearing all exsisting location info.
360
+
* Disables geo-location based push notifications by clearing all existing location info.
359
361
* @discussion Once disabled, geo-location based push notifications can be enabled again by calling @c recordLocation: or @c recordCity:andISOCountryCode: or @c recordIP: method.
360
362
*/
361
363
- (void)disableLocationInfo;
@@ -400,7 +402,7 @@ NS_ASSUME_NONNULL_BEGIN
400
402
401
403
/**
402
404
* @c crashLog: method is deprecated. Please use @c recordCrashLog: method instead.
403
-
* @discussion Be advised, parameter type chenged to plain @c NSString from string format, for better Swift compatibility.
405
+
* @discussion Be advised, parameter type changed to plain @c NSString from string format, for better Swift compatibility.
404
406
* @discussion Calling this method will have no effect.
0 commit comments