react-native-applovin-max 7.0.0 → 7.0.1

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.
Files changed (204) hide show
  1. package/android/build.gradle +2 -2
  2. package/android/src/main/java/com/applovin/reactnative/AppLovinMAXAdViewUiComponent.java +6 -3
  3. package/android/src/main/java/com/applovin/reactnative/AppLovinMAXModule.java +2 -2
  4. package/lib/commonjs/AdView.js +348 -0
  5. package/lib/commonjs/AdView.js.map +1 -0
  6. package/lib/commonjs/AppLovinMAX.js +52 -0
  7. package/lib/commonjs/AppLovinMAX.js.map +1 -0
  8. package/lib/commonjs/AppOpenAd.js +102 -0
  9. package/lib/commonjs/AppOpenAd.js.map +1 -0
  10. package/lib/commonjs/BannerAd.js +139 -0
  11. package/lib/commonjs/BannerAd.js.map +1 -0
  12. package/lib/commonjs/EventEmitter.js +32 -0
  13. package/lib/commonjs/EventEmitter.js.map +1 -0
  14. package/lib/commonjs/InterstitialAd.js +102 -0
  15. package/lib/commonjs/InterstitialAd.js.map +1 -0
  16. package/lib/commonjs/MRecAd.js +117 -0
  17. package/lib/commonjs/MRecAd.js.map +1 -0
  18. package/lib/commonjs/Privacy.js +12 -0
  19. package/lib/commonjs/Privacy.js.map +1 -0
  20. package/lib/commonjs/RewardedAd.js +116 -0
  21. package/lib/commonjs/RewardedAd.js.map +1 -0
  22. package/lib/commonjs/TargetingData.js +179 -0
  23. package/lib/commonjs/TargetingData.js.map +1 -0
  24. package/lib/commonjs/index.js +256 -0
  25. package/lib/commonjs/index.js.map +1 -0
  26. package/lib/commonjs/nativeAd/NativeAdView.js +147 -0
  27. package/lib/commonjs/nativeAd/NativeAdView.js.map +1 -0
  28. package/lib/commonjs/nativeAd/NativeAdViewComponents.js +197 -0
  29. package/lib/commonjs/nativeAd/NativeAdViewComponents.js.map +1 -0
  30. package/lib/commonjs/nativeAd/NativeAdViewProvider.js +37 -0
  31. package/lib/commonjs/nativeAd/NativeAdViewProvider.js.map +1 -0
  32. package/lib/commonjs/types/AdEvent.js +6 -0
  33. package/lib/commonjs/types/AdEvent.js.map +1 -0
  34. package/lib/commonjs/types/AdInfo.js +48 -0
  35. package/lib/commonjs/types/AdInfo.js.map +1 -0
  36. package/lib/commonjs/types/AdProps.js +6 -0
  37. package/lib/commonjs/types/AdProps.js.map +1 -0
  38. package/lib/commonjs/types/AdViewProps.js +6 -0
  39. package/lib/commonjs/types/AdViewProps.js.map +1 -0
  40. package/lib/commonjs/types/AppLovinMAX.js +6 -0
  41. package/lib/commonjs/types/AppLovinMAX.js.map +1 -0
  42. package/lib/commonjs/types/AppOpenAd.js +6 -0
  43. package/lib/commonjs/types/AppOpenAd.js.map +1 -0
  44. package/lib/commonjs/types/BannerAd.js +6 -0
  45. package/lib/commonjs/types/BannerAd.js.map +1 -0
  46. package/lib/commonjs/types/CMPError.js +6 -0
  47. package/lib/commonjs/types/CMPError.js.map +1 -0
  48. package/lib/commonjs/types/Configuration.js +6 -0
  49. package/lib/commonjs/types/Configuration.js.map +1 -0
  50. package/lib/commonjs/types/FullscreenAd.js +6 -0
  51. package/lib/commonjs/types/FullscreenAd.js.map +1 -0
  52. package/lib/commonjs/types/InterstitialAd.js +6 -0
  53. package/lib/commonjs/types/InterstitialAd.js.map +1 -0
  54. package/lib/commonjs/types/MRecAd.js +6 -0
  55. package/lib/commonjs/types/MRecAd.js.map +1 -0
  56. package/lib/commonjs/types/NativeAd.js +2 -0
  57. package/lib/commonjs/types/NativeAd.js.map +1 -0
  58. package/lib/commonjs/types/NativeAdViewProps.js +6 -0
  59. package/lib/commonjs/types/NativeAdViewProps.js.map +1 -0
  60. package/lib/commonjs/types/Privacy.js +2 -0
  61. package/lib/commonjs/types/Privacy.js.map +1 -0
  62. package/lib/commonjs/types/RewardedAd.js +6 -0
  63. package/lib/commonjs/types/RewardedAd.js.map +1 -0
  64. package/lib/commonjs/types/TargetingData.js +6 -0
  65. package/lib/commonjs/types/TargetingData.js.map +1 -0
  66. package/lib/commonjs/types/ViewAd.js +6 -0
  67. package/lib/commonjs/types/ViewAd.js.map +1 -0
  68. package/lib/commonjs/types/index.js +61 -0
  69. package/lib/commonjs/types/index.js.map +1 -0
  70. package/lib/module/AdView.js +335 -0
  71. package/lib/module/AdView.js.map +1 -0
  72. package/lib/module/AppLovinMAX.js +48 -0
  73. package/lib/module/AppLovinMAX.js.map +1 -0
  74. package/lib/module/AppOpenAd.js +96 -0
  75. package/lib/module/AppOpenAd.js.map +1 -0
  76. package/lib/module/BannerAd.js +133 -0
  77. package/lib/module/BannerAd.js.map +1 -0
  78. package/lib/module/EventEmitter.js +24 -0
  79. package/lib/module/EventEmitter.js.map +1 -0
  80. package/lib/module/InterstitialAd.js +96 -0
  81. package/lib/module/InterstitialAd.js.map +1 -0
  82. package/lib/module/MRecAd.js +111 -0
  83. package/lib/module/MRecAd.js.map +1 -0
  84. package/lib/module/Privacy.js +6 -0
  85. package/lib/module/Privacy.js.map +1 -0
  86. package/lib/module/RewardedAd.js +110 -0
  87. package/lib/module/RewardedAd.js.map +1 -0
  88. package/lib/module/TargetingData.js +175 -0
  89. package/lib/module/TargetingData.js.map +1 -0
  90. package/lib/module/index.js +14 -0
  91. package/lib/module/index.js.map +1 -0
  92. package/lib/module/nativeAd/NativeAdView.js +139 -0
  93. package/lib/module/nativeAd/NativeAdView.js.map +1 -0
  94. package/lib/module/nativeAd/NativeAdViewComponents.js +181 -0
  95. package/lib/module/nativeAd/NativeAdViewComponents.js.map +1 -0
  96. package/lib/module/nativeAd/NativeAdViewProvider.js +28 -0
  97. package/lib/module/nativeAd/NativeAdViewProvider.js.map +1 -0
  98. package/lib/module/types/AdEvent.js +2 -0
  99. package/lib/module/types/AdEvent.js.map +1 -0
  100. package/lib/module/types/AdInfo.js +52 -0
  101. package/lib/module/types/AdInfo.js.map +1 -0
  102. package/lib/module/types/AdProps.js +2 -0
  103. package/lib/module/types/AdProps.js.map +1 -0
  104. package/lib/module/types/AdViewProps.js +2 -0
  105. package/lib/module/types/AdViewProps.js.map +1 -0
  106. package/lib/module/types/AppLovinMAX.js +2 -0
  107. package/lib/module/types/AppLovinMAX.js.map +1 -0
  108. package/lib/module/types/AppOpenAd.js +2 -0
  109. package/lib/module/types/AppOpenAd.js.map +1 -0
  110. package/lib/module/types/BannerAd.js +2 -0
  111. package/lib/module/types/BannerAd.js.map +1 -0
  112. package/lib/module/types/CMPError.js +2 -0
  113. package/lib/module/types/CMPError.js.map +1 -0
  114. package/lib/module/types/Configuration.js +2 -0
  115. package/lib/module/types/Configuration.js.map +1 -0
  116. package/lib/module/types/FullscreenAd.js +2 -0
  117. package/lib/module/types/FullscreenAd.js.map +1 -0
  118. package/lib/module/types/InterstitialAd.js +2 -0
  119. package/lib/module/types/InterstitialAd.js.map +1 -0
  120. package/lib/module/types/MRecAd.js +2 -0
  121. package/lib/module/types/MRecAd.js.map +1 -0
  122. package/lib/module/types/NativeAd.js +2 -0
  123. package/lib/module/types/NativeAd.js.map +1 -0
  124. package/lib/module/types/NativeAdViewProps.js +2 -0
  125. package/lib/module/types/NativeAdViewProps.js.map +1 -0
  126. package/lib/module/types/Privacy.js +2 -0
  127. package/lib/module/types/Privacy.js.map +1 -0
  128. package/lib/module/types/RewardedAd.js +2 -0
  129. package/lib/module/types/RewardedAd.js.map +1 -0
  130. package/lib/module/types/TargetingData.js +2 -0
  131. package/lib/module/types/TargetingData.js.map +1 -0
  132. package/lib/module/types/ViewAd.js +2 -0
  133. package/lib/module/types/ViewAd.js.map +1 -0
  134. package/lib/module/types/index.js +6 -0
  135. package/lib/module/types/index.js.map +1 -0
  136. package/lib/typescript/src/AdView.d.ts +115 -0
  137. package/lib/typescript/src/AdView.d.ts.map +1 -0
  138. package/lib/typescript/src/AppLovinMAX.d.ts +73 -0
  139. package/lib/typescript/src/AppLovinMAX.d.ts.map +1 -0
  140. package/lib/typescript/src/AppOpenAd.d.ts +4 -0
  141. package/lib/typescript/src/AppOpenAd.d.ts.map +1 -0
  142. package/lib/typescript/src/BannerAd.d.ts +4 -0
  143. package/lib/typescript/src/BannerAd.d.ts.map +1 -0
  144. package/lib/typescript/src/EventEmitter.d.ts +4 -0
  145. package/lib/typescript/src/EventEmitter.d.ts.map +1 -0
  146. package/lib/typescript/src/InterstitialAd.d.ts +4 -0
  147. package/lib/typescript/src/InterstitialAd.d.ts.map +1 -0
  148. package/lib/typescript/src/MRecAd.d.ts +4 -0
  149. package/lib/typescript/src/MRecAd.d.ts.map +1 -0
  150. package/lib/typescript/src/Privacy.d.ts +3 -0
  151. package/lib/typescript/src/Privacy.d.ts.map +1 -0
  152. package/lib/typescript/src/RewardedAd.d.ts +4 -0
  153. package/lib/typescript/src/RewardedAd.d.ts.map +1 -0
  154. package/lib/typescript/src/TargetingData.d.ts +26 -0
  155. package/lib/typescript/src/TargetingData.d.ts.map +1 -0
  156. package/lib/typescript/src/index.d.ts +14 -0
  157. package/lib/typescript/src/index.d.ts.map +1 -0
  158. package/lib/typescript/src/nativeAd/NativeAdView.d.ts +42 -0
  159. package/lib/typescript/src/nativeAd/NativeAdView.d.ts.map +1 -0
  160. package/lib/typescript/src/nativeAd/NativeAdViewComponents.d.ts +11 -0
  161. package/lib/typescript/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -0
  162. package/lib/typescript/src/nativeAd/NativeAdViewProvider.d.ts +16 -0
  163. package/lib/typescript/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -0
  164. package/lib/typescript/src/types/AdEvent.d.ts +15 -0
  165. package/lib/typescript/src/types/AdEvent.d.ts.map +1 -0
  166. package/lib/typescript/src/types/AdInfo.d.ts +295 -0
  167. package/lib/typescript/src/types/AdInfo.d.ts.map +1 -0
  168. package/lib/typescript/src/types/AdProps.d.ts +58 -0
  169. package/lib/typescript/src/types/AdProps.d.ts.map +1 -0
  170. package/lib/typescript/src/types/AdViewProps.d.ts +73 -0
  171. package/lib/typescript/src/types/AdViewProps.d.ts.map +1 -0
  172. package/lib/typescript/src/types/AppLovinMAX.d.ts +133 -0
  173. package/lib/typescript/src/types/AppLovinMAX.d.ts.map +1 -0
  174. package/lib/typescript/src/types/AppOpenAd.d.ts +3 -0
  175. package/lib/typescript/src/types/AppOpenAd.d.ts.map +1 -0
  176. package/lib/typescript/src/types/BannerAd.d.ts +42 -0
  177. package/lib/typescript/src/types/BannerAd.d.ts.map +1 -0
  178. package/lib/typescript/src/types/CMPError.d.ts +20 -0
  179. package/lib/typescript/src/types/CMPError.d.ts.map +1 -0
  180. package/lib/typescript/src/types/Configuration.d.ts +33 -0
  181. package/lib/typescript/src/types/Configuration.d.ts.map +1 -0
  182. package/lib/typescript/src/types/FullscreenAd.d.ts +123 -0
  183. package/lib/typescript/src/types/FullscreenAd.d.ts.map +1 -0
  184. package/lib/typescript/src/types/InterstitialAd.d.ts +3 -0
  185. package/lib/typescript/src/types/InterstitialAd.d.ts.map +1 -0
  186. package/lib/typescript/src/types/MRecAd.d.ts +12 -0
  187. package/lib/typescript/src/types/MRecAd.d.ts.map +1 -0
  188. package/lib/typescript/src/types/NativeAd.d.ts +42 -0
  189. package/lib/typescript/src/types/NativeAd.d.ts.map +1 -0
  190. package/lib/typescript/src/types/NativeAdViewProps.d.ts +15 -0
  191. package/lib/typescript/src/types/NativeAdViewProps.d.ts.map +1 -0
  192. package/lib/typescript/src/types/Privacy.d.ts +35 -0
  193. package/lib/typescript/src/types/Privacy.d.ts.map +1 -0
  194. package/lib/typescript/src/types/RewardedAd.d.ts +18 -0
  195. package/lib/typescript/src/types/RewardedAd.d.ts.map +1 -0
  196. package/lib/typescript/src/types/TargetingData.d.ts +43 -0
  197. package/lib/typescript/src/types/TargetingData.d.ts.map +1 -0
  198. package/lib/typescript/src/types/ViewAd.d.ts +141 -0
  199. package/lib/typescript/src/types/ViewAd.d.ts.map +1 -0
  200. package/lib/typescript/src/types/index.d.ts +6 -0
  201. package/lib/typescript/src/types/index.d.ts.map +1 -0
  202. package/package.json +19 -11
  203. package/react-native-applovin-max.podspec +1 -1
  204. package/src/AppLovinMAX.ts +1 -1
