react-native-applovin-max 6.5.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.
- package/android/build.gradle +46 -100
- package/android/gradle.properties +4 -4
- package/android/src/main/AndroidManifest.xml +2 -2
- package/android/src/main/AndroidManifestNew.xml +2 -0
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXAdView.java +123 -163
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXAdViewManager.java +24 -17
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXAdViewUiComponent.java +242 -0
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXModule.java +297 -336
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXNativeAdView.java +13 -12
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXNativeAdViewManager.java +11 -14
- package/android/src/main/java/com/applovin/reactnative/AppLovinMAXPackage.java +3 -3
- package/ios/AppLovinMAX.h +1 -1
- package/ios/AppLovinMAX.m +62 -12
- package/ios/AppLovinMAXAdView.h +12 -0
- package/ios/AppLovinMAXAdView.m +120 -142
- package/ios/AppLovinMAXAdViewUIComponent.h +27 -0
- package/ios/AppLovinMAXAdViewUIComponent.m +199 -0
- package/lib/commonjs/AdView.js +348 -0
- package/lib/commonjs/AdView.js.map +1 -0
- package/lib/commonjs/AppLovinMAX.js +52 -0
- package/lib/commonjs/AppLovinMAX.js.map +1 -0
- package/lib/commonjs/AppOpenAd.js +102 -0
- package/lib/commonjs/AppOpenAd.js.map +1 -0
- package/lib/commonjs/BannerAd.js +139 -0
- package/lib/commonjs/BannerAd.js.map +1 -0
- package/lib/commonjs/EventEmitter.js +32 -0
- package/lib/commonjs/EventEmitter.js.map +1 -0
- package/lib/commonjs/InterstitialAd.js +102 -0
- package/lib/commonjs/InterstitialAd.js.map +1 -0
- package/lib/commonjs/MRecAd.js +117 -0
- package/lib/commonjs/MRecAd.js.map +1 -0
- package/lib/commonjs/Privacy.js +12 -0
- package/lib/commonjs/Privacy.js.map +1 -0
- package/lib/commonjs/RewardedAd.js +116 -0
- package/lib/commonjs/RewardedAd.js.map +1 -0
- package/lib/commonjs/TargetingData.js +179 -0
- package/lib/commonjs/TargetingData.js.map +1 -0
- package/lib/commonjs/index.js +256 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/nativeAd/NativeAdView.js +147 -0
- package/lib/commonjs/nativeAd/NativeAdView.js.map +1 -0
- package/lib/commonjs/nativeAd/NativeAdViewComponents.js +197 -0
- package/lib/commonjs/nativeAd/NativeAdViewComponents.js.map +1 -0
- package/lib/commonjs/nativeAd/NativeAdViewProvider.js +37 -0
- package/lib/commonjs/nativeAd/NativeAdViewProvider.js.map +1 -0
- package/lib/commonjs/types/AdEvent.js +6 -0
- package/lib/commonjs/types/AdEvent.js.map +1 -0
- package/lib/commonjs/types/AdInfo.js +48 -0
- package/lib/commonjs/types/AdInfo.js.map +1 -0
- package/lib/commonjs/types/AdProps.js +6 -0
- package/lib/commonjs/types/AdProps.js.map +1 -0
- package/lib/commonjs/types/AdViewProps.js +6 -0
- package/lib/commonjs/types/AdViewProps.js.map +1 -0
- package/lib/commonjs/types/AppLovinMAX.js +6 -0
- package/lib/commonjs/types/AppLovinMAX.js.map +1 -0
- package/lib/commonjs/types/AppOpenAd.js +6 -0
- package/lib/commonjs/types/AppOpenAd.js.map +1 -0
- package/lib/commonjs/types/BannerAd.js +6 -0
- package/lib/commonjs/types/BannerAd.js.map +1 -0
- package/lib/commonjs/types/CMPError.js +6 -0
- package/lib/commonjs/types/CMPError.js.map +1 -0
- package/lib/commonjs/types/Configuration.js +6 -0
- package/lib/commonjs/types/Configuration.js.map +1 -0
- package/lib/commonjs/types/FullscreenAd.js +6 -0
- package/lib/commonjs/types/FullscreenAd.js.map +1 -0
- package/lib/commonjs/types/InterstitialAd.js +6 -0
- package/lib/commonjs/types/InterstitialAd.js.map +1 -0
- package/lib/commonjs/types/MRecAd.js +6 -0
- package/lib/commonjs/types/MRecAd.js.map +1 -0
- package/lib/commonjs/types/NativeAd.js +2 -0
- package/lib/commonjs/types/NativeAd.js.map +1 -0
- package/lib/commonjs/types/NativeAdViewProps.js +6 -0
- package/lib/commonjs/types/NativeAdViewProps.js.map +1 -0
- package/lib/commonjs/types/Privacy.js +2 -0
- package/lib/commonjs/types/Privacy.js.map +1 -0
- package/lib/commonjs/types/RewardedAd.js +6 -0
- package/lib/commonjs/types/RewardedAd.js.map +1 -0
- package/lib/commonjs/types/TargetingData.js +6 -0
- package/lib/commonjs/types/TargetingData.js.map +1 -0
- package/lib/commonjs/types/ViewAd.js +6 -0
- package/lib/commonjs/types/ViewAd.js.map +1 -0
- package/lib/commonjs/types/index.js +61 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/module/AdView.js +335 -0
- package/lib/module/AdView.js.map +1 -0
- package/lib/module/AppLovinMAX.js +48 -0
- package/lib/module/AppLovinMAX.js.map +1 -0
- package/lib/module/AppOpenAd.js +96 -0
- package/lib/module/AppOpenAd.js.map +1 -0
- package/lib/module/BannerAd.js +133 -0
- package/lib/module/BannerAd.js.map +1 -0
- package/lib/module/EventEmitter.js +24 -0
- package/lib/module/EventEmitter.js.map +1 -0
- package/lib/module/InterstitialAd.js +96 -0
- package/lib/module/InterstitialAd.js.map +1 -0
- package/lib/module/MRecAd.js +111 -0
- package/lib/module/MRecAd.js.map +1 -0
- package/lib/module/Privacy.js +6 -0
- package/lib/module/Privacy.js.map +1 -0
- package/lib/module/RewardedAd.js +110 -0
- package/lib/module/RewardedAd.js.map +1 -0
- package/lib/module/TargetingData.js +175 -0
- package/lib/module/TargetingData.js.map +1 -0
- package/lib/module/index.js +14 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/nativeAd/NativeAdView.js +139 -0
- package/lib/module/nativeAd/NativeAdView.js.map +1 -0
- package/lib/module/nativeAd/NativeAdViewComponents.js +181 -0
- package/lib/module/nativeAd/NativeAdViewComponents.js.map +1 -0
- package/lib/module/nativeAd/NativeAdViewProvider.js +28 -0
- package/lib/module/nativeAd/NativeAdViewProvider.js.map +1 -0
- package/lib/module/types/AdEvent.js +2 -0
- package/lib/module/types/AdEvent.js.map +1 -0
- package/lib/module/types/AdInfo.js +52 -0
- package/lib/module/types/AdInfo.js.map +1 -0
- package/lib/module/types/AdProps.js +2 -0
- package/lib/module/types/AdProps.js.map +1 -0
- package/lib/module/types/AdViewProps.js +2 -0
- package/lib/module/types/AdViewProps.js.map +1 -0
- package/lib/module/types/AppLovinMAX.js +2 -0
- package/lib/module/types/AppLovinMAX.js.map +1 -0
- package/lib/module/types/AppOpenAd.js +2 -0
- package/lib/module/types/AppOpenAd.js.map +1 -0
- package/lib/module/types/BannerAd.js +2 -0
- package/lib/module/types/BannerAd.js.map +1 -0
- package/lib/module/types/CMPError.js +2 -0
- package/lib/module/types/CMPError.js.map +1 -0
- package/lib/module/types/Configuration.js +2 -0
- package/lib/module/types/Configuration.js.map +1 -0
- package/lib/module/types/FullscreenAd.js +2 -0
- package/lib/module/types/FullscreenAd.js.map +1 -0
- package/lib/module/types/InterstitialAd.js +2 -0
- package/lib/module/types/InterstitialAd.js.map +1 -0
- package/lib/module/types/MRecAd.js +2 -0
- package/lib/module/types/MRecAd.js.map +1 -0
- package/lib/module/types/NativeAd.js +2 -0
- package/lib/module/types/NativeAd.js.map +1 -0
- package/lib/module/types/NativeAdViewProps.js +2 -0
- package/lib/module/types/NativeAdViewProps.js.map +1 -0
- package/lib/module/types/Privacy.js +2 -0
- package/lib/module/types/Privacy.js.map +1 -0
- package/lib/module/types/RewardedAd.js +2 -0
- package/lib/module/types/RewardedAd.js.map +1 -0
- package/lib/module/types/TargetingData.js +2 -0
- package/lib/module/types/TargetingData.js.map +1 -0
- package/lib/module/types/ViewAd.js +2 -0
- package/lib/module/types/ViewAd.js.map +1 -0
- package/lib/module/types/index.js +6 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/typescript/src/AdView.d.ts +115 -0
- package/lib/typescript/src/AdView.d.ts.map +1 -0
- package/lib/typescript/src/AppLovinMAX.d.ts +73 -0
- package/lib/typescript/src/AppLovinMAX.d.ts.map +1 -0
- package/lib/typescript/src/AppOpenAd.d.ts +4 -0
- package/lib/typescript/src/AppOpenAd.d.ts.map +1 -0
- package/lib/typescript/src/BannerAd.d.ts +4 -0
- package/lib/typescript/src/BannerAd.d.ts.map +1 -0
- package/lib/typescript/src/EventEmitter.d.ts +4 -0
- package/lib/typescript/src/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/src/InterstitialAd.d.ts +4 -0
- package/lib/typescript/src/InterstitialAd.d.ts.map +1 -0
- package/lib/typescript/src/MRecAd.d.ts +4 -0
- package/lib/typescript/src/MRecAd.d.ts.map +1 -0
- package/lib/typescript/src/Privacy.d.ts +3 -0
- package/lib/typescript/src/Privacy.d.ts.map +1 -0
- package/lib/typescript/src/RewardedAd.d.ts +4 -0
- package/lib/typescript/src/RewardedAd.d.ts.map +1 -0
- package/lib/typescript/src/TargetingData.d.ts +26 -0
- package/lib/typescript/src/TargetingData.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +14 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/nativeAd/NativeAdView.d.ts +42 -0
- package/lib/typescript/src/nativeAd/NativeAdView.d.ts.map +1 -0
- package/lib/typescript/src/nativeAd/NativeAdViewComponents.d.ts +11 -0
- package/lib/typescript/src/nativeAd/NativeAdViewComponents.d.ts.map +1 -0
- package/lib/typescript/src/nativeAd/NativeAdViewProvider.d.ts +16 -0
- package/lib/typescript/src/nativeAd/NativeAdViewProvider.d.ts.map +1 -0
- package/lib/typescript/src/types/AdEvent.d.ts +15 -0
- package/lib/typescript/src/types/AdEvent.d.ts.map +1 -0
- package/lib/typescript/src/types/AdInfo.d.ts +295 -0
- package/lib/typescript/src/types/AdInfo.d.ts.map +1 -0
- package/lib/typescript/src/types/AdProps.d.ts +58 -0
- package/lib/typescript/src/types/AdProps.d.ts.map +1 -0
- package/lib/typescript/src/types/AdViewProps.d.ts +73 -0
- package/lib/typescript/src/types/AdViewProps.d.ts.map +1 -0
- package/lib/typescript/src/types/AppLovinMAX.d.ts +133 -0
- package/lib/typescript/src/types/AppLovinMAX.d.ts.map +1 -0
- package/lib/typescript/src/types/AppOpenAd.d.ts +3 -0
- package/lib/typescript/src/types/AppOpenAd.d.ts.map +1 -0
- package/lib/typescript/src/types/BannerAd.d.ts +42 -0
- package/lib/typescript/src/types/BannerAd.d.ts.map +1 -0
- package/lib/typescript/src/types/CMPError.d.ts +20 -0
- package/lib/typescript/src/types/CMPError.d.ts.map +1 -0
- package/lib/typescript/src/types/Configuration.d.ts +33 -0
- package/lib/typescript/src/types/Configuration.d.ts.map +1 -0
- package/lib/typescript/src/types/FullscreenAd.d.ts +123 -0
- package/lib/typescript/src/types/FullscreenAd.d.ts.map +1 -0
- package/lib/typescript/src/types/InterstitialAd.d.ts +3 -0
- package/lib/typescript/src/types/InterstitialAd.d.ts.map +1 -0
- package/lib/typescript/src/types/MRecAd.d.ts +12 -0
- package/lib/typescript/src/types/MRecAd.d.ts.map +1 -0
- package/lib/typescript/src/types/NativeAd.d.ts +42 -0
- package/lib/typescript/src/types/NativeAd.d.ts.map +1 -0
- package/lib/typescript/src/types/NativeAdViewProps.d.ts +15 -0
- package/lib/typescript/src/types/NativeAdViewProps.d.ts.map +1 -0
- package/lib/typescript/src/types/Privacy.d.ts +35 -0
- package/lib/typescript/src/types/Privacy.d.ts.map +1 -0
- package/lib/typescript/src/types/RewardedAd.d.ts +18 -0
- package/lib/typescript/src/types/RewardedAd.d.ts.map +1 -0
- package/lib/typescript/src/types/TargetingData.d.ts +43 -0
- package/lib/typescript/src/types/TargetingData.d.ts.map +1 -0
- package/lib/typescript/src/types/ViewAd.d.ts +141 -0
- package/lib/typescript/src/types/ViewAd.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +6 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/package.json +102 -21
- package/react-native-applovin-max.podspec +29 -5
- package/src/AdView.tsx +83 -26
- package/src/AppLovinMAX.ts +1 -1
- package/src/InterstitialAd.ts +1 -3
- package/src/MRecAd.ts +2 -8
- package/src/TargetingData.ts +2 -15
- package/src/index.ts +9 -10
- package/src/nativeAd/NativeAdView.tsx +33 -49
- package/src/nativeAd/NativeAdViewComponents.tsx +22 -31
- package/src/types/AdViewProps.ts +29 -1
- package/android/.project +0 -17
- package/android/.settings/org.eclipse.buildship.core.prefs +0 -13
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -6
- package/android/gradlew +0 -172
- package/android/gradlew.bat +0 -84
- package/ios/AppLovinMAX.xcodeproj/project.pbxproj +0 -368
- package/ios/AppLovinMAX.xcodeproj/xcshareddata/xcschemes/AppLovinMAX.xcscheme +0 -67
- package/ios/AppLovinMAX.xcworkspace/contents.xcworkspacedata +0 -10
- package/ios/AppLovinMAX.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/Podfile +0 -40
- package/ios/Podfile.lock +0 -373
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.UserGender = exports.TargetingData = exports.AdContentRating = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const {
|
|
9
|
+
AppLovinMAX
|
|
10
|
+
} = _reactNative.NativeModules;
|
|
11
|
+
const nativeMethods = AppLovinMAX;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This enumeration represents content ratings for the ads shown to users.
|
|
15
|
+
*/
|
|
16
|
+
let AdContentRating = exports.AdContentRating = /*#__PURE__*/function (AdContentRating) {
|
|
17
|
+
AdContentRating[AdContentRating["NONE"] = 0] = "NONE";
|
|
18
|
+
AdContentRating[AdContentRating["ALL_AUDIENCES"] = 1] = "ALL_AUDIENCES";
|
|
19
|
+
AdContentRating[AdContentRating["EVERYONE_OVER_TWELVE"] = 2] = "EVERYONE_OVER_TWELVE";
|
|
20
|
+
AdContentRating[AdContentRating["MATURE_AUDIENCES"] = 3] = "MATURE_AUDIENCES";
|
|
21
|
+
return AdContentRating;
|
|
22
|
+
}({});
|
|
23
|
+
/**
|
|
24
|
+
* This enumeration represents gender.
|
|
25
|
+
*/
|
|
26
|
+
let UserGender = exports.UserGender = /*#__PURE__*/function (UserGender) {
|
|
27
|
+
UserGender["UNKNOWN"] = "U";
|
|
28
|
+
UserGender["FEMALE"] = "F";
|
|
29
|
+
UserGender["MALE"] = "M";
|
|
30
|
+
UserGender["OTHER"] = "O";
|
|
31
|
+
return UserGender;
|
|
32
|
+
}({});
|
|
33
|
+
/**
|
|
34
|
+
* Defines additional data for the publisher to send to AppLovin.
|
|
35
|
+
*
|
|
36
|
+
* @see {@link https://support.applovin.com/hc/en-us/articles/13964925614733-Data-and-Keyword-Passing}
|
|
37
|
+
*/
|
|
38
|
+
const TargetingData = exports.TargetingData = {
|
|
39
|
+
/**
|
|
40
|
+
* Sets the year of birth of the user. Set this to 0 to clear this value.
|
|
41
|
+
*/
|
|
42
|
+
set yearOfBirth(value) {
|
|
43
|
+
if (typeof value === 'number') {
|
|
44
|
+
nativeMethods.setTargetingDataYearOfBirth(value);
|
|
45
|
+
} else {
|
|
46
|
+
printError('TargetingData.yearOfBirth', 'number', typeof value);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* Gets the year of birth of the user.
|
|
51
|
+
*/
|
|
52
|
+
get yearOfBirth() {
|
|
53
|
+
return nativeMethods.getTargetingDataYearOfBirth();
|
|
54
|
+
},
|
|
55
|
+
/**
|
|
56
|
+
* Sets the gender of the user. Set this to {@link UserGender.Unknown} to clear this value.
|
|
57
|
+
*/
|
|
58
|
+
set gender(value) {
|
|
59
|
+
if (value === UserGender.UNKNOWN || value === UserGender.FEMALE || value === UserGender.MALE || value === UserGender.OTHER) {
|
|
60
|
+
nativeMethods.setTargetingDataGender(value);
|
|
61
|
+
} else {
|
|
62
|
+
printError('TargetingData.gender', 'UserGender', typeof value);
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Gets the gender of the user.
|
|
67
|
+
*/
|
|
68
|
+
get gender() {
|
|
69
|
+
return nativeMethods.getTargetingDataGender().then(value => {
|
|
70
|
+
return value;
|
|
71
|
+
});
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
* Sets the maximum ad content rating shown to the user. The levels are based on IQG Media
|
|
75
|
+
* Ratings: 1=All Audiences, 2=Everyone Over 12, 3=Mature Audiences.
|
|
76
|
+
* Set this to {@link AdContentRating.None} to clear this value.
|
|
77
|
+
*/
|
|
78
|
+
set maximumAdContentRating(value) {
|
|
79
|
+
if (value === AdContentRating.NONE || value === AdContentRating.ALL_AUDIENCES || value === AdContentRating.EVERYONE_OVER_TWELVE || value === AdContentRating.MATURE_AUDIENCES) {
|
|
80
|
+
nativeMethods.setTargetingDataMaximumAdContentRating(value);
|
|
81
|
+
} else {
|
|
82
|
+
printError('TargetingData.maximumAdContentRating', 'AdContentRating', typeof value);
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
/**
|
|
86
|
+
* Gets the maximum ad content rating shown to the user. The levels are based on IQG Media
|
|
87
|
+
* Ratings: 1=All Audiences, 2=Everyone Over 12, 3=Mature Audiences.
|
|
88
|
+
*/
|
|
89
|
+
get maximumAdContentRating() {
|
|
90
|
+
return nativeMethods.getTargetingDataMaximumAdContentRating().then(value => {
|
|
91
|
+
return value;
|
|
92
|
+
});
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
* Sets the email of the user. Set this to null to clear this value.
|
|
96
|
+
*/
|
|
97
|
+
set email(value) {
|
|
98
|
+
if (value === null) {
|
|
99
|
+
nativeMethods.setTargetingDataEmail(null);
|
|
100
|
+
} else if (typeof value === 'string') {
|
|
101
|
+
nativeMethods.setTargetingDataEmail(value);
|
|
102
|
+
} else {
|
|
103
|
+
printError('TargetingData.email', 'string or null', typeof value);
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* Gets the email of the user.
|
|
108
|
+
*/
|
|
109
|
+
get email() {
|
|
110
|
+
return nativeMethods.getTargetingDataEmail();
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* Sets the phone number of the user. Set this to null to clear this value.
|
|
114
|
+
*/
|
|
115
|
+
set phoneNumber(value) {
|
|
116
|
+
if (value === null) {
|
|
117
|
+
nativeMethods.setTargetingDataPhoneNumber(null);
|
|
118
|
+
} else if (typeof value === 'string') {
|
|
119
|
+
nativeMethods.setTargetingDataPhoneNumber(value);
|
|
120
|
+
} else {
|
|
121
|
+
printError('TargetingData.phoneNumber', 'string or null', typeof value);
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
/**
|
|
125
|
+
* Gets the phone number of the user.
|
|
126
|
+
*/
|
|
127
|
+
get phoneNumber() {
|
|
128
|
+
return nativeMethods.getTargetingDataPhoneNumber();
|
|
129
|
+
},
|
|
130
|
+
/**
|
|
131
|
+
* Sets the keywords describing the application. Set this to null to clear this value.
|
|
132
|
+
*/
|
|
133
|
+
set keywords(value) {
|
|
134
|
+
if (value === null) {
|
|
135
|
+
nativeMethods.setTargetingDataKeywords(null);
|
|
136
|
+
} else if (isStringArray(value)) {
|
|
137
|
+
nativeMethods.setTargetingDataKeywords(value);
|
|
138
|
+
} else {
|
|
139
|
+
printError('TargetingData.keywords', 'string[] or null', typeof value);
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
/**
|
|
143
|
+
* Gets the keywords describing the application.
|
|
144
|
+
*/
|
|
145
|
+
get keywords() {
|
|
146
|
+
return nativeMethods.getTargetingDataKeywords();
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* Sets the interests of the user. Set this to null to clear this value.
|
|
150
|
+
*/
|
|
151
|
+
set interests(value) {
|
|
152
|
+
if (value === null) {
|
|
153
|
+
nativeMethods.setTargetingDataInterests(null);
|
|
154
|
+
} else if (isStringArray(value)) {
|
|
155
|
+
nativeMethods.setTargetingDataInterests(value);
|
|
156
|
+
} else {
|
|
157
|
+
printError('TargetingData.interests', 'string[] or null', typeof value);
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* Gets the interests of the user.
|
|
162
|
+
*/
|
|
163
|
+
get interests() {
|
|
164
|
+
return nativeMethods.getTargetingDataInterests();
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* Clears all saved data from this class.
|
|
168
|
+
*/
|
|
169
|
+
clearAll() {
|
|
170
|
+
nativeMethods.clearAllTargetingData();
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
const isStringArray = strs => {
|
|
174
|
+
return Array.isArray(strs) && strs.every(value => typeof value === 'string');
|
|
175
|
+
};
|
|
176
|
+
const printError = (fieldName, correctType, wrongType) => {
|
|
177
|
+
console.error('Cannot set value to ' + fieldName + ' with unsupported type: ' + wrongType + '. Value has to be of type ' + correctType + '.');
|
|
178
|
+
};
|
|
179
|
+
//# sourceMappingURL=TargetingData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","AppLovinMAX","NativeModules","nativeMethods","AdContentRating","exports","UserGender","TargetingData","yearOfBirth","value","setTargetingDataYearOfBirth","printError","getTargetingDataYearOfBirth","gender","UNKNOWN","FEMALE","MALE","OTHER","setTargetingDataGender","getTargetingDataGender","then","maximumAdContentRating","NONE","ALL_AUDIENCES","EVERYONE_OVER_TWELVE","MATURE_AUDIENCES","setTargetingDataMaximumAdContentRating","getTargetingDataMaximumAdContentRating","email","setTargetingDataEmail","getTargetingDataEmail","phoneNumber","setTargetingDataPhoneNumber","getTargetingDataPhoneNumber","keywords","setTargetingDataKeywords","isStringArray","getTargetingDataKeywords","interests","setTargetingDataInterests","getTargetingDataInterests","clearAll","clearAllTargetingData","strs","Array","isArray","every","fieldName","correctType","wrongType","console","error"],"sourceRoot":"../../src","sources":["TargetingData.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGA,MAAM;EAAEC;AAAY,CAAC,GAAGC,0BAAa;AAoBrC,MAAMC,aAAsC,GAAGF,WAAW;;AAE1D;AACA;AACA;AAFA,IAGYG,eAAe,GAAAC,OAAA,CAAAD,eAAA,0BAAfA,eAAe;EAAfA,eAAe,CAAfA,eAAe;EAAfA,eAAe,CAAfA,eAAe;EAAfA,eAAe,CAAfA,eAAe;EAAfA,eAAe,CAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA;AAO3B;AACA;AACA;AAFA,IAGYE,UAAU,GAAAD,OAAA,CAAAC,UAAA,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAOtB;AACA;AACA;AACA;AACA;AACO,MAAMC,aAAgC,GAAAF,OAAA,CAAAE,aAAA,GAAG;EAC5C;AACJ;AACA;EACI,IAAIC,WAAWA,CAACC,KAA+B,EAAE;IAC7C,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;MAC3BN,aAAa,CAACO,2BAA2B,CAACD,KAAK,CAAC;IACpD,CAAC,MAAM;MACHE,UAAU,CAAC,2BAA2B,EAAE,QAAQ,EAAE,OAAOF,KAAK,CAAC;IACnE;EACJ,CAAC;EAED;AACJ;AACA;EACI,IAAID,WAAWA,CAAA,EAA6B;IACxC,OAAOL,aAAa,CAACS,2BAA2B,CAAC,CAAC;EACtD,CAAC;EAED;AACJ;AACA;EACI,IAAIC,MAAMA,CAACJ,KAAuC,EAAE;IAChD,IAAIA,KAAK,KAAKH,UAAU,CAACQ,OAAO,IAAIL,KAAK,KAAKH,UAAU,CAACS,MAAM,IAAIN,KAAK,KAAKH,UAAU,CAACU,IAAI,IAAIP,KAAK,KAAKH,UAAU,CAACW,KAAK,EAAE;MACxHd,aAAa,CAACe,sBAAsB,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;MAC7BN,aAAa,CAACoC,yBAAyB,CAAC9B,KAAiB,CAAC;IAC9D,CAAC,MAAM;MACHE,UAAU,CAAC,yBAAyB,EAAE,kBAAkB,EAAE,OAAOF,KAAK,CAAC;IAC3E;EACJ,CAAC;EAED;AACJ;AACA;EACI,IAAI6B,SAASA,CAAA,EAA+C;IACxD,OAAOnC,aAAa,CAACqC,yBAAyB,CAAC,CAAC;EACpD,CAAC;EAED;AACJ;AACA;EACIC,QAAQA,CAAA,EAAS;IACbtC,aAAa,CAACuC,qBAAqB,CAAC,CAAC;EACzC;AACJ,CAAC;AAED,MAAMN,aAAa,GAAIO,IAAY,IAAc;EAC7C,OAAOC,KAAK,CAACC,OAAO,CAACF,IAAI,CAAC,IAAIA,IAAI,CAACG,KAAK,CAAErC,KAAK,IAAK,OAAOA,KAAK,KAAK,QAAQ,CAAC;AAClF,CAAC;AAED,MAAME,UAAU,GAAGA,CAACoC,SAAiB,EAAEC,WAAmB,EAAEC,SAAiB,KAAK;EAC9EC,OAAO,CAACC,KAAK,CAAC,sBAAsB,GAAGJ,SAAS,GAAG,0BAA0B,GAAGE,SAAS,GAAG,6BAA6B,GAAGD,WAAW,GAAG,GAAG,CAAC;AAClJ,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
AppLovinMAX: true,
|
|
8
|
+
ConsentFlowUserGeography: true,
|
|
9
|
+
AppTrackingStatus: true,
|
|
10
|
+
CMPErrorCode: true,
|
|
11
|
+
Privacy: true,
|
|
12
|
+
TargetingData: true,
|
|
13
|
+
AdContentRating: true,
|
|
14
|
+
UserGender: true,
|
|
15
|
+
InterstitialAd: true,
|
|
16
|
+
RewardedAd: true,
|
|
17
|
+
AppOpenAd: true,
|
|
18
|
+
BannerAd: true,
|
|
19
|
+
MRecAd: true,
|
|
20
|
+
AdView: true,
|
|
21
|
+
AdFormat: true,
|
|
22
|
+
AdViewPosition: true,
|
|
23
|
+
preloadNativeUIComponentAdView: true,
|
|
24
|
+
destroyNativeUIComponentAdView: true,
|
|
25
|
+
addNativeUIComponentAdViewAdLoadFailedEventListener: true,
|
|
26
|
+
removeNativeUIComponentAdViewAdLoadedEventListener: true,
|
|
27
|
+
addNativeUIComponentAdViewAdLoadedEventListener: true,
|
|
28
|
+
removeNativeUIComponentAdViewAdLoadFailedEventListener: true,
|
|
29
|
+
NativeAdView: true,
|
|
30
|
+
TitleView: true,
|
|
31
|
+
AdvertiserView: true,
|
|
32
|
+
BodyView: true,
|
|
33
|
+
CallToActionView: true,
|
|
34
|
+
IconView: true,
|
|
35
|
+
OptionsView: true,
|
|
36
|
+
MediaView: true,
|
|
37
|
+
StarRatingView: true
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "AdContentRating", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () {
|
|
42
|
+
return _TargetingData.AdContentRating;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "AdFormat", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () {
|
|
48
|
+
return _AdView.AdFormat;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "AdView", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () {
|
|
54
|
+
return _AdView.AdView;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "AdViewPosition", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return _AdView.AdViewPosition;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "AdvertiserView", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () {
|
|
66
|
+
return _NativeAdViewComponents.AdvertiserView;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "AppLovinMAX", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () {
|
|
72
|
+
return _AppLovinMAX.AppLovinMAX;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "AppOpenAd", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () {
|
|
78
|
+
return _AppOpenAd.AppOpenAd;
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "AppTrackingStatus", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () {
|
|
84
|
+
return _AppLovinMAX.AppTrackingStatus;
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(exports, "BannerAd", {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function () {
|
|
90
|
+
return _BannerAd.BannerAd;
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "BodyView", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () {
|
|
96
|
+
return _NativeAdViewComponents.BodyView;
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "CMPErrorCode", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () {
|
|
102
|
+
return _AppLovinMAX.CMPErrorCode;
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "CallToActionView", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () {
|
|
108
|
+
return _NativeAdViewComponents.CallToActionView;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, "ConsentFlowUserGeography", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () {
|
|
114
|
+
return _AppLovinMAX.ConsentFlowUserGeography;
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "IconView", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () {
|
|
120
|
+
return _NativeAdViewComponents.IconView;
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "InterstitialAd", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () {
|
|
126
|
+
return _InterstitialAd.InterstitialAd;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "MRecAd", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () {
|
|
132
|
+
return _MRecAd.MRecAd;
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "MediaView", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () {
|
|
138
|
+
return _NativeAdViewComponents.MediaView;
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "NativeAdView", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () {
|
|
144
|
+
return _NativeAdView.NativeAdView;
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "OptionsView", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () {
|
|
150
|
+
return _NativeAdViewComponents.OptionsView;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "Privacy", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () {
|
|
156
|
+
return _Privacy.Privacy;
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "RewardedAd", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () {
|
|
162
|
+
return _RewardedAd.RewardedAd;
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "StarRatingView", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () {
|
|
168
|
+
return _NativeAdViewComponents.StarRatingView;
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "TargetingData", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () {
|
|
174
|
+
return _TargetingData.TargetingData;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "TitleView", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () {
|
|
180
|
+
return _NativeAdViewComponents.TitleView;
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, "UserGender", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () {
|
|
186
|
+
return _TargetingData.UserGender;
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "addNativeUIComponentAdViewAdLoadFailedEventListener", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () {
|
|
192
|
+
return _AdView.addNativeUIComponentAdViewAdLoadFailedEventListener;
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(exports, "addNativeUIComponentAdViewAdLoadedEventListener", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function () {
|
|
198
|
+
return _AdView.addNativeUIComponentAdViewAdLoadedEventListener;
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "default", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () {
|
|
204
|
+
return _AppLovinMAX.default;
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, "destroyNativeUIComponentAdView", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () {
|
|
210
|
+
return _AdView.destroyNativeUIComponentAdView;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "preloadNativeUIComponentAdView", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () {
|
|
216
|
+
return _AdView.preloadNativeUIComponentAdView;
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(exports, "removeNativeUIComponentAdViewAdLoadFailedEventListener", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () {
|
|
222
|
+
return _AdView.removeNativeUIComponentAdViewAdLoadFailedEventListener;
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(exports, "removeNativeUIComponentAdViewAdLoadedEventListener", {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function () {
|
|
228
|
+
return _AdView.removeNativeUIComponentAdViewAdLoadedEventListener;
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
var _AppLovinMAX = _interopRequireWildcard(require("./AppLovinMAX"));
|
|
232
|
+
var _Privacy = require("./Privacy");
|
|
233
|
+
var _TargetingData = require("./TargetingData");
|
|
234
|
+
var _InterstitialAd = require("./InterstitialAd");
|
|
235
|
+
var _RewardedAd = require("./RewardedAd");
|
|
236
|
+
var _AppOpenAd = require("./AppOpenAd");
|
|
237
|
+
var _BannerAd = require("./BannerAd");
|
|
238
|
+
var _MRecAd = require("./MRecAd");
|
|
239
|
+
var _AdView = require("./AdView");
|
|
240
|
+
var _NativeAdView = require("./nativeAd/NativeAdView");
|
|
241
|
+
var _NativeAdViewComponents = require("./nativeAd/NativeAdViewComponents");
|
|
242
|
+
var _types = require("./types");
|
|
243
|
+
Object.keys(_types).forEach(function (key) {
|
|
244
|
+
if (key === "default" || key === "__esModule") return;
|
|
245
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
246
|
+
if (key in exports && exports[key] === _types[key]) return;
|
|
247
|
+
Object.defineProperty(exports, key, {
|
|
248
|
+
enumerable: true,
|
|
249
|
+
get: function () {
|
|
250
|
+
return _types[key];
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
255
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
256
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_AppLovinMAX","_interopRequireWildcard","require","_Privacy","_TargetingData","_InterstitialAd","_RewardedAd","_AppOpenAd","_BannerAd","_MRecAd","_AdView","_NativeAdView","_NativeAdViewComponents","_types","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","n","__proto__","a","getOwnPropertyDescriptor","u","i","set"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA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AAAH,CAAA,GAAAtB,MAAA,CAAAuB,wBAAA,CAAAV,CAAA,EAAAW,CAAA,UAAAC,CAAA,KAAAA,CAAA,CAAAd,GAAA,IAAAc,CAAA,CAAAC,GAAA,IAAA1B,MAAA,CAAAS,cAAA,CAAAW,CAAA,EAAAI,CAAA,EAAAC,CAAA,IAAAL,CAAA,CAAAI,CAAA,IAAAX,CAAA,CAAAW,CAAA,YAAAJ,CAAA,CAAAF,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAU,GAAA,CAAAb,CAAA,EAAAO,CAAA,GAAAA,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.NativeAdView = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var React = _react;
|
|
9
|
+
var _reactNative = require("react-native");
|
|
10
|
+
var _NativeAdViewProvider = require("./NativeAdViewProvider");
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
14
|
+
const {
|
|
15
|
+
AppLovinMAX
|
|
16
|
+
} = _reactNative.NativeModules;
|
|
17
|
+
const NativeAdViewComponent = (0, _reactNative.requireNativeComponent)('AppLovinMAXNativeAdView');
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The {@link NativeAdView} component that you use building a native ad. This loads a native ad and
|
|
21
|
+
* renders it with the asset views:
|
|
22
|
+
*
|
|
23
|
+
* - {@link IconView}
|
|
24
|
+
* - {@link TitleView}
|
|
25
|
+
* - {@link AdvertiserView}
|
|
26
|
+
* - {@link StarRatingView}
|
|
27
|
+
* - {@link BodyView}
|
|
28
|
+
* - {@link MediaView}
|
|
29
|
+
* - {@link CallToActionView}
|
|
30
|
+
*
|
|
31
|
+
* {@link NativeAdView} fills each asset view with the data of a native ad as soon as it loads the native
|
|
32
|
+
* ad, but you need to provide the layout and style of the asset views.
|
|
33
|
+
* {@link NativeAdView} can reload a new native ad by using the ref handler.
|
|
34
|
+
*
|
|
35
|
+
* ### Example:
|
|
36
|
+
* ```js
|
|
37
|
+
* <NativeAdView
|
|
38
|
+
* ref={nativeAdViewHandler}
|
|
39
|
+
* adUnitId={adUnitId}
|
|
40
|
+
* style={styles.nativead}
|
|
41
|
+
* onAdLoaded={(adInfo: AdInfo) => { ... }}
|
|
42
|
+
* >
|
|
43
|
+
* <View style={ ... }>
|
|
44
|
+
* <IconView style={styles.icon} />
|
|
45
|
+
* <TitleView style={styles.title} />
|
|
46
|
+
* <AdvertiserView style={styles.advertiser} />
|
|
47
|
+
* <StarRatingView style={styles.starRatingView} />
|
|
48
|
+
* <OptionsView style={styles.optionsView} />
|
|
49
|
+
* <BodyView style={styles.body} />
|
|
50
|
+
* <MediaView style={styles.mediaView} />
|
|
51
|
+
* <CallToActionView style={styles.callToAction} />
|
|
52
|
+
* </View>
|
|
53
|
+
* </NativeAdView>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
const NativeAdView = exports.NativeAdView = /*#__PURE__*/(0, _react.forwardRef)(function NativeAdView(props, ref) {
|
|
57
|
+
const [isInitialized, setIsInitialized] = (0, _react.useState)(false);
|
|
58
|
+
(0, _react.useEffect)(() => {
|
|
59
|
+
// check that AppLovinMAX has been initialized
|
|
60
|
+
AppLovinMAX.isInitialized().then(result => {
|
|
61
|
+
setIsInitialized(result);
|
|
62
|
+
if (!result) {
|
|
63
|
+
console.warn('NativeAdView is mounted before the initialization of the AppLovin MAX React Native module');
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}, []);
|
|
67
|
+
|
|
68
|
+
// Not ready to render NativeAdView
|
|
69
|
+
if (!isInitialized) {
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
return /*#__PURE__*/React.createElement(_NativeAdViewProvider.NativeAdViewProvider, null, /*#__PURE__*/React.createElement(NativeAdViewImpl, _extends({}, props, {
|
|
73
|
+
ref: ref
|
|
74
|
+
})));
|
|
75
|
+
});
|
|
76
|
+
const NativeAdViewImpl = /*#__PURE__*/(0, _react.forwardRef)(function NativeAdViewImpl({
|
|
77
|
+
adUnitId,
|
|
78
|
+
placement,
|
|
79
|
+
customData,
|
|
80
|
+
extraParameters,
|
|
81
|
+
localExtraParameters,
|
|
82
|
+
onAdLoaded,
|
|
83
|
+
onAdLoadFailed,
|
|
84
|
+
onAdClicked,
|
|
85
|
+
onAdRevenuePaid,
|
|
86
|
+
children,
|
|
87
|
+
style,
|
|
88
|
+
...otherProps
|
|
89
|
+
}, ref) {
|
|
90
|
+
// context from NativeAdViewProvider
|
|
91
|
+
const {
|
|
92
|
+
setNativeAd,
|
|
93
|
+
setNativeAdView
|
|
94
|
+
} = (0, _react.useContext)(_NativeAdViewProvider.NativeAdViewContext);
|
|
95
|
+
|
|
96
|
+
// keep the nativeAdView ref
|
|
97
|
+
const nativeAdViewRef = (0, _react.useRef)(null);
|
|
98
|
+
|
|
99
|
+
// invoke the native ad loader
|
|
100
|
+
const loadAd = () => {
|
|
101
|
+
if (nativeAdViewRef) {
|
|
102
|
+
_reactNative.UIManager.dispatchViewManagerCommand((0, _reactNative.findNodeHandle)(nativeAdViewRef.current),
|
|
103
|
+
// @ts-ignore: Issue in RN ts defs
|
|
104
|
+
_reactNative.UIManager.getViewManagerConfig('AppLovinMAXNativeAdView').Commands.loadAd, undefined);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// expose a list of functions via the provided ref
|
|
109
|
+
(0, _react.useImperativeHandle)(ref, () => ({
|
|
110
|
+
loadAd
|
|
111
|
+
}), []);
|
|
112
|
+
|
|
113
|
+
// save the DOM element via the ref callback
|
|
114
|
+
const saveElement = (0, _react.useCallback)(element => {
|
|
115
|
+
if (element) {
|
|
116
|
+
nativeAdViewRef.current = element;
|
|
117
|
+
setNativeAdView(element);
|
|
118
|
+
}
|
|
119
|
+
}, [setNativeAdView]);
|
|
120
|
+
const onAdLoadedEvent = event => {
|
|
121
|
+
setNativeAd(event.nativeEvent.nativeAd);
|
|
122
|
+
if (onAdLoaded) onAdLoaded(event.nativeEvent.adInfo);
|
|
123
|
+
};
|
|
124
|
+
const onAdLoadFailedEvent = event => {
|
|
125
|
+
if (onAdLoadFailed) onAdLoadFailed(event.nativeEvent);
|
|
126
|
+
};
|
|
127
|
+
const onAdClickedEvent = event => {
|
|
128
|
+
if (onAdClicked) onAdClicked(event.nativeEvent);
|
|
129
|
+
};
|
|
130
|
+
const onAdRevenuePaidEvent = event => {
|
|
131
|
+
if (onAdRevenuePaid) onAdRevenuePaid(event.nativeEvent);
|
|
132
|
+
};
|
|
133
|
+
return /*#__PURE__*/React.createElement(NativeAdViewComponent, _extends({
|
|
134
|
+
ref: saveElement,
|
|
135
|
+
adUnitId: adUnitId,
|
|
136
|
+
placement: placement,
|
|
137
|
+
customData: customData,
|
|
138
|
+
extraParameters: extraParameters,
|
|
139
|
+
localExtraParameters: localExtraParameters,
|
|
140
|
+
onAdLoadedEvent: onAdLoadedEvent,
|
|
141
|
+
onAdLoadFailedEvent: onAdLoadFailedEvent,
|
|
142
|
+
onAdClickedEvent: onAdClickedEvent,
|
|
143
|
+
onAdRevenuePaidEvent: onAdRevenuePaidEvent,
|
|
144
|
+
style: style
|
|
145
|
+
}, otherProps), children);
|
|
146
|
+
});
|
|
147
|
+
//# sourceMappingURL=NativeAdView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","React","_reactNative","_NativeAdViewProvider","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","AppLovinMAX","NativeModules","NativeAdViewComponent","requireNativeComponent","NativeAdView","exports","forwardRef","props","ref","isInitialized","setIsInitialized","useState","useEffect","then","result","console","warn","createElement","NativeAdViewProvider","NativeAdViewImpl","adUnitId","placement","customData","extraParameters","localExtraParameters","onAdLoaded","onAdLoadFailed","onAdClicked","onAdRevenuePaid","children","style","otherProps","setNativeAd","setNativeAdView","useContext","NativeAdViewContext","nativeAdViewRef","useRef","loadAd","UIManager","dispatchViewManagerCommand","findNodeHandle","current","getViewManagerConfig","Commands","undefined","useImperativeHandle","saveElement","useCallback","element","onAdLoadedEvent","event","nativeEvent","nativeAd","adInfo","onAdLoadFailedEvent","onAdClickedEvent","onAdRevenuePaidEvent"],"sourceRoot":"../../../src","sources":["nativeAd/NativeAdView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA+B,IAAAC,KAAA,GAAAH,MAAA;AAE/B,IAAAI,YAAA,GAAAF,OAAA;AAEA,IAAAG,qBAAA,GAAAH,OAAA;AAAmF,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CA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