react-native-applovin-max 9.0.0 → 9.2.0
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/android/build.gradle +3 -3
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXAdView.java +4 -10
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXAdViewUiComponent.java +17 -8
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXModuleImpl.java +36 -14
- package/android/src/newarch/com/applovin/reactnative/AppLovinMAXModule.java +6 -6
- package/android/src/oldarch/com/applovin/reactnative/AppLovinMAXModule.java +6 -6
- package/ios/AppLovinMAX.mm +36 -13
- package/ios/AppLovinMAXAdView.h +1 -0
- package/ios/AppLovinMAXAdView.mm +3 -9
- package/ios/AppLovinMAXAdViewUIComponent.h +1 -2
- package/ios/AppLovinMAXAdViewUIComponent.mm +18 -10
- package/lib/commonjs/AdView.js +63 -79
- package/lib/commonjs/AdView.js.map +1 -1
- package/lib/commonjs/AppLovinMAX.js +43 -29
- package/lib/commonjs/AppLovinMAX.js.map +1 -1
- package/lib/commonjs/BannerAd.js +2 -3
- package/lib/commonjs/BannerAd.js.map +1 -1
- package/lib/commonjs/ErrorCode.js +24 -31
- package/lib/commonjs/ErrorCode.js.map +1 -1
- package/lib/commonjs/EventEmitter.js +22 -1
- package/lib/commonjs/EventEmitter.js.map +1 -1
- package/lib/commonjs/Utils.js +22 -4
- package/lib/commonjs/Utils.js.map +1 -1
- package/lib/commonjs/index.js +1 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdView.js +34 -24
- package/lib/commonjs/nativeAd/NativeAdView.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdViewComponents.js +85 -43
- package/lib/commonjs/nativeAd/NativeAdViewComponents.js.map +1 -1
- package/lib/commonjs/nativeAd/NativeAdViewProvider.js +30 -2
- package/lib/commonjs/nativeAd/NativeAdViewProvider.js.map +1 -1
- package/lib/commonjs/specs/AppLovinMAXAdViewNativeComponent.js +27 -0
- package/lib/commonjs/specs/AppLovinMAXAdViewNativeComponent.js.map +1 -1
- package/lib/commonjs/specs/AppLovinMAXNativeAdViewNativeComponent.js +23 -0
- package/lib/commonjs/specs/AppLovinMAXNativeAdViewNativeComponent.js.map +1 -1
- package/lib/commonjs/specs/NativeAppLovinMAXModule.js +7 -0
- package/lib/commonjs/specs/NativeAppLovinMAXModule.js.map +1 -1
- package/lib/commonjs/types/AdInfo.js +13 -16
- package/lib/commonjs/types/AdInfo.js.map +1 -1
- package/lib/module/AdView.js +62 -77
- package/lib/module/AdView.js.map +1 -1
- package/lib/module/AppLovinMAX.js +44 -29
- package/lib/module/AppLovinMAX.js.map +1 -1
- package/lib/module/BannerAd.js +2 -3
- package/lib/module/BannerAd.js.map +1 -1
- package/lib/module/ErrorCode.js +24 -31
- package/lib/module/ErrorCode.js.map +1 -1
- package/lib/module/EventEmitter.js +22 -1
- package/lib/module/EventEmitter.js.map +1 -1
- package/lib/module/Utils.js +22 -4
- package/lib/module/Utils.js.map +1 -1
- package/lib/module/nativeAd/NativeAdView.js +34 -21
- package/lib/module/nativeAd/NativeAdView.js.map +1 -1
- package/lib/module/nativeAd/NativeAdViewComponents.js +87 -40
- package/lib/module/nativeAd/NativeAdViewComponents.js.map +1 -1
- package/lib/module/nativeAd/NativeAdViewProvider.js +30 -0
- package/lib/module/nativeAd/NativeAdViewProvider.js.map +1 -1
- package/lib/module/specs/AppLovinMAXAdViewNativeComponent.js +28 -0
- package/lib/module/specs/AppLovinMAXAdViewNativeComponent.js.map +1 -1
- package/lib/module/specs/AppLovinMAXNativeAdViewNativeComponent.js +24 -0
- package/lib/module/specs/AppLovinMAXNativeAdViewNativeComponent.js.map +1 -1
- package/lib/module/specs/NativeAppLovinMAXModule.js +9 -0
- package/lib/module/specs/NativeAppLovinMAXModule.js.map +1 -1
- package/lib/module/types/AdInfo.js +13 -16
- package/lib/module/types/AdInfo.js.map +1 -1
- package/lib/typescript/src/AdView.d.ts +27 -21
- package/lib/typescript/src/AdView.d.ts.map +1 -1
- package/lib/typescript/src/AppLovinMAX.d.ts +22 -21
- package/lib/typescript/src/AppLovinMAX.d.ts.map +1 -1
- package/lib/typescript/src/BannerAd.d.ts.map +1 -1
- package/lib/typescript/src/ErrorCode.d.ts +24 -31
- package/lib/typescript/src/ErrorCode.d.ts.map +1 -1
- package/lib/typescript/src/EventEmitter.d.ts +16 -0
- package/lib/typescript/src/EventEmitter.d.ts.map +1 -1
- package/lib/typescript/src/Utils.d.ts +15 -0
- package/lib/typescript/src/Utils.d.ts.map +1 -1
- package/lib/typescript/src/nativeAd/NativeAdView.d.ts +15 -7
- package/lib/typescript/src/nativeAd/NativeAdView.d.ts.map +1 -1
- package/lib/typescript/src/nativeAd/NativeAdViewComponents.d.ts +65 -1
- package/lib/typescript/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -1
- package/lib/typescript/src/nativeAd/NativeAdViewProvider.d.ts +17 -0
- package/lib/typescript/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -1
- package/lib/typescript/src/specs/AppLovinMAXAdViewNativeComponent.d.ts +45 -1
- package/lib/typescript/src/specs/AppLovinMAXAdViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/AppLovinMAXNativeAdViewNativeComponent.d.ts +57 -6
- package/lib/typescript/src/specs/AppLovinMAXNativeAdViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeAppLovinMAXModule.d.ts +13 -3
- package/lib/typescript/src/specs/NativeAppLovinMAXModule.d.ts.map +1 -1
- package/lib/typescript/src/types/AdEvent.d.ts +10 -4
- package/lib/typescript/src/types/AdEvent.d.ts.map +1 -1
- package/lib/typescript/src/types/AdInfo.d.ts +78 -85
- package/lib/typescript/src/types/AdInfo.d.ts.map +1 -1
- package/lib/typescript/src/types/AdProps.d.ts +14 -15
- package/lib/typescript/src/types/AdProps.d.ts.map +1 -1
- package/lib/typescript/src/types/AdViewProps.d.ts +32 -29
- package/lib/typescript/src/types/AdViewProps.d.ts.map +1 -1
- package/lib/typescript/src/types/AppLovinMAX.d.ts +50 -53
- package/lib/typescript/src/types/AppLovinMAX.d.ts.map +1 -1
- package/lib/typescript/src/types/BannerAd.d.ts +24 -18
- package/lib/typescript/src/types/BannerAd.d.ts.map +1 -1
- package/lib/typescript/src/types/CMPError.d.ts +7 -4
- package/lib/typescript/src/types/CMPError.d.ts.map +1 -1
- package/lib/typescript/src/types/Configuration.d.ts +12 -14
- package/lib/typescript/src/types/Configuration.d.ts.map +1 -1
- package/lib/typescript/src/types/FullscreenAd.d.ts +39 -46
- package/lib/typescript/src/types/FullscreenAd.d.ts.map +1 -1
- package/lib/typescript/src/types/MRecAd.d.ts +7 -3
- package/lib/typescript/src/types/MRecAd.d.ts.map +1 -1
- package/lib/typescript/src/types/NativeAd.d.ts +12 -11
- package/lib/typescript/src/types/NativeAd.d.ts.map +1 -1
- package/lib/typescript/src/types/NativeAdViewProps.d.ts +4 -3
- package/lib/typescript/src/types/NativeAdViewProps.d.ts.map +1 -1
- package/lib/typescript/src/types/Privacy.d.ts +13 -6
- package/lib/typescript/src/types/Privacy.d.ts.map +1 -1
- package/lib/typescript/src/types/RewardedAd.d.ts +7 -5
- package/lib/typescript/src/types/RewardedAd.d.ts.map +1 -1
- package/lib/typescript/src/types/ViewAd.d.ts +46 -50
- package/lib/typescript/src/types/ViewAd.d.ts.map +1 -1
- package/package.json +1 -1
- package/react-native-applovin-max.podspec +2 -2
- package/src/AdView.tsx +64 -82
- package/src/AppLovinMAX.ts +39 -29
- package/src/BannerAd.ts +2 -3
- package/src/ErrorCode.ts +24 -31
- package/src/EventEmitter.ts +20 -2
- package/src/Utils.ts +20 -1
- package/src/nativeAd/NativeAdView.tsx +31 -21
- package/src/nativeAd/NativeAdViewComponents.tsx +97 -38
- package/src/nativeAd/NativeAdViewProvider.tsx +23 -0
- package/src/specs/AppLovinMAXAdViewNativeComponent.ts +62 -1
- package/src/specs/AppLovinMAXNativeAdViewNativeComponent.ts +70 -6
- package/src/specs/NativeAppLovinMAXModule.ts +77 -56
- package/src/types/AdEvent.ts +10 -4
- package/src/types/AdInfo.ts +78 -85
- package/src/types/AdProps.ts +14 -15
- package/src/types/AdViewProps.ts +33 -29
- package/src/types/AppLovinMAX.ts +50 -53
- package/src/types/BannerAd.ts +24 -18
- package/src/types/CMPError.ts +7 -4
- package/src/types/Configuration.ts +12 -14
- package/src/types/FullscreenAd.ts +39 -46
- package/src/types/MRecAd.ts +7 -3
- package/src/types/NativeAd.ts +12 -11
- package/src/types/NativeAdViewProps.ts +4 -3
- package/src/types/Privacy.ts +13 -6
- package/src/types/RewardedAd.ts +7 -5
- package/src/types/ViewAd.ts +46 -50
|
@@ -2,121 +2,114 @@ import type { AdEventListener } from './AdEvent';
|
|
|
2
2
|
import type { AdInfo, AdLoadFailedInfo, AdDisplayFailedInfo } from './AdInfo';
|
|
3
3
|
import type { LocalExtraParameterValue } from './AdProps';
|
|
4
4
|
/**
|
|
5
|
-
* Defines
|
|
5
|
+
* Defines the interface for managing full-screen ads such as Interstitial, Rewarded, and AppOpen ads.
|
|
6
6
|
*/
|
|
7
7
|
export type FullscreenAdType = {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Checks whether an ad is ready to be shown.
|
|
10
10
|
*
|
|
11
|
-
* @param adUnitId The ad unit ID
|
|
11
|
+
* @param adUnitId - The ad unit ID to check.
|
|
12
|
+
* @returns A promise that resolves to `true` if the ad is ready.
|
|
12
13
|
*/
|
|
13
14
|
isAdReady(adUnitId: string): Promise<boolean>;
|
|
14
15
|
/**
|
|
15
|
-
* Loads
|
|
16
|
+
* Loads a full-screen ad for the given ad unit ID.
|
|
16
17
|
*
|
|
17
|
-
* @param adUnitId The ad unit ID to load
|
|
18
|
+
* @param adUnitId - The ad unit ID to load.
|
|
18
19
|
*/
|
|
19
20
|
loadAd(adUnitId: string): void;
|
|
20
21
|
/**
|
|
21
|
-
* Shows
|
|
22
|
-
* events to.
|
|
22
|
+
* Shows a loaded full-screen ad.
|
|
23
23
|
*
|
|
24
|
-
* @param adUnitId The ad unit ID of the ad to show.
|
|
25
|
-
* @param placement
|
|
26
|
-
* @param customData
|
|
24
|
+
* @param adUnitId - The ad unit ID of the ad to show.
|
|
25
|
+
* @param placement - Optional placement name for event reporting.
|
|
26
|
+
* @param customData - Optional custom string data (max size: 8 KB).
|
|
27
27
|
*/
|
|
28
28
|
showAd(adUnitId: string, placement?: string | null, customData?: string | null): void;
|
|
29
29
|
/**
|
|
30
|
-
* Sets an extra
|
|
30
|
+
* Sets an extra parameter to pass to the SDK for the specified ad unit.
|
|
31
31
|
*
|
|
32
|
-
* @param adUnitId The ad unit ID
|
|
33
|
-
* @param key
|
|
34
|
-
* @param value
|
|
32
|
+
* @param adUnitId - The ad unit ID.
|
|
33
|
+
* @param key - The parameter name.
|
|
34
|
+
* @param value - The parameter value or `null` to clear it.
|
|
35
35
|
*/
|
|
36
36
|
setExtraParameter(adUnitId: string, key: string, value: string | null): void;
|
|
37
37
|
/**
|
|
38
|
-
* Sets a local extra parameter to pass to the adapter
|
|
38
|
+
* Sets a local extra parameter to pass to the adapter for the specified ad unit.
|
|
39
39
|
*
|
|
40
|
-
* @param adUnitId The ad unit ID
|
|
41
|
-
* @param key
|
|
42
|
-
* @param value
|
|
40
|
+
* @param adUnitId - The ad unit ID.
|
|
41
|
+
* @param key - The parameter name.
|
|
42
|
+
* @param value - The parameter value (string, number, boolean, object, or null).
|
|
43
43
|
*/
|
|
44
44
|
setLocalExtraParameter(adUnitId: string, key: string, value: LocalExtraParameterValue): void;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Registers a listener for when an ad is successfully loaded.
|
|
47
47
|
*
|
|
48
|
-
* @param listener
|
|
48
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
49
49
|
*/
|
|
50
50
|
addAdLoadedEventListener(listener: AdEventListener<AdInfo>): void;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Unregisters the ad loaded listener.
|
|
53
53
|
*/
|
|
54
54
|
removeAdLoadedEventListener(): void;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
57
|
-
* could not load a new ad.
|
|
56
|
+
* Registers a listener for when an ad fails to load.
|
|
58
57
|
*
|
|
59
|
-
* @param listener
|
|
58
|
+
* @param listener - Callback to be notified with {@link AdLoadFailedInfo}.
|
|
60
59
|
*/
|
|
61
60
|
addAdLoadFailedEventListener(listener: AdEventListener<AdLoadFailedInfo>): void;
|
|
62
61
|
/**
|
|
63
|
-
*
|
|
64
|
-
* not load a new ad.
|
|
62
|
+
* Unregisters the ad load failure listener.
|
|
65
63
|
*/
|
|
66
64
|
removeAdLoadFailedEventListener(): void;
|
|
67
65
|
/**
|
|
68
|
-
*
|
|
66
|
+
* Registers a listener for ad click events.
|
|
69
67
|
*
|
|
70
|
-
* @param listener
|
|
68
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
71
69
|
*/
|
|
72
70
|
addAdClickedEventListener(listener: AdEventListener<AdInfo>): void;
|
|
73
71
|
/**
|
|
74
|
-
*
|
|
72
|
+
* Unregisters the ad click listener.
|
|
75
73
|
*/
|
|
76
74
|
removeAdClickedEventListener(): void;
|
|
77
75
|
/**
|
|
78
|
-
*
|
|
76
|
+
* Registers a listener for when an ad is displayed.
|
|
79
77
|
*
|
|
80
|
-
* @param listener
|
|
78
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
81
79
|
*/
|
|
82
80
|
addAdDisplayedEventListener(listener: AdEventListener<AdInfo>): void;
|
|
83
81
|
/**
|
|
84
|
-
*
|
|
82
|
+
* Unregisters the ad display listener.
|
|
85
83
|
*/
|
|
86
84
|
removeAdDisplayedEventListener(): void;
|
|
87
85
|
/**
|
|
88
|
-
*
|
|
89
|
-
* ad fails to display the ad.
|
|
86
|
+
* Registers a listener for when an ad fails to display.
|
|
90
87
|
*
|
|
91
|
-
* @param listener
|
|
88
|
+
* @param listener - Callback to be notified with {@link AdDisplayFailedInfo}.
|
|
92
89
|
*/
|
|
93
90
|
addAdFailedToDisplayEventListener(listener: AdEventListener<AdDisplayFailedInfo>): void;
|
|
94
91
|
/**
|
|
95
|
-
*
|
|
96
|
-
* fails to display the ad.
|
|
92
|
+
* Unregisters the ad display failure listener.
|
|
97
93
|
*/
|
|
98
94
|
removeAdFailedToDisplayEventListener(): void;
|
|
99
95
|
/**
|
|
100
|
-
*
|
|
101
|
-
* ad.
|
|
96
|
+
* Registers a listener for when an ad is hidden (dismissed).
|
|
102
97
|
*
|
|
103
|
-
* @param listener
|
|
98
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
104
99
|
*/
|
|
105
100
|
addAdHiddenEventListener(listener: AdEventListener<AdInfo>): void;
|
|
106
101
|
/**
|
|
107
|
-
*
|
|
102
|
+
* Unregisters the ad hidden listener.
|
|
108
103
|
*/
|
|
109
104
|
removeAdHiddenEventListener(): void;
|
|
110
105
|
/**
|
|
111
|
-
*
|
|
112
|
-
* pays ad revenue to the publisher.
|
|
106
|
+
* Registers a listener for when ad revenue is paid.
|
|
113
107
|
*
|
|
114
|
-
* @param listener
|
|
108
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
115
109
|
*/
|
|
116
110
|
addAdRevenuePaidListener(listener: AdEventListener<AdInfo>): void;
|
|
117
111
|
/**
|
|
118
|
-
*
|
|
119
|
-
* ad revenue to the publisher.
|
|
112
|
+
* Unregisters the ad revenue paid listener.
|
|
120
113
|
*/
|
|
121
114
|
removeAdRevenuePaidListener(): void;
|
|
122
115
|
};
|
|
@@ -1 +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,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,KA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,CAAC;IAEhF;;OAEG;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,iCAAiC,CAAC,QAAQ,EAAE,eAAe,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAExF;;OAEG;IACH,oCAAoC,IAAI,IAAI,CAAC;IAE7C;;;;OAIG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,2BAA2B,IAAI,IAAI,CAAC;IAEpC;;;;OAIG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,2BAA2B,IAAI,IAAI,CAAC;CACvC,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type { ViewAdType } from './ViewAd';
|
|
2
2
|
import type { AdViewPosition } from '../AdView';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the interface for managing MREC ads.
|
|
5
|
+
* Extends {@link ViewAdType} with MREC-specific creation logic.
|
|
6
|
+
*/
|
|
3
7
|
export type MRecAdType = ViewAdType & {
|
|
4
8
|
/**
|
|
5
|
-
* Creates
|
|
9
|
+
* Creates an MREC ad at the specified screen position.
|
|
6
10
|
*
|
|
7
|
-
* @param adUnitId The
|
|
8
|
-
* @param position {@link AdViewPosition}
|
|
11
|
+
* @param adUnitId - The ad unit ID to load the ad for.
|
|
12
|
+
* @param position - The desired position for the MREC, defined by {@link AdViewPosition}.
|
|
9
13
|
*/
|
|
10
14
|
createAd(adUnitId: string, position: AdViewPosition): void;
|
|
11
15
|
};
|
|
@@ -1 +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"}
|
|
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;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG;IAClC;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;CAC9D,CAAC"}
|
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Represents a native ad
|
|
2
|
+
* Represents the structure of a native ad used internally by {@link NativeAdView}.
|
|
3
|
+
* This type is intended for internal use only.
|
|
3
4
|
*/
|
|
4
5
|
export type NativeAd = {
|
|
5
6
|
/**
|
|
6
|
-
* The
|
|
7
|
+
* The ad title text.
|
|
7
8
|
*/
|
|
8
9
|
title?: string | null;
|
|
9
10
|
/**
|
|
10
|
-
* The
|
|
11
|
+
* The advertiser name.
|
|
11
12
|
*/
|
|
12
13
|
advertiser?: string | null;
|
|
13
14
|
/**
|
|
14
|
-
* The
|
|
15
|
+
* The ad body text.
|
|
15
16
|
*/
|
|
16
17
|
body?: string | null;
|
|
17
18
|
/**
|
|
18
|
-
* The
|
|
19
|
+
* The call-to-action text.
|
|
19
20
|
*/
|
|
20
21
|
callToAction?: string | null;
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
+
* Indicates whether an icon image is available.
|
|
23
24
|
*/
|
|
24
25
|
image?: boolean;
|
|
25
26
|
/**
|
|
26
|
-
* The
|
|
27
|
+
* The base64-encoded image source for the icon (if provided inline).
|
|
27
28
|
*/
|
|
28
29
|
imageSource?: string | null;
|
|
29
30
|
/**
|
|
30
|
-
* The URL
|
|
31
|
+
* The URL of the icon image.
|
|
31
32
|
*/
|
|
32
33
|
url?: string;
|
|
33
34
|
/**
|
|
34
|
-
* The star rating of the
|
|
35
|
+
* The star rating of the ad, typically in the range [0.0 – 5.0].
|
|
35
36
|
*/
|
|
36
37
|
starRating?: number;
|
|
37
38
|
/**
|
|
38
|
-
* Whether
|
|
39
|
+
* Whether the native Options view is available.
|
|
39
40
|
*/
|
|
40
41
|
isOptionsViewAvailable: boolean;
|
|
41
42
|
/**
|
|
42
|
-
* Whether
|
|
43
|
+
* Whether the native Media view (video or image) is available.
|
|
43
44
|
*/
|
|
44
45
|
isMediaViewAvailable: boolean;
|
|
45
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAd.d.ts","sourceRoot":"","sources":["../../../../src/types/NativeAd.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"NativeAd.d.ts","sourceRoot":"","sources":["../../../../src/types/NativeAd.ts"],"names":[],"mappings":"AAAA;;;GAGG;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,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,oBAAoB,EAAE,OAAO,CAAC;CACjC,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import type { AdProps } from './AdProps';
|
|
2
2
|
/**
|
|
3
|
-
* A handler
|
|
3
|
+
* A reference handler for the {@link NativeAdView} component.
|
|
4
4
|
*/
|
|
5
5
|
export type NativeAdViewHandler = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Triggers a native ad load.
|
|
8
8
|
*/
|
|
9
9
|
loadAd(): void;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Props passed to the {@link NativeAdView} component.
|
|
13
|
+
* Extends the base {@link AdProps} used for all ad components.
|
|
13
14
|
*/
|
|
14
15
|
export type NativeAdViewProps = AdProps;
|
|
15
16
|
//# sourceMappingURL=NativeAdViewProps.d.ts.map
|
|
@@ -1 +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
|
|
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;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC"}
|
|
@@ -1,22 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides methods to manage user privacy settings for AppLovin MAX.
|
|
3
|
+
*/
|
|
1
4
|
export type PrivacyType = {
|
|
2
5
|
/**
|
|
3
|
-
* Sets whether
|
|
6
|
+
* Sets whether the user has granted consent for data collection and sharing.
|
|
4
7
|
*
|
|
5
|
-
* @param hasUserConsent true if the user provided consent
|
|
8
|
+
* @param hasUserConsent - `true` if the user has provided consent.
|
|
6
9
|
*/
|
|
7
10
|
setHasUserConsent(hasUserConsent: boolean): void;
|
|
8
11
|
/**
|
|
9
|
-
* Checks
|
|
12
|
+
* Checks whether the user has granted consent for information sharing.
|
|
13
|
+
*
|
|
14
|
+
* @returns A promise that resolves to `true` if the user has granted consent.
|
|
10
15
|
*/
|
|
11
16
|
hasUserConsent(): Promise<boolean>;
|
|
12
17
|
/**
|
|
13
|
-
* Sets whether
|
|
18
|
+
* Sets whether the user has opted out of the sale of their personal information.
|
|
14
19
|
*
|
|
15
|
-
* @param doNotSell true if the user opted out of
|
|
20
|
+
* @param doNotSell - `true` if the user opted out of personal data sale.
|
|
16
21
|
*/
|
|
17
22
|
setDoNotSell(doNotSell: boolean): void;
|
|
18
23
|
/**
|
|
19
|
-
* Checks
|
|
24
|
+
* Checks whether the user has opted out of the sale of their personal information.
|
|
25
|
+
*
|
|
26
|
+
* @returns A promise that resolves to `true` if the user has opted out.
|
|
20
27
|
*/
|
|
21
28
|
isDoNotSell(): Promise<boolean>;
|
|
22
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Privacy.d.ts","sourceRoot":"","sources":["../../../../src/types/Privacy.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,cAAc,EAAE,OAAO,GAAG,IAAI,CAAC;IAEjD
|
|
1
|
+
{"version":3,"file":"Privacy.d.ts","sourceRoot":"","sources":["../../../../src/types/Privacy.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,cAAc,EAAE,OAAO,GAAG,IAAI,CAAC;IAEjD;;;;OAIG;IACH,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAEnC;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAEvC;;;;OAIG;IACH,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACnC,CAAC"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import type { AdEventListener } from './AdEvent';
|
|
2
2
|
import type { AdRewardInfo } from './AdInfo';
|
|
3
3
|
import type { FullscreenAdType } from './FullscreenAd';
|
|
4
|
+
/**
|
|
5
|
+
* Defines the interface for managing rewarded ads.
|
|
6
|
+
* Extends {@link FullscreenAdType} with reward-specific callbacks.
|
|
7
|
+
*/
|
|
4
8
|
export type RewardedAdType = FullscreenAdType & {
|
|
5
9
|
/**
|
|
6
|
-
*
|
|
7
|
-
* rewards the user.
|
|
10
|
+
* Registers a listener for when a reward is granted to the user.
|
|
8
11
|
*
|
|
9
|
-
* @param listener
|
|
12
|
+
* @param listener - Callback to be notified with {@link AdRewardInfo}.
|
|
10
13
|
*/
|
|
11
14
|
addAdReceivedRewardEventListener(listener: AdEventListener<AdRewardInfo>): void;
|
|
12
15
|
/**
|
|
13
|
-
*
|
|
14
|
-
* the user.
|
|
16
|
+
* Unregisters the reward event listener.
|
|
15
17
|
*/
|
|
16
18
|
removeAdReceivedRewardEventListener(): void;
|
|
17
19
|
};
|
|
@@ -1 +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
|
|
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;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC5C;;;;OAIG;IACH,gCAAgC,CAAC,QAAQ,EAAE,eAAe,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAEhF;;OAEG;IACH,mCAAmC,IAAI,IAAI,CAAC;CAC/C,CAAC"}
|
|
@@ -3,138 +3,134 @@ import type { AdInfo, AdLoadFailedInfo } from './AdInfo';
|
|
|
3
3
|
import type { LocalExtraParameterValue } from './AdProps';
|
|
4
4
|
import type { AdViewPosition } from '../AdView';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Defines the interface for view-based ads such as Banners and MRECs.
|
|
7
7
|
*/
|
|
8
8
|
export type ViewAdType = {
|
|
9
9
|
/**
|
|
10
|
-
* Destroys the banner
|
|
10
|
+
* Destroys the banner or MREC ad.
|
|
11
11
|
*
|
|
12
|
-
* @param adUnitId The ad unit ID of the ad to destroy.
|
|
12
|
+
* @param adUnitId - The ad unit ID of the ad to destroy.
|
|
13
13
|
*/
|
|
14
14
|
destroyAd(adUnitId: string): void;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Displays the banner or MREC ad.
|
|
17
17
|
*
|
|
18
|
-
* @param adUnitId The ad unit ID of the ad to show.
|
|
18
|
+
* @param adUnitId - The ad unit ID of the ad to show.
|
|
19
19
|
*/
|
|
20
20
|
showAd(adUnitId: string): void;
|
|
21
21
|
/**
|
|
22
|
-
* Hides the banner
|
|
22
|
+
* Hides the banner or MREC ad.
|
|
23
23
|
*
|
|
24
|
-
* @param adUnitId The ad unit ID of the ad to hide.
|
|
24
|
+
* @param adUnitId - The ad unit ID of the ad to hide.
|
|
25
25
|
*/
|
|
26
26
|
hideAd(adUnitId: string): void;
|
|
27
27
|
/**
|
|
28
|
-
* Sets a placement to
|
|
28
|
+
* Sets a placement to associate with the showing ad’s events.
|
|
29
29
|
*
|
|
30
|
-
* @param adUnitId The ad unit ID
|
|
31
|
-
* @param placement The placement
|
|
30
|
+
* @param adUnitId - The ad unit ID.
|
|
31
|
+
* @param placement - The placement name.
|
|
32
32
|
*/
|
|
33
33
|
setPlacement(adUnitId: string, placement: string | null): void;
|
|
34
34
|
/**
|
|
35
|
-
* Sets custom data to
|
|
35
|
+
* Sets custom data to associate with the showing ad’s events.
|
|
36
36
|
*
|
|
37
|
-
* @param adUnitId The ad unit ID
|
|
38
|
-
* @param customData
|
|
37
|
+
* @param adUnitId - The ad unit ID.
|
|
38
|
+
* @param customData - Optional custom string (max 8 KB).
|
|
39
39
|
*/
|
|
40
40
|
setCustomData(adUnitId: string, customData: string | null): void;
|
|
41
41
|
/**
|
|
42
|
-
* Updates the banner
|
|
42
|
+
* Updates the position of the banner or MREC.
|
|
43
43
|
*
|
|
44
|
-
* @param adUnitId The ad unit ID
|
|
45
|
-
* @param bannerPosition
|
|
44
|
+
* @param adUnitId - The ad unit ID.
|
|
45
|
+
* @param bannerPosition - The new position on screen.
|
|
46
46
|
*/
|
|
47
47
|
updatePosition(adUnitId: string, bannerPosition: AdViewPosition): void;
|
|
48
48
|
/**
|
|
49
|
-
* Sets an extra
|
|
49
|
+
* Sets an extra parameter for the ad.
|
|
50
50
|
*
|
|
51
|
-
* @param adUnitId The ad unit ID
|
|
52
|
-
* @param key
|
|
53
|
-
* @param value
|
|
51
|
+
* @param adUnitId - The ad unit ID.
|
|
52
|
+
* @param key - Parameter name.
|
|
53
|
+
* @param value - Parameter value (or `null` to clear it).
|
|
54
54
|
*/
|
|
55
55
|
setExtraParameter(adUnitId: string, key: string, value: string | null): void;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Sets a local extra parameter to be passed to the mediation adapter.
|
|
58
58
|
*
|
|
59
|
-
* @param adUnitId The ad unit ID
|
|
60
|
-
* @param key
|
|
61
|
-
* @param value
|
|
59
|
+
* @param adUnitId - The ad unit ID.
|
|
60
|
+
* @param key - Parameter name.
|
|
61
|
+
* @param value - Parameter value (string, number, boolean, object, or null).
|
|
62
62
|
*/
|
|
63
63
|
setLocalExtraParameter(adUnitId: string, key: string, value: LocalExtraParameterValue): void;
|
|
64
64
|
/**
|
|
65
|
-
* Starts or resumes auto-
|
|
65
|
+
* Starts or resumes auto-refresh for the ad.
|
|
66
66
|
*
|
|
67
|
-
* @param adUnitId The ad unit ID
|
|
67
|
+
* @param adUnitId - The ad unit ID.
|
|
68
68
|
*/
|
|
69
69
|
startAutoRefresh(adUnitId: string): void;
|
|
70
70
|
/**
|
|
71
|
-
* Pauses auto-
|
|
71
|
+
* Pauses auto-refresh for the ad.
|
|
72
72
|
*
|
|
73
|
-
* @param adUnitId The ad unit ID
|
|
73
|
+
* @param adUnitId - The ad unit ID.
|
|
74
74
|
*/
|
|
75
75
|
stopAutoRefresh(adUnitId: string): void;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* Registers a listener for when a new ad is successfully loaded.
|
|
78
78
|
*
|
|
79
|
-
* @param listener
|
|
79
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
80
80
|
*/
|
|
81
81
|
addAdLoadedEventListener(listener: AdEventListener<AdInfo>): void;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Unregisters the ad loaded listener.
|
|
84
84
|
*/
|
|
85
85
|
removeAdLoadedEventListener(): void;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
88
|
-
* could not load a new ad.
|
|
87
|
+
* Registers a listener for when ad loading fails.
|
|
89
88
|
*
|
|
90
|
-
* @param listener
|
|
89
|
+
* @param listener - Callback to be notified with {@link AdLoadFailedInfo}.
|
|
91
90
|
*/
|
|
92
91
|
addAdLoadFailedEventListener(listener: AdEventListener<AdLoadFailedInfo>): void;
|
|
93
92
|
/**
|
|
94
|
-
*
|
|
95
|
-
* load a new ad.
|
|
93
|
+
* Unregisters the ad load failure listener.
|
|
96
94
|
*/
|
|
97
95
|
removeAdLoadFailedEventListener(): void;
|
|
98
96
|
/**
|
|
99
|
-
*
|
|
97
|
+
* Registers a listener for ad click events.
|
|
100
98
|
*
|
|
101
|
-
* @param listener
|
|
99
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
102
100
|
*/
|
|
103
101
|
addAdClickedEventListener(listener: AdEventListener<AdInfo>): void;
|
|
104
102
|
/**
|
|
105
|
-
*
|
|
103
|
+
* Unregisters the ad click listener.
|
|
106
104
|
*/
|
|
107
105
|
removeAdClickedEventListener(): void;
|
|
108
106
|
/**
|
|
109
|
-
*
|
|
107
|
+
* Registers a listener for when the ad collapses (e.g. after expansion).
|
|
110
108
|
*
|
|
111
|
-
* @param listener
|
|
109
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
112
110
|
*/
|
|
113
111
|
addAdCollapsedEventListener(listener: AdEventListener<AdInfo>): void;
|
|
114
112
|
/**
|
|
115
|
-
*
|
|
113
|
+
* Unregisters the ad collapsed listener.
|
|
116
114
|
*/
|
|
117
115
|
removeAdCollapsedEventListener(): void;
|
|
118
116
|
/**
|
|
119
|
-
*
|
|
117
|
+
* Registers a listener for when the ad expands.
|
|
120
118
|
*
|
|
121
|
-
* @param listener
|
|
119
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
122
120
|
*/
|
|
123
121
|
addAdExpandedEventListener(listener: AdEventListener<AdInfo>): void;
|
|
124
122
|
/**
|
|
125
|
-
*
|
|
123
|
+
* Unregisters the ad expanded listener.
|
|
126
124
|
*/
|
|
127
125
|
removeAdExpandedEventListener(): void;
|
|
128
126
|
/**
|
|
129
|
-
*
|
|
130
|
-
* ad revenue to the publisher.
|
|
127
|
+
* Registers a listener for when the ad pays revenue to the publisher.
|
|
131
128
|
*
|
|
132
|
-
* @param listener
|
|
129
|
+
* @param listener - Callback to be notified with {@link AdInfo}.
|
|
133
130
|
*/
|
|
134
131
|
addAdRevenuePaidListener(listener: AdEventListener<AdInfo>): void;
|
|
135
132
|
/**
|
|
136
|
-
*
|
|
137
|
-
* revenue to the publisher.
|
|
133
|
+
* Unregisters the ad revenue paid listener.
|
|
138
134
|
*/
|
|
139
135
|
removeAdRevenuePaidListener(): void;
|
|
140
136
|
};
|
|
@@ -1 +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,MAAM,UAAU,CAAC;AACzD,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;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Ae,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;;;;OAIG;IACH,wBAAwB,CAAC,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,2BAA2B,IAAI,IAAI,CAAC;CACvC,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": "9.
|
|
4
|
+
"version": "9.2.0",
|
|
5
5
|
"description": "AppLovin MAX React Native Plugin for Android and iOS",
|
|
6
6
|
"main": "lib/commonjs/index",
|
|
7
7
|
"module": "lib/module/index",
|
|
@@ -11,11 +11,11 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.authors = package["author"]
|
|
12
12
|
|
|
13
13
|
s.platforms = { :ios => min_ios_version_supported }
|
|
14
|
-
s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "
|
|
14
|
+
s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_9_2_0" }
|
|
15
15
|
|
|
16
16
|
s.source_files = "ios/AppLovinMAX*.{h,mm}"
|
|
17
17
|
|
|
18
|
-
s.dependency "AppLovinSDK", "13.
|
|
18
|
+
s.dependency "AppLovinSDK", "13.3.0"
|
|
19
19
|
|
|
20
20
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
21
21
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|