@@ -0,0 +1,33 @@
1
+ import type { ConsentFlowUserGeography, AppTrackingStatus } from '../AppLovinMAX';
2
+ /**
3
+ * Encapsulates data for the AppLovinMAX SDK configuration.
4
+ */
5
+ export type Configuration = {
6
+ /**
7
+ * The country code of this user.
8
+ */
9
+ countryCode: string;
10
+ /**
11
+ * The user's geography used to determine the type of consent flow shown to the user. If no
12
+ * such determination could be made, {@link ConsentFlowUserGeography.UNKNOWN} will be returned.
13
+ */
14
+ consentFlowUserGeography: ConsentFlowUserGeography;
15
+ /**
16
+ * Indicates whether or not the user authorizes access to app-related data that can be used for
17
+ * tracking the user or the device.
18
+ *
19
+ * Note: available only on iOS
20
+ */
21
+ appTrackingStatus?: AppTrackingStatus;
22
+ /**
23
+ * Whether or not test mode is enabled for this session.
24
+ *
25
+ * @return {boolean} true in one of the following cases:
26
+ * 1. {@link AppLovinMAX.setTestDeviceAdvertisingIds()} was called with current device's GAID prior to SDK initialization.
27
+ * 2. Current device was registered as a test device through MAX dashboard -> MAX Test Devices prior to SDK initialization.
28
+ * 3. Test mode was manually enabled for this session through the Mediation Debugger during the last session.
29
+ * 4. Current device is an emulator.
30
+ */
31
+ isTestModeEnabled: boolean;
32
+ };
33
+ //# sourceMappingURL=Configuration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../../../src/types/Configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAElF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,wBAAwB,EAAE,wBAAwB,CAAC;IAEnD;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAEtC;;;;;;;;OAQG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,123 @@
1
+ import type { AdEventListener } from './AdEvent';
2
+ import type { AdInfo, AdLoadFailedInfo, AdRevenueInfo, AdDisplayFailedInfo } from './AdInfo';
3
+ import type { LocalExtraParameterValue } from './AdProps';
4
+ /**
5
+ * Defines a full-screen ad (i.e Intestitial / Rewarded / AppOpen)
6
+ */
7
+ export type FullscreenAdType = {
8
+ /**
9
+ * Whether or not this ad is ready to be shown.
10
+ *
11
+ * @param adUnitId The ad unit ID of the ad to check whether it is ready to be shown.
12
+ */
13
+ isAdReady(adUnitId: string): Promise<boolean>;
14
+ /**
15
+ * Loads an interstitial ad.
16
+ *
17
+ * @param adUnitId The ad unit ID to load an ad for.
18
+ */
19
+ loadAd(adUnitId: string): void;
20
+ /**
21
+ * Shows the loaded interstitial ad, optionallly for a given placement and custom data to tie ad
22
+ * events to.
23
+ *
24
+ * @param adUnitId The ad unit ID of the ad to show.
25
+ * @param placement The placement to tie the showing ad's events to.
26
+ * @param customData The custom data to tie the showing ad's events to. Maximum size is 8KB.
27
+ */
28
+ showAd(adUnitId: string, placement?: string | null, customData?: string | null): void;
29
+ /**
30
+ * Sets an extra key/value parameter for the ad.
31
+ *
32
+ * @param adUnitId The ad unit ID of the ad to set a parameter for.
33
+ * @param key Parameter key.
34
+ * @param value Parameter value.
35
+ */
36
+ setExtraParameter(adUnitId: string, key: string, value: string | null): void;
37
+ /**
38
+ * Sets a local extra parameter to pass to the adapter instances.
39
+ *
40
+ * @param adUnitId The ad unit ID of the ad to set a local parameter for.
41
+ * @param key Parameter key.
42
+ * @param value Parameter value.
43
+ */
44
+ setLocalExtraParameter(adUnitId: string, key: string, value: LocalExtraParameterValue): void;
45
+ /**
46
+ * Adds the specified event listener to receive {@link AdInfo} when a full-screen ad loads a new ad.
47
+ *
48
+ * @param listener Listener to be notified.
49
+ */
50
+ addAdLoadedEventListener(listener: AdEventListener<AdInfo>): void;
51
+ /**
52
+ * Removes the event listener to receive {@link AdInfo} when a full-screen ad loads a new ad.
53
+ */
54
+ removeAdLoadedEventListener(): void;
55
+ /**
56
+ * Adds the specified event listener to receive {@link AdLoadFailedInfo} when a full-screen ad
57
+ * could not load a new ad.
58
+ *
59
+ * @param listener Listener to be notified.
60
+ */
61
+ addAdLoadFailedEventListener(listener: AdEventListener<AdLoadFailedInfo>): void;
62
+ /**
63
+ * Removes the event listener to receive {@ link adLoadFailedInfo} when a full-screen ad could
64
+ * not load a new ad.
65
+ */
66
+ removeAdLoadFailedEventListener(): void;
67
+ /**
68
+ * Adds the specified event listener to receive {@link AdInfo} when the user clicks the ad.
69
+ *
70
+ * @param listener Listener to be notified.
71
+ */
72
+ addAdClickedEventListener(listener: AdEventListener<AdInfo>): void;
73
+ /**
74
+ * Removes the event listener to receive {@link AdInfo} when the user clicks the ad.
75
+ */
76
+ removeAdClickedEventListener(): void;
77
+ /**
78
+ * Adds the specified event listener to receive {@link AdInfo} when a full-screen ad displays the ad.
79
+ *
80
+ * @param listener Listener to be notified.
81
+ */
82
+ addAdDisplayedEventListener(listener: AdEventListener<AdInfo>): void;
83
+ /**
84
+ * Removes the event listener to receive {@link AdInfo} when a full-screen ad displays the ad.
85
+ */
86
+ removeAdDisplayedEventListener(): void;
87
+ /**
88
+ * Adds the specified event listener to receive {@link AdDisplayFailedInfo} when a full-screen
89
+ * ad fails to display the ad.
90
+ *
91
+ * @param listener Listener to be notified.
92
+ */
93
+ addAdFailedToDisplayEventListener(listener: AdEventListener<AdDisplayFailedInfo>): void;
94
+ /**
95
+ * Removes the event listener to receive {@link AdDisplayFailedInfo} when a full-screen ad
96
+ * fails to display the ad.
97
+ */
98
+ removeAdFailedToDisplayEventListener(): void;
99
+ /**
100
+ * Adds the specified event listener to receive {@link AdInfo} when a full-screen ad hides the
101
+ * ad.
102
+ *
103
+ * @param listener Listener to be notified.
104
+ */
105
+ addAdHiddenEventListener(listener: AdEventListener<AdInfo>): void;
106
+ /**
107
+ * Removes the event listener to receive {@link AdInfo} when a full-screen ad hides the ad.
108
+ */
109
+ removeAdHiddenEventListener(): void;
110
+ /**
111
+ * Adds the specified event listener to receive {@link AdRevenueInfo} when a full-screen ad
112
+ * pays ad revenue to the publisher.
113
+ *
114
+ * @param listener Listener to be notified.
115
+ */
116
+ addAdRevenuePaidListener(listener: AdEventListener<AdRevenueInfo>): void;
117
+ /**
118
+ * Removes the event listener to receive {@link AdRevenueInfo} when a full-screen ad pays
119
+ * ad revenue to the publisher.
120
+ */
121
+ removeAdRevenuePaidListener(): void;
122
+ };
123
+ //# sourceMappingURL=FullscreenAd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FullscreenAd.d.ts","sourceRoot":"","sources":["../../../../src/types/FullscreenAd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAE9C;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;;;;;OAOG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAEtF;;;;;;OAMG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAE7E;;;;;;OAMG;IACH,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAE7F;;;;OAIG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,2BAA2B,IAAI,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,4BAA4B,CAAC,QAAQ,EAAE,eAAe,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAEhF;;;OAGG;IACH,+BAA+B,IAAI,IAAI,CAAC;IAExC;;;;OAIG;IACH,yBAAyB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEnE;;OAEG;IACH,4BAA4B,IAAI,IAAI,CAAC;IAErC;;;;OAIG;IACH,2BAA2B,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAErE;;OAEG;IACH,8BAA8B,IAAI,IAAI,CAAC;IAEvC;;;;;OAKG;IACH,iCAAiC,CAAC,QAAQ,EAAE,eAAe,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAExF;;;OAGG;IACH,oCAAoC,IAAI,IAAI,CAAC;IAE7C;;;;;OAKG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,2BAA2B,IAAI,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IAEzE;;;OAGG;IACH,2BAA2B,IAAI,IAAI,CAAC;CACvC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FullscreenAdType } from './FullscreenAd';
2
+ export type InterstitialAdType = FullscreenAdType;
3
+ //# sourceMappingURL=InterstitialAd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InterstitialAd.d.ts","sourceRoot":"","sources":["../../../../src/types/InterstitialAd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ViewAdType } from './ViewAd';
2
+ import type { AdViewPosition } from '../AdView';
3
+ export type MRecAdType = ViewAdType & {
4
+ /**
5
+ * Creates a MREC at the specified position.
6
+ *
7
+ * @param adUnitId The Ad Unit ID to to load ads for.
8
+ * @param position {@link AdViewPosition} position.
9
+ */
10
+ createAd(adUnitId: string, position: AdViewPosition): void;
11
+ };
12
+ //# sourceMappingURL=MRecAd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MRecAd.d.ts","sourceRoot":"","sources":["../../../../src/types/MRecAd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG;IAClC;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;CAC9D,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Represents a native ad for rendering `NativeAdView`. Internal use only.
3
+ */
4
+ export type NativeAd = {
5
+ /**
6
+ * The native ad title text.
7
+ */
8
+ title?: string | null;
9
+ /**
10
+ * The native ad advertiser text.
11
+ */
12
+ advertiser?: string | null;
13
+ /**
14
+ * The native ad body text.
15
+ */
16
+ body?: string | null;
17
+ /**
18
+ * The native ad CTA button text.
19
+ */
20
+ callToAction?: string | null;
21
+ /**
22
+ * Whether or not this has an image icon.
23
+ */
24
+ image?: boolean;
25
+ /**
26
+ * The URL string of the icon.
27
+ */
28
+ url?: string | null;
29
+ /**
30
+ * The star rating of the native ad.
31
+ */
32
+ starRating?: number | null;
33
+ /**
34
+ * Whether or not the Options view is available.
35
+ */
36
+ isOptionsViewAvailable: boolean;
37
+ /**
38
+ * Whether or not the Media view is available.
39
+ */
40
+ isMediaViewAvailable: boolean;
41
+ };
42
+ //# sourceMappingURL=NativeAd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeAd.d.ts","sourceRoot":"","sources":["../../../../src/types/NativeAd.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,oBAAoB,EAAE,OAAO,CAAC;CACjC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { AdProps } from './AdProps';
2
+ /**
3
+ * A handler of {@link NativeAdView}.
4
+ */
5
+ export type NativeAdViewHandler = {
6
+ /**
7
+ * Loads a native ad.
8
+ */
9
+ loadAd(): void;
10
+ };
11
+ /**
12
+ * Represents a {@link NativeAdView}.
13
+ */
14
+ export type NativeAdViewProps = AdProps;
15
+ //# sourceMappingURL=NativeAdViewProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeAdViewProps.d.ts","sourceRoot":"","sources":["../../../../src/types/NativeAdViewProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC"}
@@ -0,0 +1,35 @@
1
+ export type PrivacyType = {
2
+ /**********************************************************************************/
3
+ /**********************************************************************************/
4
+ /**
5
+ * Sets whether or not the user provided consent for information-sharing with AppLovin.
6
+ *
7
+ * @param hasUserConsent true if the user provided consent for information sharing.
8
+ */
9
+ setHasUserConsent(hasUserConsent: boolean): void;
10
+ /**
11
+ * Checks if user set consent for information sharing.
12
+ */
13
+ hasUserConsent(): Promise<boolean>;
14
+ /**
15
+ * Marks the user as age-restricted (i.e. under 16).
16
+ *
17
+ * @param isAgeRestrictedUser true if the user is age restricted (i.e. under 16).
18
+ */
19
+ setIsAgeRestrictedUser(isAgeRestrictedUser: boolean): void;
20
+ /**
21
+ * Checks if the user is age-restricted.
22
+ */
23
+ isAgeRestrictedUser(): Promise<boolean>;
24
+ /**
25
+ * Sets whether or not the user opted out of the sale of their personal information.
26
+ *
27
+ * @param doNotSell true if the user opted out of the sale of their personal information.
28
+ */
29
+ setDoNotSell(doNotSell: boolean): void;
30
+ /**
31
+ * Checks if the user opted out of the sale of their personal information.
32
+ */
33
+ isDoNotSell(): Promise<boolean>;
34
+ };
35
+ //# sourceMappingURL=Privacy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Privacy.d.ts","sourceRoot":"","sources":["../../../../src/types/Privacy.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACtB,oFAAoF;IAEpF,oFAAoF;IAEpF;;;;OAIG;IACH,iBAAiB,CAAC,cAAc,EAAE,OAAO,GAAG,IAAI,CAAC;IAEjD;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAEnC;;;;OAIG;IACH,sBAAsB,CAAC,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAAC;IAE3D;;OAEG;IACH,mBAAmB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAExC;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAEvC;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACnC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { AdEventListener } from './AdEvent';
2
+ import type { AdRewardInfo } from './AdInfo';
3
+ import type { FullscreenAdType } from './FullscreenAd';
4
+ export type RewardedAdType = FullscreenAdType & {
5
+ /**
6
+ * Adds the specified event listener to receive {@link AdRewardInfo} when {@link RewardedAd}
7
+ * rewards the user.
8
+ *
9
+ * @param listener Listener to be notified.
10
+ */
11
+ addAdReceivedRewardEventListener(listener: AdEventListener<AdRewardInfo>): void;
12
+ /**
13
+ * Removes the event listener to receive {@link AdRewardInfo} when {@link RewardedAd} rewards
14
+ * the user.
15
+ */
16
+ removeAdReceivedRewardEventListener(): void;
17
+ };
18
+ //# sourceMappingURL=RewardedAd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RewardedAd.d.ts","sourceRoot":"","sources":["../../../../src/types/RewardedAd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC5C;;;;;OAKG;IACH,gCAAgC,CAAC,QAAQ,EAAE,eAAe,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAEhF;;;OAGG;IACH,mCAAmC,IAAI,IAAI,CAAC;CAC/C,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { AdContentRating, UserGender } from '../TargetingData';
2
+ /**
3
+ * Defines additional data for the publisher to send to AppLovin.
4
+ *
5
+ * @see {@link https://support.applovin.com/hc/en-us/articles/13964925614733-Data-and-Keyword-Passing}
6
+ */
7
+ export type TargetingDataType = {
8
+ /**
9
+ * Sets the year of birth of the user. Set this to 0 to clear this value.
10
+ */
11
+ yearOfBirth: number | Promise<number>;
12
+ /**
13
+ * Sets the gender of the user. Set this to {@link UserGender.Unknown} to clear this value.
14
+ */
15
+ gender: UserGender | Promise<UserGender>;
16
+ /**
17
+ * Sets the maximum ad content rating shown to the user. The levels are based on IQG Media
18
+ * Ratings: 1=All Audiences, 2=Everyone Over 12, 3=Mature Audiences.
19
+ * Set this to {@link AdContentRating.None} to clear this value.
20
+ */
21
+ maximumAdContentRating: AdContentRating | Promise<AdContentRating>;
22
+ /**
23
+ * Sets the email of the user. Set this to null to clear this value.
24
+ */
25
+ email: string | null | Promise<string | null>;
26
+ /**
27
+ * Sets the phone number of the user. Set this to null to clear this value.
28
+ */
29
+ phoneNumber: string | null | Promise<string | null>;
30
+ /**
31
+ * Sets the keywords describing the application. Set this to null to clear this value.
32
+ */
33
+ keywords: string[] | null | Promise<string[] | null>;
34
+ /**
35
+ * Sets the interests of the user. Set this to null to clear this value.
36
+ */
37
+ interests: string[] | null | Promise<string[] | null>;
38
+ /**
39
+ * Clears all saved data from this class.
40
+ */
41
+ clearAll(): void;
42
+ };
43
+ //# sourceMappingURL=TargetingData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TargetingData.d.ts","sourceRoot":"","sources":["../../../../src/types/TargetingData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAEzC;;;;OAIG;IACH,sBAAsB,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IAEnE;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAEpD;;OAEG;IACH,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC;IAErD;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC;IAEtD;;OAEG;IACH,QAAQ,IAAI,IAAI,CAAC;CACpB,CAAC"}
@@ -0,0 +1,141 @@
1
+ import type { AdEventListener } from './AdEvent';
2
+ import type { AdInfo, AdLoadFailedInfo, AdRevenueInfo } from './AdInfo';
3
+ import type { LocalExtraParameterValue } from './AdProps';
4
+ import type { AdViewPosition } from '../AdView';
5
+ /**
6
+ * Define a view-based ad (i.e. Banner / MREC)
7
+ */
8
+ export type ViewAdType = {
9
+ /**
10
+ * Destroys the banner/MREC.
11
+ *
12
+ * @param adUnitId The ad unit ID of the ad to destroy.
13
+ */
14
+ destroyAd(adUnitId: string): void;
15
+ /**
16
+ * Shows the banner/MREC.
17
+ *
18
+ * @param adUnitId The ad unit ID of the ad to show.
19
+ */
20
+ showAd(adUnitId: string): void;
21
+ /**
22
+ * Hides the banner/MREC.
23
+ *
24
+ * @param adUnitId The ad unit ID of the ad to hide.
25
+ */
26
+ hideAd(adUnitId: string): void;
27
+ /**
28
+ * Sets a placement to tie the showing ad’s events to.
29
+ *
30
+ * @param adUnitId The ad unit ID of the ad to set a placement for.
31
+ * @param placement The placement to tie the showing ad's events to.
32
+ */
33
+ setPlacement(adUnitId: string, placement: string | null): void;
34
+ /**
35
+ * Sets custom data to tie the showing ad’s events to.
36
+ *
37
+ * @param adUnitId The ad unit ID of the ad to set custom data for.
38
+ * @param customData The custom data to tie the showing ad's events to. Maximum size is 8KB.
39
+ */
40
+ setCustomData(adUnitId: string, customData: string | null): void;
41
+ /**
42
+ * Updates the banner/mrec position.
43
+ *
44
+ * @param adUnitId The ad unit ID of the ad to update the position of.
45
+ * @param bannerPosition {@link AdViewPosition} position.
46
+ */
47
+ updatePosition(adUnitId: string, bannerPosition: AdViewPosition): void;
48
+ /**
49
+ * Sets an extra key/value parameter for the ad.
50
+ *
51
+ * @param adUnitId The ad unit ID of the ad to set a parameter for.
52
+ * @param key Key parameter.
53
+ * @param value Value parameter.
54
+ */
55
+ setExtraParameter(adUnitId: string, key: string, value: string | null): void;
56
+ /**
57
+ * Set a local extra parameter to pass to the adapter instances.
58
+ *
59
+ * @param adUnitId The ad unit ID of the ad to set a local parameter for.
60
+ * @param key Key parameter.
61
+ * @param value Value parameter.
62
+ */
63
+ setLocalExtraParameter(adUnitId: string, key: string, value: LocalExtraParameterValue): void;
64
+ /**
65
+ * Starts or resumes auto-refreshing of the banner/mrec.
66
+ *
67
+ * @param adUnitId The ad unit ID of the ad to start or resume auto-refreshing.
68
+ */
69
+ startAutoRefresh(adUnitId: string): void;
70
+ /**
71
+ * Pauses auto-refreshing of the banner/mrec.
72
+ *
73
+ * @param adUnitId The ad unit ID of the ad to stop auto-refreshing.
74
+ */
75
+ stopAutoRefresh(adUnitId: string): void;
76
+ /**
77
+ * Adds the specified event listener to receive {@link AdInfo} when a view-base ad loads a new ad.
78
+ *
79
+ * @param listener Listener to be notified.
80
+ */
81
+ addAdLoadedEventListener(listener: AdEventListener<AdInfo>): void;
82
+ /**
83
+ * Removes the event listener to receive {@link AdInfo} when a view-base ad loads a new ad.
84
+ */
85
+ removeAdLoadedEventListener(): void;
86
+ /**
87
+ * Adds the specified event listener to receive {@link AdLoadFailedInfo} when a view-base ad
88
+ * could not load a new ad.
89
+ *
90
+ * @param listener Listener to be notified.
91
+ */
92
+ addAdLoadFailedEventListener(listener: AdEventListener<AdLoadFailedInfo>): void;
93
+ /**
94
+ * Removes the event listener to receive {@link AdLoadFailedInfo} when a view-base ad could not
95
+ * load a new ad.
96
+ */
97
+ removeAdLoadFailedEventListener(): void;
98
+ /**
99
+ * Adds the specified event listener to receive {@link AdInfo} when the user clicks the ad.
100
+ *
101
+ * @param listener Listener to be notified.
102
+ */
103
+ addAdClickedEventListener(listener: AdEventListener<AdInfo>): void;
104
+ /**
105
+ * Removes the event listener to receive {@link AdInfo} when the user clicks the ad.
106
+ */
107
+ removeAdClickedEventListener(): void;
108
+ /**
109
+ * Adds the specified event listener to receive {@link AdInfo} when a view-base ad collapses the ad.
110
+ *
111
+ * @param listener Listener to be notified.
112
+ */
113
+ addAdCollapsedEventListener(listener: AdEventListener<AdInfo>): void;
114
+ /**
115
+ * Removes the event listener to receive {@link AdInfo} when a view-base ad collapses the ad.
116
+ */
117
+ removeAdCollapsedEventListener(): void;
118
+ /**
119
+ * Adds the specified event listener to receive {@link AdInfo} when a view-base ad expands the ad.
120
+ *
121
+ * @param listener Listener to be notified.
122
+ */
123
+ addAdExpandedEventListener(listener: AdEventListener<AdInfo>): void;
124
+ /**
125
+ * Removes the event listener to receive {@link AdInfo} when a view-base ad expands the ad.
126
+ */
127
+ removeAdExpandedEventListener(): void;
128
+ /**
129
+ * Adds the specified event listener to receive {@link AdRevenueInfo} when a view-base ad pays
130
+ * ad revenue to the publisher.
131
+ *
132
+ * @param listener Listener to be notified.
133
+ */
134
+ addAdRevenuePaidListener(listener: AdEventListener<AdRevenueInfo>): void;
135
+ /**
136
+ * Removes the event listener to receive {@link AdRevenueInfo} when when a view-base ad pays ad
137
+ * revenue to the publisher.
138
+ */
139
+ removeAdRevenuePaidListener(): void;
140
+ };
141
+ //# sourceMappingURL=ViewAd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewAd.d.ts","sourceRoot":"","sources":["../../../../src/types/ViewAd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;;;OAKG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAE/D;;;;;OAKG;IACH,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAEjE;;;;;OAKG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IAEvE;;;;;;OAMG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAE7E;;;;;;OAMG;IACH,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAE7F;;;;OAIG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzC;;;;OAIG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC;;;;OAIG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,2BAA2B,IAAI,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,4BAA4B,CAAC,QAAQ,EAAE,eAAe,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAEhF;;;OAGG;IACH,+BAA+B,IAAI,IAAI,CAAC;IAExC;;;;OAIG;IACH,yBAAyB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEnE;;OAEG;IACH,4BAA4B,IAAI,IAAI,CAAC;IAErC;;;;OAIG;IACH,2BAA2B,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAErE;;OAEG;IACH,8BAA8B,IAAI,IAAI,CAAC;IAEvC;;;;OAIG;IACH,0BAA0B,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEpE;;OAEG;IACH,6BAA6B,IAAI,IAAI,CAAC;IAEtC;;;;;OAKG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IAEzE;;;OAGG;IACH,2BAA2B,IAAI,IAAI,CAAC;CACvC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './Configuration';
2
+ export * from './CMPError';
3
+ export * from './AdInfo';
4
+ export * from './AdViewProps';
5
+ export * from './NativeAdViewProps';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-applovin-max",
3
3
  "author": "AppLovin Corporation <support@applovin.com> (https://applovin.com)",
