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
if ([OSPrivacyConsentController shouldLogMissingPrivacyConsentErrorWithMethodName:@"enterLiveActivity:onSuccess:onFailure:"]) {
350
-
if (failureBlock) {
351
-
NSError *error = [NSErrorerrorWithDomain:@"com.onesignal.tags"code:0userInfo:@{@"error" : @"Your application has called enterLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
if ([OSPrivacyConsentController shouldLogMissingPrivacyConsentErrorWithMethodName:@"exitLiveActivity:onSuccess:onFailure:"]) {
371
-
if (failureBlock) {
372
-
NSError *error = [NSErrorerrorWithDomain:@"com.onesignal.tags"code:0userInfo:@{@"error" : @"Your application has called exitLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
if ([OSPrivacyConsentController shouldLogMissingPrivacyConsentErrorWithMethodName:@"enterLiveActivity:onSuccess:onFailure:"]) {
107
+
if (failureBlock) {
108
+
NSError *error = [NSErrorerrorWithDomain:@"OneSignal.LiveActivities"code:0userInfo:@{@"error" : @"Your application has called enterLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
[OneSignalLog onesignalLog:ONE_S_LL_VERBOSE message:[NSStringstringWithFormat:@"enterLiveActivity called with activityId: %@ token: %@", activityId, token]];
94
119
95
120
if ([OSPrivacyConsentController shouldLogMissingPrivacyConsentErrorWithMethodName:@"enterLiveActivity:onSuccess:onFailure:"]) {
96
121
if (failureBlock) {
97
-
NSError *error = [NSErrorerrorWithDomain:@"com.onesignal.tags"code:0userInfo:@{@"error" : @"Your application has called enterLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
122
+
NSError *error = [NSErrorerrorWithDomain:@"OneSignal.LiveActivities"code:0userInfo:@{@"error" : @"Your application has called enterLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
if ([OSPrivacyConsentController shouldLogMissingPrivacyConsentErrorWithMethodName:@"exitLiveActivity:onSuccess:onFailure:"]) {
151
+
if (failureBlock) {
152
+
NSError *error = [NSErrorerrorWithDomain:@"OneSignal.LiveActivities"code:0userInfo:@{@"error" : @"Your application has called exitLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
[OneSignalLog onesignalLog:ONE_S_LL_VERBOSE message:[NSStringstringWithFormat:@"exitLiveActivity called with activityId: %@", activityId]];
117
163
if ([OSPrivacyConsentController shouldLogMissingPrivacyConsentErrorWithMethodName:@"exitLiveActivity:onSuccess:onFailure:"]) {
118
164
if (failureBlock) {
119
-
NSError *error = [NSErrorerrorWithDomain:@"com.onesignal.tags"code:0userInfo:@{@"error" : @"Your application has called exitLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
165
+
NSError *error = [NSErrorerrorWithDomain:@"OneSignal.LiveActivities"code:0userInfo:@{@"error" : @"Your application has called exitLiveActivity:onSuccess:onFailure: before the user granted privacy permission. Please call `consentGranted(bool)` in order to provide user privacy consent"}];
0 commit comments