react-native-google-mobile-ads 14.7.1 → 14.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -0
- package/docs/european-user-consent.mdx +2 -0
- package/lib/commonjs/specs/modules/NativeConsentModule.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/module/specs/modules/NativeConsentModule.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/specs/modules/NativeConsentModule.d.ts +3 -4
- package/lib/typescript/specs/modules/NativeConsentModule.d.ts.map +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/specs/modules/NativeConsentModule.ts +3 -4
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -30,6 +30,89 @@ React Native Google Mobile Ads is built with three key principals in mind;
|
|
|
30
30
|
- 📄 **Well documented**
|
|
31
31
|
- full reference & installation documentation alongside detailed guides and FAQs
|
|
32
32
|
|
|
33
|
+
## Ad formats
|
|
34
|
+
|
|
35
|
+
### App open
|
|
36
|
+
|
|
37
|
+
App open ads are a special ad format intended for publishers wishing to monetize their app load screens.
|
|
38
|
+
|
|
39
|
+
<img width="200" src="https://developers.google.com/static/admob/images/app-open-ad.png" alt="App open ad">
|
|
40
|
+
|
|
41
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#app-open-ads)
|
|
42
|
+
|
|
43
|
+
### Banner
|
|
44
|
+
|
|
45
|
+
Banner ad units display rectangular ads that occupy a portion of an app's layout.
|
|
46
|
+
They stay on screen while users are interacting with the app, either anchored at the top or bottom of the screen or inline with content as the user scrolls.
|
|
47
|
+
Banner ads can refresh automatically after a certain period of time.
|
|
48
|
+
|
|
49
|
+
#### Anchored adaptive
|
|
50
|
+
|
|
51
|
+
A dynamically sized banner that is full-width and auto-height. Anchored adaptive banners are expected to be always on-screen, locked to the screen’s top or bottom.
|
|
52
|
+
|
|
53
|
+
<img width="200" src="https://developers.google.com/static/admob/images/Android_adaptive.png" alt="Anchored adaptive">
|
|
54
|
+
|
|
55
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#banner-ads-component)
|
|
56
|
+
|
|
57
|
+
#### Inline adaptive
|
|
58
|
+
|
|
59
|
+
Inline adaptive banners are larger, taller banners compared to anchored adaptive banners.
|
|
60
|
+
They are of variable height, and can be as tall as the device screen.
|
|
61
|
+
They are intended to be placed in scrolling content.
|
|
62
|
+
|
|
63
|
+
<img width="600" src="https://developers.google.com/static/admob/images/inline-adaptive.png" alt="Inline adaptive">
|
|
64
|
+
|
|
65
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#banner-ads-component)
|
|
66
|
+
|
|
67
|
+
#### Collapsible
|
|
68
|
+
|
|
69
|
+
Collapsible banner ads are intended to improve performance of anchored ads that are otherwise a smaller size.
|
|
70
|
+
|
|
71
|
+
<img width="400" src="https://developers.google.com/static/admob/images/collapsible-banner.png" alt="Collapsible banner">
|
|
72
|
+
|
|
73
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#collapsible-banner-ads)
|
|
74
|
+
|
|
75
|
+
#### Fixed size (legacy)
|
|
76
|
+
|
|
77
|
+
The Google Mobile Ads SDK supports fixed ad sizes for situations where adaptive banners ads don't meet your needs.
|
|
78
|
+
Banner (320x50), Large banner (320x100), Medium rectangle (300x250), full banner (468x60) and leaderboard (728x90).
|
|
79
|
+
|
|
80
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#banner-ads-component)
|
|
81
|
+
|
|
82
|
+
### Native
|
|
83
|
+
|
|
84
|
+
Native ads allow you to customize the look and feel of the ads that appear in your app.
|
|
85
|
+
You decide how and where they're placed, so the layout is more consistent your app's design.
|
|
86
|
+
|
|
87
|
+
<img width="300" src="https://developers.google.com/static/admob/images/format-native.svg" alt="Native">
|
|
88
|
+
|
|
89
|
+
[Work In Progress](https://github.com/invertase/react-native-google-mobile-ads/pull/650)
|
|
90
|
+
|
|
91
|
+
### Interstitial
|
|
92
|
+
|
|
93
|
+
Interstitial ad units show full-page ads in your app. Place them at natural breaks & transitions in your app's interface, such as after level completion in a gaming app.
|
|
94
|
+
|
|
95
|
+
<img width="300" src="https://developers.google.com/static/admob/images/format-interstitial.svg" alt="Interstitial">
|
|
96
|
+
|
|
97
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#interstitial-ads)
|
|
98
|
+
|
|
99
|
+
### Rewarded
|
|
100
|
+
|
|
101
|
+
AdMob rewarded ad units allow you to reward users with in-app items for interacting with video ads, playable ads, and surveys.
|
|
102
|
+
|
|
103
|
+
<img width="300" src="https://developers.google.com/static/admob/images/format-rewarded.svg" alt="Rewarded">
|
|
104
|
+
|
|
105
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#rewarded-ads)
|
|
106
|
+
|
|
107
|
+
### Rewarded Interstitial
|
|
108
|
+
|
|
109
|
+
Rewarded interstitial is a type of incentivized ad format that allows you offer rewards for ads that appear automatically during natural app transitions.
|
|
110
|
+
Unlike rewarded ads, users aren't required to opt-in to view a rewarded interstitial.
|
|
111
|
+
|
|
112
|
+
<img width="300" src="https://developers.google.com/static/admob/images/format-rewarded-interstitial.svg" alt="Rewarded interstitial">
|
|
113
|
+
|
|
114
|
+
[Learn More](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads#rewarded-interstitial-ads)
|
|
115
|
+
|
|
33
116
|
## Migrating to the New Architecture Status (backwards compatible)
|
|
34
117
|
|
|
35
118
|
This package can be used in both The Old and [The New Architecture](https://reactnative.dev/docs/the-new-architecture/landing-page).
|
|
@@ -189,6 +189,8 @@ After you have received the most up-to-date consent status, call `loadAndShowCon
|
|
|
189
189
|
If the consent status is required, the SDK loads a form and immediately presents it.
|
|
190
190
|
The completion handler is called after the form is dismissed. If consent is not required, the completion handler is called immediately.
|
|
191
191
|
|
|
192
|
+
To make it easier we added a helper method `gatherConsent` that combines requesting consent information and loading/presenting a consent form if necessary.
|
|
193
|
+
|
|
192
194
|
Before requesting ads in your app, check if you have obtained consent from the user using `canRequestAds`.
|
|
193
195
|
If an error occurs during the consent gathering process, you should still attempt to request ads.
|
|
194
196
|
The UMP SDK uses the consent status from the previous session.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","AdsConsentDebugGeography","exports","AdsConsentStatus","AdsConsentPrivacyOptionsRequirementStatus","_default","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeConsentModule.ts"],"mappings":";;;;;;AAiBA,IAAAA,YAAA,GAAAC,OAAA;AAjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA;AAJA,IAKYC,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,0BAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;AA2BpC;AACA;AACA;AAFA,IAGYE,gBAAgB,GAAAD,OAAA,CAAAC,gBAAA,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAsB5B;AACA;AACA;AAFA,IAGYC,yCAAyC,GAAAF,OAAA,CAAAE,yCAAA,0BAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAA,OAAzCA,yCAAyC;AAAA;AAiBrD;AACA;AACA;AAkBA;AACA;AACA;AA4BA;AACA;AACA;AACA;AACA;AACA;AALA,IAAAC,QAAA,GAAAH,OAAA,CAAAI,OAAA,
|
|
1
|
+
{"version":3,"names":["_reactNative","require","AdsConsentDebugGeography","exports","AdsConsentStatus","AdsConsentPrivacyOptionsRequirementStatus","_default","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeConsentModule.ts"],"mappings":";;;;;;AAiBA,IAAAA,YAAA,GAAAC,OAAA;AAjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA;AAJA,IAKYC,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,0BAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;AA2BpC;AACA;AACA;AAFA,IAGYE,gBAAgB,GAAAD,OAAA,CAAAC,gBAAA,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAsB5B;AACA;AACA;AAFA,IAGYC,yCAAyC,GAAAF,OAAA,CAAAE,yCAAA,0BAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAA,OAAzCA,yCAAyC;AAAA;AAiBrD;AACA;AACA;AAkBA;AACA;AACA;AA4BA;AACA;AACA;AACA;AACA;AACA;AALA,IAAAC,QAAA,GAAAH,OAAA,CAAAI,OAAA,GAgYeC,gCAAmB,CAACC,YAAY,CAAO,gCAAgC,CAAC","ignoreList":[]}
|
package/lib/commonjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","AdsConsentDebugGeography","AdsConsentStatus","AdsConsentPrivacyOptionsRequirementStatus","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeConsentModule.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAsBA,mBAAmB,QAAQ,cAAc;AAG/D;AACA;AACA;AACA;AACA;AACA,WAAYC,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;;AA2BpC;AACA;AACA;AACA,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;;AAsB5B;AACA;AACA;AACA,WAAYC,yCAAyC,0BAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAA,OAAzCA,yCAAyC;AAAA;;AAiBrD;AACA;AACA;;AAkBA;AACA;AACA;;AA4BA;AACA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","AdsConsentDebugGeography","AdsConsentStatus","AdsConsentPrivacyOptionsRequirementStatus","getEnforcing"],"sourceRoot":"../../../../src","sources":["specs/modules/NativeConsentModule.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAsBA,mBAAmB,QAAQ,cAAc;AAG/D;AACA;AACA;AACA;AACA;AACA,WAAYC,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;;AA2BpC;AACA;AACA;AACA,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;;AAsB5B;AACA;AACA;AACA,WAAYC,yCAAyC,0BAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAzCA,yCAAyC;EAAA,OAAzCA,yCAAyC;AAAA;;AAiBrD;AACA;AACA;;AAkBA;AACA;AACA;;AA4BA;AACA;AACA;AACA;AACA;AACA;;AA2XA,eAAeH,mBAAmB,CAACI,YAAY,CAAO,gCAAgC,CAAC","ignoreList":[]}
|
package/lib/module/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "14.7.
|
|
1
|
+
export declare const SDK_VERSION = "14.7.2";
|
|
2
2
|
export { default, MobileAds } from './MobileAds';
|
|
3
3
|
export { AdsConsentDebugGeography, AdsConsentInfo, AdsConsentInfoOptions, AdsConsentInterface, AdsConsentPrivacyOptionsRequirementStatus, AdsConsentStatus, AdsConsentUserChoices, } from './specs/modules/NativeConsentModule';
|
|
4
4
|
export { AdsConsentPurposes } from './AdsConsentPurposes';
|
|
@@ -367,8 +367,10 @@ export interface AdsConsentInterface {
|
|
|
367
367
|
/**
|
|
368
368
|
* Helper method to call the UMP SDK methods to request consent information and load/present a
|
|
369
369
|
* consent form if necessary.
|
|
370
|
+
*
|
|
371
|
+
* @param options An AdsConsentInfoOptions interface.
|
|
370
372
|
*/
|
|
371
|
-
gatherConsent(): Promise<AdsConsentInfo>;
|
|
373
|
+
gatherConsent(options?: AdsConsentInfoOptions): Promise<AdsConsentInfo>;
|
|
372
374
|
/**
|
|
373
375
|
* Returns the value stored under the `IABTCF_TCString` key
|
|
374
376
|
* in NSUserDefaults (iOS) / SharedPreferences (Android) as
|
|
@@ -485,13 +487,10 @@ export interface Spec extends TurboModule {
|
|
|
485
487
|
showPrivacyOptionsForm(): Promise<AdsConsentInfo>;
|
|
486
488
|
loadAndShowConsentFormIfRequired(): Promise<AdsConsentInfo>;
|
|
487
489
|
getConsentInfo(): Promise<AdsConsentInfo>;
|
|
488
|
-
gatherConsent(): Promise<AdsConsentInfo>;
|
|
489
490
|
getTCString(): Promise<string>;
|
|
490
|
-
getTCModel(): Promise<TCModel>;
|
|
491
491
|
getGdprApplies(): Promise<boolean>;
|
|
492
492
|
getPurposeConsents(): Promise<string>;
|
|
493
493
|
getPurposeLegitimateInterests(): Promise<string>;
|
|
494
|
-
getUserChoices(): Promise<AdsConsentUserChoices>;
|
|
495
494
|
reset(): void;
|
|
496
495
|
}
|
|
497
496
|
declare const _default: Spec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeConsentModule.d.ts","sourceRoot":"","sources":["../../../../src/specs/modules/NativeConsentModule.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC;;;;GAIG;AACH,oBAAY,wBAAwB;IAClC;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,kBAAkB,IAAI;IAEtB;;OAEG;IACH,KAAK,IAAI;CACV;AAED;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED;;GAEG;AACH,oBAAY,yCAAyC;IAC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AAyB,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;;;;;;;;OAeG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAE5E;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;IAEpC;;OAEG;IACH,sBAAsB,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;IAElD;;;;OAIG;IACH,gCAAgC,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;IAE5D;;;;;;;;;;OAUG;IACH,cAAc,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;IAE1C
|
|
1
|
+
{"version":3,"file":"NativeConsentModule.d.ts","sourceRoot":"","sources":["../../../../src/specs/modules/NativeConsentModule.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC;;;;GAIG;AACH,oBAAY,wBAAwB;IAClC;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,kBAAkB,IAAI;IAEtB;;OAEG;IACH,KAAK,IAAI;CACV;AAED;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED;;GAEG;AACH,oBAAY,yCAAyC;IACnD;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,YAAY,iBAAiB;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC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AAC,cAAc,CAAC,CAAC;IAC1C,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IACnC,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IACtC,6BAA6B,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IACjD,KAAK,IAAI,IAAI,CAAC;CACf;;AAED,wBAAwF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "14.7.
|
|
1
|
+
export declare const version = "14.7.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-google-mobile-ads",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.2",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.",
|
|
6
6
|
"main": "lib/commonjs/index.js",
|
|
@@ -394,8 +394,10 @@ export interface AdsConsentInterface {
|
|
|
394
394
|
/**
|
|
395
395
|
* Helper method to call the UMP SDK methods to request consent information and load/present a
|
|
396
396
|
* consent form if necessary.
|
|
397
|
+
*
|
|
398
|
+
* @param options An AdsConsentInfoOptions interface.
|
|
397
399
|
*/
|
|
398
|
-
gatherConsent(): Promise<AdsConsentInfo>;
|
|
400
|
+
gatherConsent(options?: AdsConsentInfoOptions): Promise<AdsConsentInfo>;
|
|
399
401
|
|
|
400
402
|
/**
|
|
401
403
|
* Returns the value stored under the `IABTCF_TCString` key
|
|
@@ -520,13 +522,10 @@ export interface Spec extends TurboModule {
|
|
|
520
522
|
showPrivacyOptionsForm(): Promise<AdsConsentInfo>;
|
|
521
523
|
loadAndShowConsentFormIfRequired(): Promise<AdsConsentInfo>;
|
|
522
524
|
getConsentInfo(): Promise<AdsConsentInfo>;
|
|
523
|
-
gatherConsent(): Promise<AdsConsentInfo>;
|
|
524
525
|
getTCString(): Promise<string>;
|
|
525
|
-
getTCModel(): Promise<TCModel>;
|
|
526
526
|
getGdprApplies(): Promise<boolean>;
|
|
527
527
|
getPurposeConsents(): Promise<string>;
|
|
528
528
|
getPurposeLegitimateInterests(): Promise<string>;
|
|
529
|
-
getUserChoices(): Promise<AdsConsentUserChoices>;
|
|
530
529
|
reset(): void;
|
|
531
530
|
}
|
|
532
531
|
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '14.7.
|
|
2
|
+
export const version = '14.7.2';
|