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
* Returns current device ID being used for tracking.
158
-
* @discussion Device ID can be used for handling data export and/or removal requests as part of data privacy compliance.
159
-
*/
160
-
- (NSString *)deviceID;
161
-
162
192
163
193
164
194
#pragma mark - Events
@@ -311,7 +341,8 @@ NS_ASSUME_NONNULL_BEGIN
311
341
312
342
/**
313
343
* Records push notification token to Countly Server for current device ID.
314
-
* @discussion Can be used to re-send push notification token for current device ID, after a new user logs in and device ID changes, without waiting for the app to be restarted.
344
+
* @discussion Can be used to re-send push notification token for current device ID, without waiting for the app to be restarted.
345
+
* @discussion For cases like a new user logs in and device ID changes, or a new app key is set.
315
346
* @discussion In general, push notification token is handled automatically and this method does not need to be called manually.
316
347
*/
317
348
- (void)recordPushNotificationToken;
@@ -504,7 +535,7 @@ NS_ASSUME_NONNULL_BEGIN
504
535
505
536
506
537
507
-
#pragma mark - Star Rating
538
+
#pragma mark - Feedbacks
508
539
#if (TARGET_OS_IOS)
509
540
/**
510
541
* Shows star-rating dialog manually and executes completion block after user's action.
@@ -518,17 +549,30 @@ NS_ASSUME_NONNULL_BEGIN
518
549
* Presents feedback widget with given ID in a WKWebView placed in a UIViewController.
519
550
* @discussion First, the availability of the feedback widget will be checked asynchronously.
520
551
* @discussion If the feedback widget with given ID is available, it will be modally presented.
521
-
* @discussion Otherwise, @c completionHandler will be called with an @c NSError.
522
-
* @discussion @c completionHandler will also be called with @c nil when feedback widget is dismissed by user.
552
+
* @discussion Otherwise, @c completionHandler will be executed with an @c NSError.
553
+
* @discussion @c completionHandler will also be executed with @c nil when feedback widget is dismissed by user.
523
554
* @discussion Calls to this method will be ignored and @c completionHandler will not be executed if:
524
-
* @discussion - Consent for @c CLYConsentStarRating is not given, while @c requiresConsent flag is set on initial configuration.
555
+
* @discussion - Consent for @c CLYConsentFeedback is not given, while @c requiresConsent flag is set on initial configuration.
525
556
* @discussion - Current device ID is @c CLYTemporaryDeviceID.
526
557
* @discussion - @c widgetID is not a non-zero length valid string.
558
+
* @discussion This is a legacy method for presenting Rating type feedback widgets only.
559
+
* @discussion Passing widget ID's of Survey or NPS type feedback widgets will not work.
527
560
* @param widgetID ID of the feedback widget created on Countly Server.
528
561
* @param completionHandler A completion handler block to be executed when feedback widget is dismissed by user or there is an error.
0 commit comments