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
Copy file name to clipboardExpand all lines: modules/CountlyClass.js
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -518,7 +518,7 @@ constructor(ob) {
518
518
519
519
notifyLoaders();
520
520
521
-
setTimeout(function(){
521
+
setTimeout(()=>{
522
522
if(!Countly.noHeartBeat){
523
523
heartBeat();
524
524
}else{
@@ -801,13 +801,17 @@ constructor(ob) {
801
801
/**
802
802
* Remove consent for specific feature, meaning, user opted out to track that data (either core feature of from custom feature group)
803
803
* @param {string|array} feature - name of the feature, possible values, "sessions","events","views","scrolls","clicks","forms","crashes","attribution","users", etc or custom provided through {@link Countly.group_features}
804
-
* @param {Boolean} enforceConsentUpdate - regulates if a request will be sent to the server or not. If true, removing consents will send a request to the server and if false, consents will be removed without a request
805
804
*/
806
805
this.remove_consent=function(feature){
807
806
log(logLevelEnums.INFO,"remove_consent, Removing consent for ["+feature+"]");
808
807
this.remove_consent_internal(feature,true);
809
808
};
810
-
// removes consent without updating
809
+
810
+
/**
811
+
* Remove consent for specific feature, meaning, user opted out to track that data (either core feature of from custom feature group)
812
+
* @param {string|array} feature - name of the feature, possible values, "sessions","events","views","scrolls","clicks","forms","crashes","attribution","users", etc or custom provided through {@link Countly.group_features}
813
+
* @param {Boolean} enforceConsentUpdate - regulates if a request will be sent to the server or not. If true, removing consents will send a request to the server and if false, consents will be removed without a request
0 commit comments