()
| 105 | } |
| 106 | |
| 107 | async enable(): Promise<void> { |
| 108 | await this.consentManager.grantConsent(); |
| 109 | const settings = this.consentManager.getSettings(); |
| 110 | if (settings) { |
| 111 | this.initializePostHog(settings); |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | async disable(): Promise<void> { |
| 116 | await this.consentManager.revokeConsent(); |
no test coverage detected