4
- "version": "7.0.0",
4
+ "version": "7.0.1",
5
5
  "description": "AppLovin MAX React Native Plugin for Android and iOS",
6
6
  "main": "lib/commonjs/index",
7
7
  "module": "lib/module/index",
@@ -26,6 +26,9 @@
26
26
  "!**/__mocks__",
27
27
  "!**/.*"
28
28
  ],
29
+ "scripts": {
30
+ "prepare": "bob build"
31
+ },
29
32
  "repository": {
30
33
  "type": "git",
31
34
  "url": "git+https://github.com/AppLovin/AppLovin-MAX-React-Native.git"
@@ -39,17 +42,15 @@
39
42
  "@commitlint/config-conventional": "^17.0.2",
40
43
  "@evilmartians/lefthook": "^1.5.0",
41
44
  "@react-native/eslint-config": "^0.73.1",
42
- "@release-it/conventional-changelog": "^5.0.0",
43
- "@types/jest": "^29.5.5",
44
45
  "@types/react": "^18.2.44",
45
46
  "commitlint": "^17.0.2",
46
47
  "eslint": "^8.51.0",
47
48
  "eslint-config-prettier": "^9.0.0",
48
49
  "eslint-plugin-prettier": "^5.0.1",
49
- "jest": "^29.7.0",
50
50
  "prettier": "^3.0.3",
51
51
  "react": "18.2.0",
52
52
  "react-native": "0.73.6",
53
+ "react-native-builder-bob": "^0.20.0",
53
54
  "typescript": "^5.2.2"
54
55
  },
