Skip to content

Commit

Permalink
add export to the object
Browse files Browse the repository at this point in the history
  • Loading branch information
noa-kogonia committed Feb 19, 2024
1 parent 473c609 commit 3802135
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions www/appsflyer.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,13 @@ if (!window.CustomEvent) {
exec(null, null, 'AppsFlyerPlugin', 'setConsentData', [enable]);
}

export const AppsFlyerConsent: {
forGDPRUser: (hasConsentForDataUsage: boolean, hasConsentForAdsPersonalization: boolean) => void;
forNonGDPRUser: () => void;
}

export type AppsFlyerConsentType = typeof AppsFlyerConsent;

let AppsFlyerConsent = (function () {
// Private constructor
function AppsFlyerConsent(isUserSubjectToGDPR, hasConsentForDataUsage, hasConsentForAdsPersonalization) {
Expand Down

0 comments on commit 3802135

Please sign in to comment.