react-native-applovin-max 4.1.5 → 4.1.7
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/AppLovinMAXModule.java +0 -20
- package/ios/AppLovinMAX.m +1 -43
- package/ios/Podfile +1 -1
- package/ios/Podfile.lock +182 -182
- package/package.json +1 -1
- package/react-native-applovin-max.podspec +2 -2
- package/src/index.js +2 -11
package/android/build.gradle
CHANGED
|
@@ -41,8 +41,8 @@ android {
|
|
|
41
41
|
defaultConfig {
|
|
42
42
|
minSdkVersion 16
|
|
43
43
|
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
|
|
44
|
-
versionCode
|
|
45
|
-
versionName "4.1.
|
|
44
|
+
versionCode 4010700
|
|
45
|
+
versionName "4.1.7"
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
flavorDimensions("default")
|
|
@@ -150,5 +150,5 @@ dependencies {
|
|
|
150
150
|
|
|
151
151
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
152
152
|
|
|
153
|
-
implementation 'com.applovin:applovin-sdk:11.
|
|
153
|
+
implementation 'com.applovin:applovin-sdk:11.8.0'
|
|
154
154
|
}
|
|
@@ -43,7 +43,6 @@ import com.applovin.sdk.AppLovinSdk;
|
|
|
43
43
|
import com.applovin.sdk.AppLovinSdkConfiguration;
|
|
44
44
|
import com.applovin.sdk.AppLovinSdkSettings;
|
|
45
45
|
import com.applovin.sdk.AppLovinSdkUtils;
|
|
46
|
-
import com.applovin.sdk.AppLovinUserService;
|
|
47
46
|
import com.facebook.react.bridge.Arguments;
|
|
48
47
|
import com.facebook.react.bridge.Callback;
|
|
49
48
|
import com.facebook.react.bridge.LifecycleEventListener;
|
|
@@ -382,25 +381,6 @@ public class AppLovinMAXModule
|
|
|
382
381
|
sdk.showMediationDebugger();
|
|
383
382
|
}
|
|
384
383
|
|
|
385
|
-
@ReactMethod()
|
|
386
|
-
public void showConsentDialog(final Callback callback)
|
|
387
|
-
{
|
|
388
|
-
if ( sdk == null )
|
|
389
|
-
{
|
|
390
|
-
logUninitializedAccessError( "showConsentDialog" );
|
|
391
|
-
return;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
sdk.getUserService().showConsentDialog( maybeGetCurrentActivity(), new AppLovinUserService.OnConsentDialogDismissListener()
|
|
395
|
-
{
|
|
396
|
-
@Override
|
|
397
|
-
public void onDismiss()
|
|
398
|
-
{
|
|
399
|
-
callback.invoke();
|
|
400
|
-
}
|
|
401
|
-
} );
|
|
402
|
-
}
|
|
403
|
-
|
|
404
384
|
@ReactMethod(isBlockingSynchronousMethod = true)
|
|
405
385
|
public int getConsentDialogState()
|
|
406
386
|
{
|
package/ios/AppLovinMAX.m
CHANGED
|
@@ -44,10 +44,6 @@
|
|
|
44
44
|
@property (nonatomic, strong, nullable) NSNumber *locationCollectionEnabledToSet;
|
|
45
45
|
@property (nonatomic, strong) NSMutableDictionary<NSString *, NSString *> *extraParametersToSet;
|
|
46
46
|
|
|
47
|
-
@property (nonatomic, strong, nullable) NSNumber *consentFlowEnabledToSet;
|
|
48
|
-
@property (nonatomic, strong, nullable) NSURL *privacyPolicyURLToSet;
|
|
49
|
-
@property (nonatomic, strong, nullable) NSURL *termsOfServiceURLToSet;
|
|
50
|
-
|
|
51
47
|
@property (nonatomic, strong, nullable) NSNumber *targetingYearOfBirthToSet;
|
|
52
48
|
@property (nonatomic, copy, nullable) NSString *targetingGenderToSet;
|
|
53
49
|
@property (nonatomic, strong, nullable) NSNumber *targetingMaximumAdContentRatingToSet;
|
|
@@ -162,17 +158,8 @@ RCT_EXPORT_METHOD(initialize:(NSString *)pluginVersion :(NSString *)sdkKey :(RCT
|
|
|
162
158
|
}
|
|
163
159
|
}
|
|
164
160
|
|
|
165
|
-
ALSdkSettings *settings = [[ALSdkSettings alloc] init];
|
|
166
|
-
settings.consentFlowSettings.enabled = self.consentFlowEnabledToSet.boolValue;
|
|
167
|
-
settings.consentFlowSettings.privacyPolicyURL = self.privacyPolicyURLToSet;
|
|
168
|
-
settings.consentFlowSettings.termsOfServiceURL = self.termsOfServiceURLToSet;
|
|
169
|
-
|
|
170
|
-
self.consentFlowEnabledToSet = nil;
|
|
171
|
-
self.privacyPolicyURLToSet = nil;
|
|
172
|
-
self.termsOfServiceURLToSet = nil;
|
|
173
|
-
|
|
174
161
|
// Initialize SDK
|
|
175
|
-
self.sdk = [ALSdk sharedWithKey: sdkKey
|
|
162
|
+
self.sdk = [ALSdk sharedWithKey: sdkKey];
|
|
176
163
|
[self.sdk setPluginVersion: [@"React-Native-" stringByAppendingString: pluginVersion]];
|
|
177
164
|
[self.sdk setMediationProvider: ALMediationProviderMAX];
|
|
178
165
|
|
|
@@ -285,20 +272,6 @@ RCT_EXPORT_METHOD(showMediationDebugger)
|
|
|
285
272
|
[self.sdk showMediationDebugger];
|
|
286
273
|
}
|
|
287
274
|
|
|
288
|
-
RCT_EXPORT_METHOD(showConsentDialog:(RCTResponseSenderBlock)callback)
|
|
289
|
-
{
|
|
290
|
-
[self log: @"Failed to show consent dialog - Unavailable on iOS, please use the consent flow: https://dash.applovin.com/documentation/mediation/react-native/getting-started/consent-flow"];
|
|
291
|
-
|
|
292
|
-
callback(nil);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getConsentDialogState)
|
|
296
|
-
{
|
|
297
|
-
if ( ![self isInitialized] ) return @(ALConsentDialogStateUnknown);
|
|
298
|
-
|
|
299
|
-
return @(self.sdkConfiguration.consentDialogState);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
275
|
RCT_EXPORT_METHOD(setHasUserConsent:(BOOL)hasUserConsent)
|
|
303
276
|
{
|
|
304
277
|
[ALPrivacySettings setHasUserConsent: hasUserConsent];
|
|
@@ -415,21 +388,6 @@ RCT_EXPORT_METHOD(setExtraParameter:(NSString *)key :(nullable NSString *)value)
|
|
|
415
388
|
}
|
|
416
389
|
}
|
|
417
390
|
|
|
418
|
-
RCT_EXPORT_METHOD(setConsentFlowEnabled:(BOOL)enabled)
|
|
419
|
-
{
|
|
420
|
-
self.consentFlowEnabledToSet = @(enabled);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
RCT_EXPORT_METHOD(setPrivacyPolicyUrl:(NSString *)urlString)
|
|
424
|
-
{
|
|
425
|
-
self.privacyPolicyURLToSet = [NSURL URLWithString: urlString];
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
RCT_EXPORT_METHOD(setTermsOfServiceUrl:(NSString *)urlString)
|
|
429
|
-
{
|
|
430
|
-
self.termsOfServiceURLToSet = [NSURL URLWithString: urlString];
|
|
431
|
-
}
|
|
432
|
-
|
|
433
391
|
#pragma mark - Data Passing
|
|
434
392
|
|
|
435
393
|
RCT_EXPORT_METHOD(setTargetingDataYearOfBirth:(nonnull NSNumber *)yearOfBirth)
|
package/ios/Podfile
CHANGED
|
@@ -35,6 +35,6 @@ target 'AppLovinMAX' do
|
|
|
35
35
|
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
|
36
36
|
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
|
37
37
|
|
|
38
|
-
pod 'AppLovinSDK', '11.
|
|
38
|
+
pod 'AppLovinSDK', '11.8.0'
|
|
39
39
|
|
|
40
40
|
end
|
package/ios/Podfile.lock
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
PODS:
|
|
2
|
-
- AppLovinSDK (11.
|
|
2
|
+
- AppLovinSDK (11.8.0)
|
|
3
3
|
- boost-for-react-native (1.63.0)
|
|
4
4
|
- DoubleConversion (1.1.6)
|
|
5
|
-
- FBLazyVector (0.63.
|
|
6
|
-
- FBReactNativeSpec (0.63.
|
|
5
|
+
- FBLazyVector (0.63.5)
|
|
6
|
+
- FBReactNativeSpec (0.63.5):
|
|
7
7
|
- Folly (= 2020.01.13.00)
|
|
8
|
-
- RCTRequired (= 0.63.
|
|
9
|
-
- RCTTypeSafety (= 0.63.
|
|
10
|
-
- React-Core (= 0.63.
|
|
11
|
-
- React-jsi (= 0.63.
|
|
12
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
8
|
+
- RCTRequired (= 0.63.5)
|
|
9
|
+
- RCTTypeSafety (= 0.63.5)
|
|
10
|
+
- React-Core (= 0.63.5)
|
|
11
|
+
- React-jsi (= 0.63.5)
|
|
12
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
13
13
|
- Folly (2020.01.13.00):
|
|
14
14
|
- boost-for-react-native
|
|
15
15
|
- DoubleConversion
|
|
@@ -20,236 +20,236 @@ PODS:
|
|
|
20
20
|
- DoubleConversion
|
|
21
21
|
- glog
|
|
22
22
|
- glog (0.3.5)
|
|
23
|
-
- RCTRequired (0.63.
|
|
24
|
-
- RCTTypeSafety (0.63.
|
|
25
|
-
- FBLazyVector (= 0.63.
|
|
23
|
+
- RCTRequired (0.63.5)
|
|
24
|
+
- RCTTypeSafety (0.63.5):
|
|
25
|
+
- FBLazyVector (= 0.63.5)
|
|
26
26
|
- Folly (= 2020.01.13.00)
|
|
27
|
-
- RCTRequired (= 0.63.
|
|
28
|
-
- React-Core (= 0.63.
|
|
29
|
-
- React (0.63.
|
|
30
|
-
- React-Core (= 0.63.
|
|
31
|
-
- React-Core/DevSupport (= 0.63.
|
|
32
|
-
- React-Core/RCTWebSocket (= 0.63.
|
|
33
|
-
- React-RCTActionSheet (= 0.63.
|
|
34
|
-
- React-RCTAnimation (= 0.63.
|
|
35
|
-
- React-RCTBlob (= 0.63.
|
|
36
|
-
- React-RCTImage (= 0.63.
|
|
37
|
-
- React-RCTLinking (= 0.63.
|
|
38
|
-
- React-RCTNetwork (= 0.63.
|
|
39
|
-
- React-RCTSettings (= 0.63.
|
|
40
|
-
- React-RCTText (= 0.63.
|
|
41
|
-
- React-RCTVibration (= 0.63.
|
|
42
|
-
- React-callinvoker (0.63.
|
|
43
|
-
- React-Core (0.63.
|
|
27
|
+
- RCTRequired (= 0.63.5)
|
|
28
|
+
- React-Core (= 0.63.5)
|
|
29
|
+
- React (0.63.5):
|
|
30
|
+
- React-Core (= 0.63.5)
|
|
31
|
+
- React-Core/DevSupport (= 0.63.5)
|
|
32
|
+
- React-Core/RCTWebSocket (= 0.63.5)
|
|
33
|
+
- React-RCTActionSheet (= 0.63.5)
|
|
34
|
+
- React-RCTAnimation (= 0.63.5)
|
|
35
|
+
- React-RCTBlob (= 0.63.5)
|
|
36
|
+
- React-RCTImage (= 0.63.5)
|
|
37
|
+
- React-RCTLinking (= 0.63.5)
|
|
38
|
+
- React-RCTNetwork (= 0.63.5)
|
|
39
|
+
- React-RCTSettings (= 0.63.5)
|
|
40
|
+
- React-RCTText (= 0.63.5)
|
|
41
|
+
- React-RCTVibration (= 0.63.5)
|
|
42
|
+
- React-callinvoker (0.63.5)
|
|
43
|
+
- React-Core (0.63.5):
|
|
44
44
|
- Folly (= 2020.01.13.00)
|
|
45
45
|
- glog
|
|
46
|
-
- React-Core/Default (= 0.63.
|
|
47
|
-
- React-cxxreact (= 0.63.
|
|
48
|
-
- React-jsi (= 0.63.
|
|
49
|
-
- React-jsiexecutor (= 0.63.
|
|
46
|
+
- React-Core/Default (= 0.63.5)
|
|
47
|
+
- React-cxxreact (= 0.63.5)
|
|
48
|
+
- React-jsi (= 0.63.5)
|
|
49
|
+
- React-jsiexecutor (= 0.63.5)
|
|
50
50
|
- Yoga
|
|
51
|
-
- React-Core/CoreModulesHeaders (0.63.
|
|
51
|
+
- React-Core/CoreModulesHeaders (0.63.5):
|
|
52
52
|
- Folly (= 2020.01.13.00)
|
|
53
53
|
- glog
|
|
54
54
|
- React-Core/Default
|
|
55
|
-
- React-cxxreact (= 0.63.
|
|
56
|
-
- React-jsi (= 0.63.
|
|
57
|
-
- React-jsiexecutor (= 0.63.
|
|
55
|
+
- React-cxxreact (= 0.63.5)
|
|
56
|
+
- React-jsi (= 0.63.5)
|
|
57
|
+
- React-jsiexecutor (= 0.63.5)
|
|
58
58
|
- Yoga
|
|
59
|
-
- React-Core/Default (0.63.
|
|
59
|
+
- React-Core/Default (0.63.5):
|
|
60
60
|
- Folly (= 2020.01.13.00)
|
|
61
61
|
- glog
|
|
62
|
-
- React-cxxreact (= 0.63.
|
|
63
|
-
- React-jsi (= 0.63.
|
|
64
|
-
- React-jsiexecutor (= 0.63.
|
|
62
|
+
- React-cxxreact (= 0.63.5)
|
|
63
|
+
- React-jsi (= 0.63.5)
|
|
64
|
+
- React-jsiexecutor (= 0.63.5)
|
|
65
65
|
- Yoga
|
|
66
|
-
- React-Core/DevSupport (0.63.
|
|
66
|
+
- React-Core/DevSupport (0.63.5):
|
|
67
67
|
- Folly (= 2020.01.13.00)
|
|
68
68
|
- glog
|
|
69
|
-
- React-Core/Default (= 0.63.
|
|
70
|
-
- React-Core/RCTWebSocket (= 0.63.
|
|
71
|
-
- React-cxxreact (= 0.63.
|
|
72
|
-
- React-jsi (= 0.63.
|
|
73
|
-
- React-jsiexecutor (= 0.63.
|
|
74
|
-
- React-jsinspector (= 0.63.
|
|
69
|
+
- React-Core/Default (= 0.63.5)
|
|
70
|
+
- React-Core/RCTWebSocket (= 0.63.5)
|
|
71
|
+
- React-cxxreact (= 0.63.5)
|
|
72
|
+
- React-jsi (= 0.63.5)
|
|
73
|
+
- React-jsiexecutor (= 0.63.5)
|
|
74
|
+
- React-jsinspector (= 0.63.5)
|
|
75
75
|
- Yoga
|
|
76
|
-
- React-Core/RCTActionSheetHeaders (0.63.
|
|
76
|
+
- React-Core/RCTActionSheetHeaders (0.63.5):
|
|
77
77
|
- Folly (= 2020.01.13.00)
|
|
78
78
|
- glog
|
|
79
79
|
- React-Core/Default
|
|
80
|
-
- React-cxxreact (= 0.63.
|
|
81
|
-
- React-jsi (= 0.63.
|
|
82
|
-
- React-jsiexecutor (= 0.63.
|
|
80
|
+
- React-cxxreact (= 0.63.5)
|
|
81
|
+
- React-jsi (= 0.63.5)
|
|
82
|
+
- React-jsiexecutor (= 0.63.5)
|
|
83
83
|
- Yoga
|
|
84
|
-
- React-Core/RCTAnimationHeaders (0.63.
|
|
84
|
+
- React-Core/RCTAnimationHeaders (0.63.5):
|
|
85
85
|
- Folly (= 2020.01.13.00)
|
|
86
86
|
- glog
|
|
87
87
|
- React-Core/Default
|
|
88
|
-
- React-cxxreact (= 0.63.
|
|
89
|
-
- React-jsi (= 0.63.
|
|
90
|
-
- React-jsiexecutor (= 0.63.
|
|
88
|
+
- React-cxxreact (= 0.63.5)
|
|
89
|
+
- React-jsi (= 0.63.5)
|
|
90
|
+
- React-jsiexecutor (= 0.63.5)
|
|
91
91
|
- Yoga
|
|
92
|
-
- React-Core/RCTBlobHeaders (0.63.
|
|
92
|
+
- React-Core/RCTBlobHeaders (0.63.5):
|
|
93
93
|
- Folly (= 2020.01.13.00)
|
|
94
94
|
- glog
|
|
95
95
|
- React-Core/Default
|
|
96
|
-
- React-cxxreact (= 0.63.
|
|
97
|
-
- React-jsi (= 0.63.
|
|
98
|
-
- React-jsiexecutor (= 0.63.
|
|
96
|
+
- React-cxxreact (= 0.63.5)
|
|
97
|
+
- React-jsi (= 0.63.5)
|
|
98
|
+
- React-jsiexecutor (= 0.63.5)
|
|
99
99
|
- Yoga
|
|
100
|
-
- React-Core/RCTImageHeaders (0.63.
|
|
100
|
+
- React-Core/RCTImageHeaders (0.63.5):
|
|
101
101
|
- Folly (= 2020.01.13.00)
|
|
102
102
|
- glog
|
|
103
103
|
- React-Core/Default
|
|
104
|
-
- React-cxxreact (= 0.63.
|
|
105
|
-
- React-jsi (= 0.63.
|
|
106
|
-
- React-jsiexecutor (= 0.63.
|
|
104
|
+
- React-cxxreact (= 0.63.5)
|
|
105
|
+
- React-jsi (= 0.63.5)
|
|
106
|
+
- React-jsiexecutor (= 0.63.5)
|
|
107
107
|
- Yoga
|
|
108
|
-
- React-Core/RCTLinkingHeaders (0.63.
|
|
108
|
+
- React-Core/RCTLinkingHeaders (0.63.5):
|
|
109
109
|
- Folly (= 2020.01.13.00)
|
|
110
110
|
- glog
|
|
111
111
|
- React-Core/Default
|
|
112
|
-
- React-cxxreact (= 0.63.
|
|
113
|
-
- React-jsi (= 0.63.
|
|
114
|
-
- React-jsiexecutor (= 0.63.
|
|
112
|
+
- React-cxxreact (= 0.63.5)
|
|
113
|
+
- React-jsi (= 0.63.5)
|
|
114
|
+
- React-jsiexecutor (= 0.63.5)
|
|
115
115
|
- Yoga
|
|
116
|
-
- React-Core/RCTNetworkHeaders (0.63.
|
|
116
|
+
- React-Core/RCTNetworkHeaders (0.63.5):
|
|
117
117
|
- Folly (= 2020.01.13.00)
|
|
118
118
|
- glog
|
|
119
119
|
- React-Core/Default
|
|
120
|
-
- React-cxxreact (= 0.63.
|
|
121
|
-
- React-jsi (= 0.63.
|
|
122
|
-
- React-jsiexecutor (= 0.63.
|
|
120
|
+
- React-cxxreact (= 0.63.5)
|
|
121
|
+
- React-jsi (= 0.63.5)
|
|
122
|
+
- React-jsiexecutor (= 0.63.5)
|
|
123
123
|
- Yoga
|
|
124
|
-
- React-Core/RCTSettingsHeaders (0.63.
|
|
124
|
+
- React-Core/RCTSettingsHeaders (0.63.5):
|
|
125
125
|
- Folly (= 2020.01.13.00)
|
|
126
126
|
- glog
|
|
127
127
|
- React-Core/Default
|
|
128
|
-
- React-cxxreact (= 0.63.
|
|
129
|
-
- React-jsi (= 0.63.
|
|
130
|
-
- React-jsiexecutor (= 0.63.
|
|
128
|
+
- React-cxxreact (= 0.63.5)
|
|
129
|
+
- React-jsi (= 0.63.5)
|
|
130
|
+
- React-jsiexecutor (= 0.63.5)
|
|
131
131
|
- Yoga
|
|
132
|
-
- React-Core/RCTTextHeaders (0.63.
|
|
132
|
+
- React-Core/RCTTextHeaders (0.63.5):
|
|
133
133
|
- Folly (= 2020.01.13.00)
|
|
134
134
|
- glog
|
|
135
135
|
- React-Core/Default
|
|
136
|
-
- React-cxxreact (= 0.63.
|
|
137
|
-
- React-jsi (= 0.63.
|
|
138
|
-
- React-jsiexecutor (= 0.63.
|
|
136
|
+
- React-cxxreact (= 0.63.5)
|
|
137
|
+
- React-jsi (= 0.63.5)
|
|
138
|
+
- React-jsiexecutor (= 0.63.5)
|
|
139
139
|
- Yoga
|
|
140
|
-
- React-Core/RCTVibrationHeaders (0.63.
|
|
140
|
+
- React-Core/RCTVibrationHeaders (0.63.5):
|
|
141
141
|
- Folly (= 2020.01.13.00)
|
|
142
142
|
- glog
|
|
143
143
|
- React-Core/Default
|
|
144
|
-
- React-cxxreact (= 0.63.
|
|
145
|
-
- React-jsi (= 0.63.
|
|
146
|
-
- React-jsiexecutor (= 0.63.
|
|
144
|
+
- React-cxxreact (= 0.63.5)
|
|
145
|
+
- React-jsi (= 0.63.5)
|
|
146
|
+
- React-jsiexecutor (= 0.63.5)
|
|
147
147
|
- Yoga
|
|
148
|
-
- React-Core/RCTWebSocket (0.63.
|
|
148
|
+
- React-Core/RCTWebSocket (0.63.5):
|
|
149
149
|
- Folly (= 2020.01.13.00)
|
|
150
150
|
- glog
|
|
151
|
-
- React-Core/Default (= 0.63.
|
|
152
|
-
- React-cxxreact (= 0.63.
|
|
153
|
-
- React-jsi (= 0.63.
|
|
154
|
-
- React-jsiexecutor (= 0.63.
|
|
151
|
+
- React-Core/Default (= 0.63.5)
|
|
152
|
+
- React-cxxreact (= 0.63.5)
|
|
153
|
+
- React-jsi (= 0.63.5)
|
|
154
|
+
- React-jsiexecutor (= 0.63.5)
|
|
155
155
|
- Yoga
|
|
156
|
-
- React-CoreModules (0.63.
|
|
157
|
-
- FBReactNativeSpec (= 0.63.
|
|
156
|
+
- React-CoreModules (0.63.5):
|
|
157
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
158
158
|
- Folly (= 2020.01.13.00)
|
|
159
|
-
- RCTTypeSafety (= 0.63.
|
|
160
|
-
- React-Core/CoreModulesHeaders (= 0.63.
|
|
161
|
-
- React-jsi (= 0.63.
|
|
162
|
-
- React-RCTImage (= 0.63.
|
|
163
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
164
|
-
- React-cxxreact (0.63.
|
|
159
|
+
- RCTTypeSafety (= 0.63.5)
|
|
160
|
+
- React-Core/CoreModulesHeaders (= 0.63.5)
|
|
161
|
+
- React-jsi (= 0.63.5)
|
|
162
|
+
- React-RCTImage (= 0.63.5)
|
|
163
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
164
|
+
- React-cxxreact (0.63.5):
|
|
165
165
|
- boost-for-react-native (= 1.63.0)
|
|
166
166
|
- DoubleConversion
|
|
167
167
|
- Folly (= 2020.01.13.00)
|
|
168
168
|
- glog
|
|
169
|
-
- React-callinvoker (= 0.63.
|
|
170
|
-
- React-jsinspector (= 0.63.
|
|
171
|
-
- React-jsi (0.63.
|
|
169
|
+
- React-callinvoker (= 0.63.5)
|
|
170
|
+
- React-jsinspector (= 0.63.5)
|
|
171
|
+
- React-jsi (0.63.5):
|
|
172
172
|
- boost-for-react-native (= 1.63.0)
|
|
173
173
|
- DoubleConversion
|
|
174
174
|
- Folly (= 2020.01.13.00)
|
|
175
175
|
- glog
|
|
176
|
-
- React-jsi/Default (= 0.63.
|
|
177
|
-
- React-jsi/Default (0.63.
|
|
176
|
+
- React-jsi/Default (= 0.63.5)
|
|
177
|
+
- React-jsi/Default (0.63.5):
|
|
178
178
|
- boost-for-react-native (= 1.63.0)
|
|
179
179
|
- DoubleConversion
|
|
180
180
|
- Folly (= 2020.01.13.00)
|
|
181
181
|
- glog
|
|
182
|
-
- React-jsiexecutor (0.63.
|
|
182
|
+
- React-jsiexecutor (0.63.5):
|
|
183
183
|
- DoubleConversion
|
|
184
184
|
- Folly (= 2020.01.13.00)
|
|
185
185
|
- glog
|
|
186
|
-
- React-cxxreact (= 0.63.
|
|
187
|
-
- React-jsi (= 0.63.
|
|
188
|
-
- React-jsinspector (0.63.
|
|
189
|
-
- React-RCTActionSheet (0.63.
|
|
190
|
-
- React-Core/RCTActionSheetHeaders (= 0.63.
|
|
191
|
-
- React-RCTAnimation (0.63.
|
|
192
|
-
- FBReactNativeSpec (= 0.63.
|
|
186
|
+
- React-cxxreact (= 0.63.5)
|
|
187
|
+
- React-jsi (= 0.63.5)
|
|
188
|
+
- React-jsinspector (0.63.5)
|
|
189
|
+
- React-RCTActionSheet (0.63.5):
|
|
190
|
+
- React-Core/RCTActionSheetHeaders (= 0.63.5)
|
|
191
|
+
- React-RCTAnimation (0.63.5):
|
|
192
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
193
193
|
- Folly (= 2020.01.13.00)
|
|
194
|
-
- RCTTypeSafety (= 0.63.
|
|
195
|
-
- React-Core/RCTAnimationHeaders (= 0.63.
|
|
196
|
-
- React-jsi (= 0.63.
|
|
197
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
198
|
-
- React-RCTBlob (0.63.
|
|
199
|
-
- FBReactNativeSpec (= 0.63.
|
|
194
|
+
- RCTTypeSafety (= 0.63.5)
|
|
195
|
+
- React-Core/RCTAnimationHeaders (= 0.63.5)
|
|
196
|
+
- React-jsi (= 0.63.5)
|
|
197
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
198
|
+
- React-RCTBlob (0.63.5):
|
|
199
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
200
200
|
- Folly (= 2020.01.13.00)
|
|
201
|
-
- React-Core/RCTBlobHeaders (= 0.63.
|
|
202
|
-
- React-Core/RCTWebSocket (= 0.63.
|
|
203
|
-
- React-jsi (= 0.63.
|
|
204
|
-
- React-RCTNetwork (= 0.63.
|
|
205
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
206
|
-
- React-RCTImage (0.63.
|
|
207
|
-
- FBReactNativeSpec (= 0.63.
|
|
201
|
+
- React-Core/RCTBlobHeaders (= 0.63.5)
|
|
202
|
+
- React-Core/RCTWebSocket (= 0.63.5)
|
|
203
|
+
- React-jsi (= 0.63.5)
|
|
204
|
+
- React-RCTNetwork (= 0.63.5)
|
|
205
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
206
|
+
- React-RCTImage (0.63.5):
|
|
207
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
208
208
|
- Folly (= 2020.01.13.00)
|
|
209
|
-
- RCTTypeSafety (= 0.63.
|
|
210
|
-
- React-Core/RCTImageHeaders (= 0.63.
|
|
211
|
-
- React-jsi (= 0.63.
|
|
212
|
-
- React-RCTNetwork (= 0.63.
|
|
213
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
214
|
-
- React-RCTLinking (0.63.
|
|
215
|
-
- FBReactNativeSpec (= 0.63.
|
|
216
|
-
- React-Core/RCTLinkingHeaders (= 0.63.
|
|
217
|
-
- React-jsi (= 0.63.
|
|
218
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
219
|
-
- React-RCTNetwork (0.63.
|
|
220
|
-
- FBReactNativeSpec (= 0.63.
|
|
209
|
+
- RCTTypeSafety (= 0.63.5)
|
|
210
|
+
- React-Core/RCTImageHeaders (= 0.63.5)
|
|
211
|
+
- React-jsi (= 0.63.5)
|
|
212
|
+
- React-RCTNetwork (= 0.63.5)
|
|
213
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
214
|
+
- React-RCTLinking (0.63.5):
|
|
215
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
216
|
+
- React-Core/RCTLinkingHeaders (= 0.63.5)
|
|
217
|
+
- React-jsi (= 0.63.5)
|
|
218
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
219
|
+
- React-RCTNetwork (0.63.5):
|
|
220
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
221
221
|
- Folly (= 2020.01.13.00)
|
|
222
|
-
- RCTTypeSafety (= 0.63.
|
|
223
|
-
- React-Core/RCTNetworkHeaders (= 0.63.
|
|
224
|
-
- React-jsi (= 0.63.
|
|
225
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
226
|
-
- React-RCTSettings (0.63.
|
|
227
|
-
- FBReactNativeSpec (= 0.63.
|
|
222
|
+
- RCTTypeSafety (= 0.63.5)
|
|
223
|
+
- React-Core/RCTNetworkHeaders (= 0.63.5)
|
|
224
|
+
- React-jsi (= 0.63.5)
|
|
225
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
226
|
+
- React-RCTSettings (0.63.5):
|
|
227
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
228
228
|
- Folly (= 2020.01.13.00)
|
|
229
|
-
- RCTTypeSafety (= 0.63.
|
|
230
|
-
- React-Core/RCTSettingsHeaders (= 0.63.
|
|
231
|
-
- React-jsi (= 0.63.
|
|
232
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
233
|
-
- React-RCTText (0.63.
|
|
234
|
-
- React-Core/RCTTextHeaders (= 0.63.
|
|
235
|
-
- React-RCTVibration (0.63.
|
|
236
|
-
- FBReactNativeSpec (= 0.63.
|
|
229
|
+
- RCTTypeSafety (= 0.63.5)
|
|
230
|
+
- React-Core/RCTSettingsHeaders (= 0.63.5)
|
|
231
|
+
- React-jsi (= 0.63.5)
|
|
232
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
233
|
+
- React-RCTText (0.63.5):
|
|
234
|
+
- React-Core/RCTTextHeaders (= 0.63.5)
|
|
235
|
+
- React-RCTVibration (0.63.5):
|
|
236
|
+
- FBReactNativeSpec (= 0.63.5)
|
|
237
237
|
- Folly (= 2020.01.13.00)
|
|
238
|
-
- React-Core/RCTVibrationHeaders (= 0.63.
|
|
239
|
-
- React-jsi (= 0.63.
|
|
240
|
-
- ReactCommon/turbomodule/core (= 0.63.
|
|
241
|
-
- ReactCommon/turbomodule/core (0.63.
|
|
238
|
+
- React-Core/RCTVibrationHeaders (= 0.63.5)
|
|
239
|
+
- React-jsi (= 0.63.5)
|
|
240
|
+
- ReactCommon/turbomodule/core (= 0.63.5)
|
|
241
|
+
- ReactCommon/turbomodule/core (0.63.5):
|
|
242
242
|
- DoubleConversion
|
|
243
243
|
- Folly (= 2020.01.13.00)
|
|
244
244
|
- glog
|
|
245
|
-
- React-callinvoker (= 0.63.
|
|
246
|
-
- React-Core (= 0.63.
|
|
247
|
-
- React-cxxreact (= 0.63.
|
|
248
|
-
- React-jsi (= 0.63.
|
|
245
|
+
- React-callinvoker (= 0.63.5)
|
|
246
|
+
- React-Core (= 0.63.5)
|
|
247
|
+
- React-cxxreact (= 0.63.5)
|
|
248
|
+
- React-jsi (= 0.63.5)
|
|
249
249
|
- Yoga (1.14.0)
|
|
250
250
|
|
|
251
251
|
DEPENDENCIES:
|
|
252
|
-
- AppLovinSDK (= 11.
|
|
252
|
+
- AppLovinSDK (= 11.8.0)
|
|
253
253
|
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
|
254
254
|
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
|
|
255
255
|
- FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
|
|
@@ -339,35 +339,35 @@ EXTERNAL SOURCES:
|
|
|
339
339
|
:path: "../node_modules/react-native/ReactCommon/yoga"
|
|
340
340
|
|
|
341
341
|
SPEC CHECKSUMS:
|
|
342
|
-
AppLovinSDK:
|
|
342
|
+
AppLovinSDK: 80818d048a0d46701b878927a1e1a064d32b747d
|
|
343
343
|
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
|
|
344
344
|
DoubleConversion: cde416483dac037923206447da6e1454df403714
|
|
345
|
-
FBLazyVector:
|
|
346
|
-
FBReactNativeSpec:
|
|
345
|
+
FBLazyVector: 352a8ca9bbc8e2f097d680747a8c97ecef12d469
|
|
346
|
+
FBReactNativeSpec: 7dfb84f624136a45727c813ed21d130cd3e61beb
|
|
347
347
|
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
|
|
348
348
|
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
|
|
349
|
-
RCTRequired:
|
|
350
|
-
RCTTypeSafety:
|
|
351
|
-
React:
|
|
352
|
-
React-callinvoker:
|
|
353
|
-
React-Core:
|
|
354
|
-
React-CoreModules:
|
|
355
|
-
React-cxxreact:
|
|
356
|
-
React-jsi:
|
|
357
|
-
React-jsiexecutor:
|
|
358
|
-
React-jsinspector:
|
|
359
|
-
React-RCTActionSheet:
|
|
360
|
-
React-RCTAnimation:
|
|
361
|
-
React-RCTBlob:
|
|
362
|
-
React-RCTImage:
|
|
363
|
-
React-RCTLinking:
|
|
364
|
-
React-RCTNetwork:
|
|
365
|
-
React-RCTSettings:
|
|
366
|
-
React-RCTText:
|
|
367
|
-
React-RCTVibration:
|
|
368
|
-
ReactCommon:
|
|
369
|
-
Yoga:
|
|
349
|
+
RCTRequired: 5520387431beaa5f32aa8726bf746cd5353119fe
|
|
350
|
+
RCTTypeSafety: bc90d6e287fa427c50ed770922bac30faf0bbfa3
|
|
351
|
+
React: 83a7f231f462b09260a53c5c51005e7659c66890
|
|
352
|
+
React-callinvoker: 1c3fdb5562c792212e149637b8a167516bb4b58e
|
|
353
|
+
React-Core: 8baca8644a516e772c77e3923697cfe2b58c1606
|
|
354
|
+
React-CoreModules: 200c931e17b332024c2e9d878f67b87c00c2c83b
|
|
355
|
+
React-cxxreact: 9096ebaeebf6a1475a14448fa8bfc380c13d7882
|
|
356
|
+
React-jsi: 7d908b17758178b076a05a254523f1a4227b53d2
|
|
357
|
+
React-jsiexecutor: e06a32e42affb2bd89e4c8369349b5fcf787710c
|
|
358
|
+
React-jsinspector: fdbc08866b34ae8e1b788ea1cbd9f9d1ca2aa3d6
|
|
359
|
+
React-RCTActionSheet: e911b99f0d6fa7711ffc2f62d236b12a32771835
|
|
360
|
+
React-RCTAnimation: ad8b853170a059faf31d6add34f67d22391bbe01
|
|
361
|
+
React-RCTBlob: 134c7270b6672c9c05383b2e0f7f044ba39d7dda
|
|
362
|
+
React-RCTImage: c5c74ba8850a193d73aef8efb8fcbb4f9cad7653
|
|
363
|
+
React-RCTLinking: 12468e952704555c8cb4e3de94c7b5a266811326
|
|
364
|
+
React-RCTNetwork: e9cfaeb9f3657ae91f895e798734141db6e1af5b
|
|
365
|
+
React-RCTSettings: 9a09419bd5e8494f6e146e2c9f5c8e2c6e90ed58
|
|
366
|
+
React-RCTText: 393f059d7ec02c733da57240694201e734f0dc84
|
|
367
|
+
React-RCTVibration: 3e83f53610d63d3c1fc4db303305e934e73047cc
|
|
368
|
+
ReactCommon: b9ff54b6dd22ba4a776eda22d7f83ec27544ca35
|
|
369
|
+
Yoga: 0276e9f20976c8568e107cfc1163a8629051adc0
|
|
370
370
|
|
|
371
|
-
PODFILE CHECKSUM:
|
|
371
|
+
PODFILE CHECKSUM: 6e9aa2145f566a91f3e26d928707679adc7b3cf8
|
|
372
372
|
|
|
373
373
|
COCOAPODS: 1.11.3
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-applovin-max",
|
|
3
3
|
"author": "AppLovin Corporation",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.7",
|
|
5
5
|
"description": "AppLovin MAX React Native Plugin for Android and iOS",
|
|
6
6
|
"homepage": "https://github.com/AppLovin/AppLovin-MAX-React-Native",
|
|
7
7
|
"license": "MIT",
|
|
@@ -11,10 +11,10 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.authors = package["author"]
|
|
12
12
|
|
|
13
13
|
s.platforms = { :ios => "10.0" }
|
|
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_4_1_7" }
|
|
15
15
|
|
|
16
16
|
s.source_files = "ios/AppLovinMAX*.{h,m}"
|
|
17
17
|
|
|
18
18
|
s.dependency "React"
|
|
19
|
-
s.dependency "AppLovinSDK", "11.
|
|
19
|
+
s.dependency "AppLovinSDK", "11.8.0"
|
|
20
20
|
end
|
package/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import NativeAdView from "./NativeAdView";
|
|
|
5
5
|
|
|
6
6
|
const { AppLovinMAX } = NativeModules;
|
|
7
7
|
|
|
8
|
-
const VERSION = "4.1.
|
|
8
|
+
const VERSION = "4.1.7";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* This enum represents whether or not the consent dialog should be shown for this user.
|
|
@@ -402,11 +402,6 @@ const setAppOpenAdExtraParameter = (adUnitId, key, value) => {
|
|
|
402
402
|
AppLovinMAX.setAppOpenAdExtraParameter(adUnitId, key, value);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
const getConsentDialogState = () => {
|
|
406
|
-
console.warn("getConsentDialogState() has been deprecated and will be removed in a future release.");
|
|
407
|
-
return AppLovinMAX.getConsentDialogState();
|
|
408
|
-
};
|
|
409
|
-
|
|
410
405
|
export default {
|
|
411
406
|
...AppLovinMAX,
|
|
412
407
|
AdView,
|
|
@@ -482,11 +477,6 @@ export default {
|
|
|
482
477
|
showAppOpenAd,
|
|
483
478
|
setAppOpenAdExtraParameter,
|
|
484
479
|
|
|
485
|
-
/*--------------------------------------------------*/
|
|
486
|
-
/* DEPRECATED (will be removed in a future release) */
|
|
487
|
-
/*--------------------------------------------------*/
|
|
488
|
-
getConsentDialogState,
|
|
489
|
-
|
|
490
480
|
/*----------------------*/
|
|
491
481
|
/** AUTO-DECLARED APIs **/
|
|
492
482
|
/*----------------------*/
|
|
@@ -501,6 +491,7 @@ export default {
|
|
|
501
491
|
/* PRIVACY APIs */
|
|
502
492
|
/*--------------*/
|
|
503
493
|
/* showConsentDialog(callback) */
|
|
494
|
+
/* getConsentDialogState() */
|
|
504
495
|
/* setHasUserConsent(hasUserConsent) */
|
|
505
496
|
/* hasUserConsent() */
|
|
506
497
|
/* setIsAgeRestrictedUser(isAgeRestrictedUser) */
|