55
56
  "resolutions": {
@@ -63,13 +64,6 @@
63
64
  "example"
64
65
  ],
65
66
  "packageManager": "yarn@3.6.1",
66
- "jest": {
67
- "preset": "react-native",
68
- "modulePathIgnorePatterns": [
69
- "<rootDir>/example/node_modules",
70
- "<rootDir>/lib/"
71
- ]
72
- },
73
67
  "commitlint": {
74
68
  "extends": [
75
69
  "@commitlint/config-conventional"
@@ -108,5 +102,19 @@
108
102
  "useTabs": false,
109
103
  "printWidth": 180,
110
104
  "endOfLine": "auto"
105
+ },
106
+ "react-native-builder-bob": {
107
+ "source": "src",
108
+ "output": "lib",
109
+ "targets": [
110
+ "commonjs",
111
+ "module",
112
+ [
113
+ "typescript",
114
+ {
115
+ "project": "tsconfig.build.json"
116
+ }
117
+ ]
118
+ ]
111
119
  }
112
120
  }
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12
12
  s.authors = package["author"]
13
13
 
14
14
  s.platforms = { :ios => min_ios_version_supported }
15
- s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_7_0_0" }
15
+ s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_7_0_1" }
16
16
 
17
17
  s.source_files = "ios/AppLovinMAX*.{h,m}"
18
18
 
@@ -4,7 +4,7 @@ import type { Configuration } from './types/Configuration';
4
4
 
5
5
  const NativeAppLovinMAX = NativeModules.AppLovinMAX;
6
6
 
7
- const VERSION = '7.0.0';
7
+ const VERSION = '7.0.1';
8
8
 
9
9
  /**
10
10
  * This enum represents the user's geography used to determine the type of consent flow shown to the