appsflyer-capacitor-plugin 6.17.9 → 6.17.91-rc1
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/AppsflyerCapacitorPlugin.podspec +1 -1
- package/README.md +5 -1
- package/android/build.gradle +22 -16
- package/dist/esm/Appsflyer_constants.js.map +1 -1
- package/dist/esm/appsflyer_interfaces.d.ts +1 -1
- package/dist/esm/appsflyer_interfaces.js +1 -1
- package/dist/esm/appsflyer_interfaces.js.map +1 -1
- package/dist/esm/definitions.d.ts +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/plugin.cjs.js +1 -3
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +1 -3
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/AppsFlyerPlugin.swift +1 -1
- package/package.json +18 -18
- package/src/Appsflyer_constants.ts +25 -26
- package/src/appsflyer_interfaces.ts +188 -134
- package/src/definitions.ts +311 -314
- package/src/index.ts +1 -2
- package/tsconfig.json +1 -0
- /package/{rollup.config.js → rollup.config.mjs} +0 -0
|
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
|
|
12
12
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
13
13
|
s.static_framework = true
|
|
14
|
-
s.ios.deployment_target = '
|
|
14
|
+
s.ios.deployment_target = '15.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
16
|
s.swift_version = '5.1'
|
|
17
17
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,11 @@ To do so, please follow [this article](https://support.appsflyer.com/hc/en-us/ar
|
|
|
15
15
|
|
|
16
16
|
<img src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/android/android.png" width="18" height="18"> Android AppsFlyer SDK **6.17.6**</br>
|
|
17
17
|
<img src="https://icon.icepanel.io/Technology/svg/Apple.svg" width="18" height="18"> iOS AppsFlyer SDK **6.17.9**</br>
|
|
18
|
-
<img src="https://icon.icepanel.io/Technology/svg/Capacitor.svg" width="18" height="18"> Capacitor
|
|
18
|
+
<img src="https://icon.icepanel.io/Technology/svg/Capacitor.svg" width="18" height="18"> Capacitor 8</br>
|
|
19
|
+
|
|
20
|
+
## <a id="breaking-changes-6-17-91"> ❗❗ Breaking changes when updating to v6.17.91 ❗❗
|
|
21
|
+
Starting from v6.17.91, this plugin works only with Capacitor 8. </br>
|
|
22
|
+
If you are still interested in using Capacitor 7, please follow the instructions [here](/docs/Installation.md#cap7) to install the latest version that supports Capacitor 7.
|
|
19
23
|
|
|
20
24
|
## <a id="breaking-changes-6-17-0"> ❗❗ Breaking changes when updating to v6.17.0 ❗❗
|
|
21
25
|
Starting from v6.17.0, this plugin works only with Capacitor 7. </br>
|
package/android/build.gradle
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import groovy.json.JsonSlurper
|
|
2
|
+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
2
3
|
|
|
3
4
|
import java.nio.file.FileVisitResult
|
|
4
5
|
import java.nio.file.Files
|
|
@@ -129,22 +130,22 @@ ext {
|
|
|
129
130
|
packageJson = getPackageJson()
|
|
130
131
|
|
|
131
132
|
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
|
|
132
|
-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.
|
|
133
|
-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.
|
|
134
|
-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.
|
|
133
|
+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
|
|
134
|
+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
|
|
135
|
+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
|
|
135
136
|
af_sdk_version = packageJson?.androidSdkVersion
|
|
136
137
|
plugin_version = packageJson?.version
|
|
137
138
|
plugin_build_version = packageJson?.buildNumber
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
buildscript {
|
|
141
|
-
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '
|
|
142
|
+
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.2.20'
|
|
142
143
|
repositories {
|
|
143
144
|
google()
|
|
144
145
|
mavenCentral()
|
|
145
146
|
}
|
|
146
147
|
dependencies {
|
|
147
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
148
|
+
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
148
149
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
149
150
|
classpath 'org.codehaus.groovy:groovy-json:3.0.9'
|
|
150
151
|
}
|
|
@@ -154,25 +155,25 @@ apply plugin: 'com.android.library'
|
|
|
154
155
|
apply plugin: 'kotlin-android'
|
|
155
156
|
|
|
156
157
|
android {
|
|
157
|
-
namespace "capacitor.plugin.appsflyer.sdk"
|
|
158
|
-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
158
|
+
namespace = "capacitor.plugin.appsflyer.sdk"
|
|
159
|
+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
159
160
|
defaultConfig {
|
|
160
|
-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion :
|
|
161
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
162
|
-
versionCode Integer.parseInt(plugin_build_version)
|
|
163
|
-
versionName "$plugin_version"
|
|
161
|
+
minSdkVersion = project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
|
|
162
|
+
targetSdkVersion = project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
|
|
163
|
+
versionCode = Integer.parseInt(plugin_build_version)
|
|
164
|
+
versionName = "$plugin_version"
|
|
164
165
|
buildConfigField "int", "VERSION_CODE", plugin_build_version
|
|
165
166
|
buildConfigField "String", "VERSION_NAME", "\"$plugin_version\""
|
|
166
|
-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
167
|
+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
167
168
|
}
|
|
168
169
|
buildTypes {
|
|
169
170
|
release {
|
|
170
|
-
minifyEnabled false
|
|
171
|
+
minifyEnabled = false
|
|
171
172
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
172
173
|
}
|
|
173
174
|
}
|
|
174
|
-
|
|
175
|
-
abortOnError false
|
|
175
|
+
lint {
|
|
176
|
+
abortOnError = false
|
|
176
177
|
}
|
|
177
178
|
compileOptions {
|
|
178
179
|
sourceCompatibility JavaVersion.VERSION_21
|
|
@@ -183,10 +184,15 @@ android {
|
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
186
|
|
|
187
|
+
kotlin {
|
|
188
|
+
compilerOptions {
|
|
189
|
+
jvmTarget = JvmTarget.JVM_21
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
186
193
|
repositories {
|
|
187
194
|
google()
|
|
188
195
|
mavenCentral()
|
|
189
|
-
mavenCentral()
|
|
190
196
|
}
|
|
191
197
|
|
|
192
198
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Appsflyer_constants.js","sourceRoot":"","sources":["../../src/Appsflyer_constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;
|
|
1
|
+
{"version":3,"file":"Appsflyer_constants.js","sourceRoot":"","sources":["../../src/Appsflyer_constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,kEAAmD,CAAA;IACnD,4DAA6C,CAAA;IAC7C,4DAA6C,CAAA;IAC7C,4DAA6C,CAAA;IAC7C,0DAA2C,CAAA;IAC3C,8CAA+B,CAAA;IAC/B,4CAA6B,CAAA;AAC/B,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AAED,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,uDAAqC,CAAA;IACrC,+CAA6B,CAAA;AAC/B,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAED,MAAM,CAAN,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IAC1B,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,mCAAe,CAAA;IACf,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,6CAAyB,CAAA;IACzB,mCAAe,CAAA;IACf,2CAAuB,CAAA;IACvB,yDAAqC,CAAA;IACrC,+EAA2D,CAAA;AAC7D,CAAC,EAfW,gBAAgB,KAAhB,gBAAgB,QAe3B"}
|
|
@@ -13,6 +13,6 @@ class AppsFlyerConsentClass {
|
|
|
13
13
|
}
|
|
14
14
|
export const AppsFlyerConsent = {
|
|
15
15
|
forGDPRUser: AppsFlyerConsentClass.forGDPRUser,
|
|
16
|
-
forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser
|
|
16
|
+
forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser,
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=appsflyer_interfaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appsflyer_interfaces.js","sourceRoot":"","sources":["../../src/appsflyer_interfaces.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"appsflyer_interfaces.js","sourceRoot":"","sources":["../../src/appsflyer_interfaces.ts"],"names":[],"mappings":"AA4KA,MAAM,qBAAqB;IAKzB,YACE,mBAA4B,EAC5B,sBAAgC,EAChC,+BAAyC;QAEzC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAC;IACzE,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,sBAA+B,EAAE,+BAAwC;QAC1F,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,sBAAsB,EAAE,+BAA+B,CAAC,CAAC;IAClG,CAAC;IAED,MAAM,CAAC,cAAc;QACnB,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;CACF;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,qBAAqB,CAAC,WAAW;IAC9C,cAAc,EAAE,qBAAqB,CAAC,cAAc;CACrD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { PluginListenerHandle } from
|
|
2
|
-
import type { AFConstants } from
|
|
3
|
-
import type { AFAndroidInAppPurchase, AFAnonymizeUser, AFAppendToDeepLink, AFCuid, AFCurrency, AFData, AFDisable, AFEvent, AFFbDAL, AFFilters, AFHost, AFInit, AFIosInAppPurchase, AFIsStopped, AFLink, AFLinkGenerator, AFOnelinkDomain, AFOnelinkID, AFPath, AFPushPayload, AFRes, AFStop, AFUid, AFUninstall, AFUrls, AFLanguage, OnAppOpenAttribution, OnConversionDataResult, OnDeepLink, AFPromotion, AFEmails, AFLatLng, AFPhone, AFPartnerData, AFLogInvite, AFPurchaseDetailsV2, AFEnableTCFDataCollection, AFConsentData, AFAdRevenueData, AFConsentOptions, AFIsStarted } from
|
|
1
|
+
import type { PluginListenerHandle } from '@capacitor/core';
|
|
2
|
+
import type { AFConstants } from './Appsflyer_constants';
|
|
3
|
+
import type { AFAndroidInAppPurchase, AFAnonymizeUser, AFAppendToDeepLink, AFCuid, AFCurrency, AFData, AFDisable, AFEvent, AFFbDAL, AFFilters, AFHost, AFInit, AFIosInAppPurchase, AFIsStopped, AFLink, AFLinkGenerator, AFOnelinkDomain, AFOnelinkID, AFPath, AFPushPayload, AFRes, AFStop, AFUid, AFUninstall, AFUrls, AFLanguage, OnAppOpenAttribution, OnConversionDataResult, OnDeepLink, AFPromotion, AFEmails, AFLatLng, AFPhone, AFPartnerData, AFLogInvite, AFPurchaseDetailsV2, AFEnableTCFDataCollection, AFConsentData, AFAdRevenueData, AFConsentOptions, AFIsStarted } from './appsflyer_interfaces';
|
|
4
4
|
export interface AppsFlyerPlugin {
|
|
5
5
|
addListener(eventName: AFConstants.CONVERSION_CALLBACK, listenerFunc: (event: OnConversionDataResult) => void): PluginListenerHandle;
|
|
6
6
|
addListener(eventName: AFConstants.OAOA_CALLBACK, listenerFunc: (event: OnAppOpenAttribution) => void): PluginListenerHandle;
|
|
@@ -173,11 +173,11 @@ export interface AppsFlyerPlugin {
|
|
|
173
173
|
*/
|
|
174
174
|
enableTCFDataCollection(shouldEnableTCFDataCollection: AFEnableTCFDataCollection): Promise<void>;
|
|
175
175
|
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
176
|
+
* Use to set user consent data manualy.
|
|
177
|
+
* if your app doesn't use a CMP compatible with TCF v2.2, use the following method to manualy provide the consent data directly to the SDK.
|
|
178
|
+
* @param data: AppsFlyerConsent object.
|
|
179
|
+
* @deprecated deprecated since 6.16.2. Use `setConsentDataV2` instead
|
|
180
|
+
*/
|
|
181
181
|
setConsentData(data: AFConsentData): Promise<void>;
|
|
182
182
|
/**
|
|
183
183
|
* By attributing ad revenue, app owners gain the complete view of user LTV and campaign ROI.
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,SAAS,GAAG,cAAc,CAAkB,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,SAAS,GAAG,cAAc,CAAkB,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAEzE,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var core = require('@capacitor/core');
|
|
6
4
|
|
|
7
5
|
exports.AFConstants = void 0;
|
|
@@ -52,7 +50,7 @@ class AppsFlyerConsentClass {
|
|
|
52
50
|
}
|
|
53
51
|
const AppsFlyerConsent = {
|
|
54
52
|
forGDPRUser: AppsFlyerConsentClass.forGDPRUser,
|
|
55
|
-
forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser
|
|
53
|
+
forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser,
|
|
56
54
|
};
|
|
57
55
|
|
|
58
56
|
const AppsFlyer = core.registerPlugin('AppsFlyerPlugin', {});
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/Appsflyer_constants.js","esm/appsflyer_interfaces.js","esm/index.js"],"sourcesContent":["export var AFConstants;\n(function (AFConstants) {\n AFConstants[\"onConversionDataSuccess\"] = \"onConversionDataSuccess\";\n AFConstants[\"onConversionDataFail\"] = \"onConversionDataFail\";\n AFConstants[\"onAppOpenAttribution\"] = \"onAppOpenAttribution\";\n AFConstants[\"onAttributionFailure\"] = \"onAttributionFailure\";\n AFConstants[\"CONVERSION_CALLBACK\"] = \"conversion_callback\";\n AFConstants[\"OAOA_CALLBACK\"] = \"oaoa_callback\";\n AFConstants[\"UDL_CALLBACK\"] = \"udl_callback\";\n})(AFConstants || (AFConstants = {}));\nexport var AFPurchaseType;\n(function (AFPurchaseType) {\n AFPurchaseType[\"oneTimePurchase\"] = \"one_time_purchase\";\n AFPurchaseType[\"subscription\"] = \"subscription\";\n})(AFPurchaseType || (AFPurchaseType = {}));\nexport var MediationNetwork;\n(function (MediationNetwork) {\n MediationNetwork[\"IRONSOURCE\"] = \"ironsource\";\n MediationNetwork[\"APPLOVIN_MAX\"] = \"applovin_max\";\n MediationNetwork[\"GOOGLE_ADMOB\"] = \"google_admob\";\n MediationNetwork[\"FYBER\"] = \"fyber\";\n MediationNetwork[\"APPODEAL\"] = \"appodeal\";\n MediationNetwork[\"ADMOST\"] = \"admost\";\n MediationNetwork[\"TOPON\"] = \"topon\";\n MediationNetwork[\"TRADPLUS\"] = \"tradplus\";\n MediationNetwork[\"YANDEX\"] = \"yandex\";\n MediationNetwork[\"CHARTBOOST\"] = \"chartboost\";\n MediationNetwork[\"UNITY\"] = \"unity\";\n MediationNetwork[\"TOPON_PTE\"] = \"topon_pte\";\n MediationNetwork[\"CUSTOM_MEDIATION\"] = \"custom_mediation\";\n MediationNetwork[\"DIRECT_MONETIZATION_NETWORK\"] = \"direct_monetization_network\";\n})(MediationNetwork || (MediationNetwork = {}));\n//# sourceMappingURL=Appsflyer_constants.js.map","class AppsFlyerConsentClass {\n constructor(isUserSubjectToGDPR, hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n this.isUserSubjectToGDPR = isUserSubjectToGDPR;\n this.hasConsentForDataUsage = hasConsentForDataUsage;\n this.hasConsentForAdsPersonalization = hasConsentForAdsPersonalization;\n }\n static forGDPRUser(hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n return new AppsFlyerConsentClass(true, hasConsentForDataUsage, hasConsentForAdsPersonalization);\n }\n static forNonGDPRUser() {\n return new AppsFlyerConsentClass(false);\n }\n}\nexport const AppsFlyerConsent = {\n forGDPRUser: AppsFlyerConsentClass.forGDPRUser,\n forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/Appsflyer_constants.js","esm/appsflyer_interfaces.js","esm/index.js"],"sourcesContent":["export var AFConstants;\n(function (AFConstants) {\n AFConstants[\"onConversionDataSuccess\"] = \"onConversionDataSuccess\";\n AFConstants[\"onConversionDataFail\"] = \"onConversionDataFail\";\n AFConstants[\"onAppOpenAttribution\"] = \"onAppOpenAttribution\";\n AFConstants[\"onAttributionFailure\"] = \"onAttributionFailure\";\n AFConstants[\"CONVERSION_CALLBACK\"] = \"conversion_callback\";\n AFConstants[\"OAOA_CALLBACK\"] = \"oaoa_callback\";\n AFConstants[\"UDL_CALLBACK\"] = \"udl_callback\";\n})(AFConstants || (AFConstants = {}));\nexport var AFPurchaseType;\n(function (AFPurchaseType) {\n AFPurchaseType[\"oneTimePurchase\"] = \"one_time_purchase\";\n AFPurchaseType[\"subscription\"] = \"subscription\";\n})(AFPurchaseType || (AFPurchaseType = {}));\nexport var MediationNetwork;\n(function (MediationNetwork) {\n MediationNetwork[\"IRONSOURCE\"] = \"ironsource\";\n MediationNetwork[\"APPLOVIN_MAX\"] = \"applovin_max\";\n MediationNetwork[\"GOOGLE_ADMOB\"] = \"google_admob\";\n MediationNetwork[\"FYBER\"] = \"fyber\";\n MediationNetwork[\"APPODEAL\"] = \"appodeal\";\n MediationNetwork[\"ADMOST\"] = \"admost\";\n MediationNetwork[\"TOPON\"] = \"topon\";\n MediationNetwork[\"TRADPLUS\"] = \"tradplus\";\n MediationNetwork[\"YANDEX\"] = \"yandex\";\n MediationNetwork[\"CHARTBOOST\"] = \"chartboost\";\n MediationNetwork[\"UNITY\"] = \"unity\";\n MediationNetwork[\"TOPON_PTE\"] = \"topon_pte\";\n MediationNetwork[\"CUSTOM_MEDIATION\"] = \"custom_mediation\";\n MediationNetwork[\"DIRECT_MONETIZATION_NETWORK\"] = \"direct_monetization_network\";\n})(MediationNetwork || (MediationNetwork = {}));\n//# sourceMappingURL=Appsflyer_constants.js.map","class AppsFlyerConsentClass {\n constructor(isUserSubjectToGDPR, hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n this.isUserSubjectToGDPR = isUserSubjectToGDPR;\n this.hasConsentForDataUsage = hasConsentForDataUsage;\n this.hasConsentForAdsPersonalization = hasConsentForAdsPersonalization;\n }\n static forGDPRUser(hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n return new AppsFlyerConsentClass(true, hasConsentForDataUsage, hasConsentForAdsPersonalization);\n }\n static forNonGDPRUser() {\n return new AppsFlyerConsentClass(false);\n }\n}\nexport const AppsFlyerConsent = {\n forGDPRUser: AppsFlyerConsentClass.forGDPRUser,\n forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser,\n};\n//# sourceMappingURL=appsflyer_interfaces.js.map","import { registerPlugin } from '@capacitor/core';\nconst AppsFlyer = registerPlugin('AppsFlyerPlugin', {});\nexport * from './definitions';\nexport * from './Appsflyer_constants';\nexport * from './appsflyer_interfaces';\nexport { AppsFlyer };\n//# sourceMappingURL=index.js.map"],"names":["AFConstants","AFPurchaseType","MediationNetwork","registerPlugin"],"mappings":";;;;AAAWA;AACX,CAAC,UAAU,WAAW,EAAE;AACxB,IAAI,WAAW,CAAC,yBAAyB,CAAC,GAAG,yBAAyB;AACtE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB;AAChE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB;AAChE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB;AAChE,IAAI,WAAW,CAAC,qBAAqB,CAAC,GAAG,qBAAqB;AAC9D,IAAI,WAAW,CAAC,eAAe,CAAC,GAAG,eAAe;AAClD,IAAI,WAAW,CAAC,cAAc,CAAC,GAAG,cAAc;AAChD,CAAC,EAAEA,mBAAW,KAAKA,mBAAW,GAAG,EAAE,CAAC,CAAC;AAC1BC;AACX,CAAC,UAAU,cAAc,EAAE;AAC3B,IAAI,cAAc,CAAC,iBAAiB,CAAC,GAAG,mBAAmB;AAC3D,IAAI,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc;AACnD,CAAC,EAAEA,sBAAc,KAAKA,sBAAc,GAAG,EAAE,CAAC,CAAC;AAChCC;AACX,CAAC,UAAU,gBAAgB,EAAE;AAC7B,IAAI,gBAAgB,CAAC,YAAY,CAAC,GAAG,YAAY;AACjD,IAAI,gBAAgB,CAAC,cAAc,CAAC,GAAG,cAAc;AACrD,IAAI,gBAAgB,CAAC,cAAc,CAAC,GAAG,cAAc;AACrD,IAAI,gBAAgB,CAAC,OAAO,CAAC,GAAG,OAAO;AACvC,IAAI,gBAAgB,CAAC,UAAU,CAAC,GAAG,UAAU;AAC7C,IAAI,gBAAgB,CAAC,QAAQ,CAAC,GAAG,QAAQ;AACzC,IAAI,gBAAgB,CAAC,OAAO,CAAC,GAAG,OAAO;AACvC,IAAI,gBAAgB,CAAC,UAAU,CAAC,GAAG,UAAU;AAC7C,IAAI,gBAAgB,CAAC,QAAQ,CAAC,GAAG,QAAQ;AACzC,IAAI,gBAAgB,CAAC,YAAY,CAAC,GAAG,YAAY;AACjD,IAAI,gBAAgB,CAAC,OAAO,CAAC,GAAG,OAAO;AACvC,IAAI,gBAAgB,CAAC,WAAW,CAAC,GAAG,WAAW;AAC/C,IAAI,gBAAgB,CAAC,kBAAkB,CAAC,GAAG,kBAAkB;AAC7D,IAAI,gBAAgB,CAAC,6BAA6B,CAAC,GAAG,6BAA6B;AACnF,CAAC,EAAEA,wBAAgB,KAAKA,wBAAgB,GAAG,EAAE,CAAC,CAAC;;AC/B/C,MAAM,qBAAqB,CAAC;AAC5B,IAAI,WAAW,CAAC,mBAAmB,EAAE,sBAAsB,EAAE,+BAA+B,EAAE;AAC9F,QAAQ,IAAI,CAAC,mBAAmB,GAAG,mBAAmB;AACtD,QAAQ,IAAI,CAAC,sBAAsB,GAAG,sBAAsB;AAC5D,QAAQ,IAAI,CAAC,+BAA+B,GAAG,+BAA+B;AAC9E,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,sBAAsB,EAAE,+BAA+B,EAAE;AAChF,QAAQ,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,sBAAsB,EAAE,+BAA+B,CAAC;AACvG,IAAI;AACJ,IAAI,OAAO,cAAc,GAAG;AAC5B,QAAQ,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC;AAC/C,IAAI;AACJ;AACY,MAAC,gBAAgB,GAAG;AAChC,IAAI,WAAW,EAAE,qBAAqB,CAAC,WAAW;AAClD,IAAI,cAAc,EAAE,qBAAqB,CAAC,cAAc;AACxD;;ACfK,MAAC,SAAS,GAAGC,mBAAc,CAAC,iBAAiB,EAAE,EAAE;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -49,7 +49,7 @@ var AppsFlyerCapacitorPlugin = (function (exports, core) {
|
|
|
49
49
|
}
|
|
50
50
|
const AppsFlyerConsent = {
|
|
51
51
|
forGDPRUser: AppsFlyerConsentClass.forGDPRUser,
|
|
52
|
-
forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser
|
|
52
|
+
forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser,
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
const AppsFlyer = core.registerPlugin('AppsFlyerPlugin', {});
|
|
@@ -57,8 +57,6 @@ var AppsFlyerCapacitorPlugin = (function (exports, core) {
|
|
|
57
57
|
exports.AppsFlyer = AppsFlyer;
|
|
58
58
|
exports.AppsFlyerConsent = AppsFlyerConsent;
|
|
59
59
|
|
|
60
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
61
|
-
|
|
62
60
|
return exports;
|
|
63
61
|
|
|
64
62
|
})({}, capacitorExports);
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/Appsflyer_constants.js","esm/appsflyer_interfaces.js","esm/index.js"],"sourcesContent":["export var AFConstants;\n(function (AFConstants) {\n AFConstants[\"onConversionDataSuccess\"] = \"onConversionDataSuccess\";\n AFConstants[\"onConversionDataFail\"] = \"onConversionDataFail\";\n AFConstants[\"onAppOpenAttribution\"] = \"onAppOpenAttribution\";\n AFConstants[\"onAttributionFailure\"] = \"onAttributionFailure\";\n AFConstants[\"CONVERSION_CALLBACK\"] = \"conversion_callback\";\n AFConstants[\"OAOA_CALLBACK\"] = \"oaoa_callback\";\n AFConstants[\"UDL_CALLBACK\"] = \"udl_callback\";\n})(AFConstants || (AFConstants = {}));\nexport var AFPurchaseType;\n(function (AFPurchaseType) {\n AFPurchaseType[\"oneTimePurchase\"] = \"one_time_purchase\";\n AFPurchaseType[\"subscription\"] = \"subscription\";\n})(AFPurchaseType || (AFPurchaseType = {}));\nexport var MediationNetwork;\n(function (MediationNetwork) {\n MediationNetwork[\"IRONSOURCE\"] = \"ironsource\";\n MediationNetwork[\"APPLOVIN_MAX\"] = \"applovin_max\";\n MediationNetwork[\"GOOGLE_ADMOB\"] = \"google_admob\";\n MediationNetwork[\"FYBER\"] = \"fyber\";\n MediationNetwork[\"APPODEAL\"] = \"appodeal\";\n MediationNetwork[\"ADMOST\"] = \"admost\";\n MediationNetwork[\"TOPON\"] = \"topon\";\n MediationNetwork[\"TRADPLUS\"] = \"tradplus\";\n MediationNetwork[\"YANDEX\"] = \"yandex\";\n MediationNetwork[\"CHARTBOOST\"] = \"chartboost\";\n MediationNetwork[\"UNITY\"] = \"unity\";\n MediationNetwork[\"TOPON_PTE\"] = \"topon_pte\";\n MediationNetwork[\"CUSTOM_MEDIATION\"] = \"custom_mediation\";\n MediationNetwork[\"DIRECT_MONETIZATION_NETWORK\"] = \"direct_monetization_network\";\n})(MediationNetwork || (MediationNetwork = {}));\n//# sourceMappingURL=Appsflyer_constants.js.map","class AppsFlyerConsentClass {\n constructor(isUserSubjectToGDPR, hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n this.isUserSubjectToGDPR = isUserSubjectToGDPR;\n this.hasConsentForDataUsage = hasConsentForDataUsage;\n this.hasConsentForAdsPersonalization = hasConsentForAdsPersonalization;\n }\n static forGDPRUser(hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n return new AppsFlyerConsentClass(true, hasConsentForDataUsage, hasConsentForAdsPersonalization);\n }\n static forNonGDPRUser() {\n return new AppsFlyerConsentClass(false);\n }\n}\nexport const AppsFlyerConsent = {\n forGDPRUser: AppsFlyerConsentClass.forGDPRUser,\n forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/Appsflyer_constants.js","esm/appsflyer_interfaces.js","esm/index.js"],"sourcesContent":["export var AFConstants;\n(function (AFConstants) {\n AFConstants[\"onConversionDataSuccess\"] = \"onConversionDataSuccess\";\n AFConstants[\"onConversionDataFail\"] = \"onConversionDataFail\";\n AFConstants[\"onAppOpenAttribution\"] = \"onAppOpenAttribution\";\n AFConstants[\"onAttributionFailure\"] = \"onAttributionFailure\";\n AFConstants[\"CONVERSION_CALLBACK\"] = \"conversion_callback\";\n AFConstants[\"OAOA_CALLBACK\"] = \"oaoa_callback\";\n AFConstants[\"UDL_CALLBACK\"] = \"udl_callback\";\n})(AFConstants || (AFConstants = {}));\nexport var AFPurchaseType;\n(function (AFPurchaseType) {\n AFPurchaseType[\"oneTimePurchase\"] = \"one_time_purchase\";\n AFPurchaseType[\"subscription\"] = \"subscription\";\n})(AFPurchaseType || (AFPurchaseType = {}));\nexport var MediationNetwork;\n(function (MediationNetwork) {\n MediationNetwork[\"IRONSOURCE\"] = \"ironsource\";\n MediationNetwork[\"APPLOVIN_MAX\"] = \"applovin_max\";\n MediationNetwork[\"GOOGLE_ADMOB\"] = \"google_admob\";\n MediationNetwork[\"FYBER\"] = \"fyber\";\n MediationNetwork[\"APPODEAL\"] = \"appodeal\";\n MediationNetwork[\"ADMOST\"] = \"admost\";\n MediationNetwork[\"TOPON\"] = \"topon\";\n MediationNetwork[\"TRADPLUS\"] = \"tradplus\";\n MediationNetwork[\"YANDEX\"] = \"yandex\";\n MediationNetwork[\"CHARTBOOST\"] = \"chartboost\";\n MediationNetwork[\"UNITY\"] = \"unity\";\n MediationNetwork[\"TOPON_PTE\"] = \"topon_pte\";\n MediationNetwork[\"CUSTOM_MEDIATION\"] = \"custom_mediation\";\n MediationNetwork[\"DIRECT_MONETIZATION_NETWORK\"] = \"direct_monetization_network\";\n})(MediationNetwork || (MediationNetwork = {}));\n//# sourceMappingURL=Appsflyer_constants.js.map","class AppsFlyerConsentClass {\n constructor(isUserSubjectToGDPR, hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n this.isUserSubjectToGDPR = isUserSubjectToGDPR;\n this.hasConsentForDataUsage = hasConsentForDataUsage;\n this.hasConsentForAdsPersonalization = hasConsentForAdsPersonalization;\n }\n static forGDPRUser(hasConsentForDataUsage, hasConsentForAdsPersonalization) {\n return new AppsFlyerConsentClass(true, hasConsentForDataUsage, hasConsentForAdsPersonalization);\n }\n static forNonGDPRUser() {\n return new AppsFlyerConsentClass(false);\n }\n}\nexport const AppsFlyerConsent = {\n forGDPRUser: AppsFlyerConsentClass.forGDPRUser,\n forNonGDPRUser: AppsFlyerConsentClass.forNonGDPRUser,\n};\n//# sourceMappingURL=appsflyer_interfaces.js.map","import { registerPlugin } from '@capacitor/core';\nconst AppsFlyer = registerPlugin('AppsFlyerPlugin', {});\nexport * from './definitions';\nexport * from './Appsflyer_constants';\nexport * from './appsflyer_interfaces';\nexport { AppsFlyer };\n//# sourceMappingURL=index.js.map"],"names":["AFConstants","AFPurchaseType","MediationNetwork","registerPlugin"],"mappings":";;;AAAWA;IACX,CAAC,UAAU,WAAW,EAAE;IACxB,IAAI,WAAW,CAAC,yBAAyB,CAAC,GAAG,yBAAyB;IACtE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB;IAChE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB;IAChE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB;IAChE,IAAI,WAAW,CAAC,qBAAqB,CAAC,GAAG,qBAAqB;IAC9D,IAAI,WAAW,CAAC,eAAe,CAAC,GAAG,eAAe;IAClD,IAAI,WAAW,CAAC,cAAc,CAAC,GAAG,cAAc;IAChD,CAAC,EAAEA,mBAAW,KAAKA,mBAAW,GAAG,EAAE,CAAC,CAAC;AAC1BC;IACX,CAAC,UAAU,cAAc,EAAE;IAC3B,IAAI,cAAc,CAAC,iBAAiB,CAAC,GAAG,mBAAmB;IAC3D,IAAI,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc;IACnD,CAAC,EAAEA,sBAAc,KAAKA,sBAAc,GAAG,EAAE,CAAC,CAAC;AAChCC;IACX,CAAC,UAAU,gBAAgB,EAAE;IAC7B,IAAI,gBAAgB,CAAC,YAAY,CAAC,GAAG,YAAY;IACjD,IAAI,gBAAgB,CAAC,cAAc,CAAC,GAAG,cAAc;IACrD,IAAI,gBAAgB,CAAC,cAAc,CAAC,GAAG,cAAc;IACrD,IAAI,gBAAgB,CAAC,OAAO,CAAC,GAAG,OAAO;IACvC,IAAI,gBAAgB,CAAC,UAAU,CAAC,GAAG,UAAU;IAC7C,IAAI,gBAAgB,CAAC,QAAQ,CAAC,GAAG,QAAQ;IACzC,IAAI,gBAAgB,CAAC,OAAO,CAAC,GAAG,OAAO;IACvC,IAAI,gBAAgB,CAAC,UAAU,CAAC,GAAG,UAAU;IAC7C,IAAI,gBAAgB,CAAC,QAAQ,CAAC,GAAG,QAAQ;IACzC,IAAI,gBAAgB,CAAC,YAAY,CAAC,GAAG,YAAY;IACjD,IAAI,gBAAgB,CAAC,OAAO,CAAC,GAAG,OAAO;IACvC,IAAI,gBAAgB,CAAC,WAAW,CAAC,GAAG,WAAW;IAC/C,IAAI,gBAAgB,CAAC,kBAAkB,CAAC,GAAG,kBAAkB;IAC7D,IAAI,gBAAgB,CAAC,6BAA6B,CAAC,GAAG,6BAA6B;IACnF,CAAC,EAAEA,wBAAgB,KAAKA,wBAAgB,GAAG,EAAE,CAAC,CAAC;;IC/B/C,MAAM,qBAAqB,CAAC;IAC5B,IAAI,WAAW,CAAC,mBAAmB,EAAE,sBAAsB,EAAE,+BAA+B,EAAE;IAC9F,QAAQ,IAAI,CAAC,mBAAmB,GAAG,mBAAmB;IACtD,QAAQ,IAAI,CAAC,sBAAsB,GAAG,sBAAsB;IAC5D,QAAQ,IAAI,CAAC,+BAA+B,GAAG,+BAA+B;IAC9E,IAAI;IACJ,IAAI,OAAO,WAAW,CAAC,sBAAsB,EAAE,+BAA+B,EAAE;IAChF,QAAQ,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,sBAAsB,EAAE,+BAA+B,CAAC;IACvG,IAAI;IACJ,IAAI,OAAO,cAAc,GAAG;IAC5B,QAAQ,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC;IAC/C,IAAI;IACJ;AACY,UAAC,gBAAgB,GAAG;IAChC,IAAI,WAAW,EAAE,qBAAqB,CAAC,WAAW;IAClD,IAAI,cAAc,EAAE,qBAAqB,CAAC,cAAc;IACxD;;ACfK,UAAC,SAAS,GAAGC,mBAAc,CAAC,iBAAiB,EAAE,EAAE;;;;;;;;;;;"}
|
|
@@ -5,7 +5,7 @@ import AppsFlyerLib
|
|
|
5
5
|
|
|
6
6
|
@objc(AppsFlyerPlugin)
|
|
7
7
|
public class AppsFlyerPlugin: CAPPlugin {
|
|
8
|
-
private let APPSFLYER_PLUGIN_VERSION = "6.17.
|
|
8
|
+
private let APPSFLYER_PLUGIN_VERSION = "6.17.91-rc1"
|
|
9
9
|
private var conversion = true
|
|
10
10
|
private var oaoa = true
|
|
11
11
|
private var udl = false
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appsflyer-capacitor-plugin",
|
|
3
|
-
"version": "6.17.
|
|
3
|
+
"version": "6.17.91-rc1",
|
|
4
4
|
"iosSdkVersion": "6.17.9",
|
|
5
5
|
"androidSdkVersion": "6.17.6",
|
|
6
|
-
"buildNumber": "
|
|
6
|
+
"buildNumber": "131",
|
|
7
7
|
"description": "AppsFlyer SDK plugin for Capacitor",
|
|
8
8
|
"main": "dist/plugin.cjs.js",
|
|
9
9
|
"module": "dist/esm/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"package.json",
|
|
19
19
|
"README.md",
|
|
20
20
|
"tsconfig.json",
|
|
21
|
-
"rollup.config.
|
|
21
|
+
"rollup.config.mjs",
|
|
22
22
|
"AppsflyerCapacitorPlugin.podspec"
|
|
23
23
|
],
|
|
24
24
|
"author": "Dani Koza",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
44
44
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
|
|
45
45
|
"eslint": "eslint . --ext ts",
|
|
46
|
-
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
|
|
46
|
+
"prettier": "prettier --plugin=prettier-plugin-java \"**/*.{css,html,ts,js,java}\"",
|
|
47
47
|
"swiftlint": "node-swiftlint",
|
|
48
48
|
"docgen": "docgen --api AppsFlyerPlugin --output-readme README.md --output-json dist/docs.json",
|
|
49
|
-
"build": "npm run clean && tsc && rollup -c rollup.config.
|
|
49
|
+
"build": "npm run clean && tsc && rollup -c rollup.config.mjs",
|
|
50
50
|
"clean": "rimraf ./dist",
|
|
51
51
|
"watch": "tsc --watch",
|
|
52
52
|
"prepublishOnly": "npm run build",
|
|
@@ -55,23 +55,23 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@angular/cli": "^12.1.1",
|
|
57
57
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
58
|
-
"@capacitor/android": "^
|
|
59
|
-
"@capacitor/core": "^
|
|
58
|
+
"@capacitor/android": "^8.0.0",
|
|
59
|
+
"@capacitor/core": "^8.0.0",
|
|
60
60
|
"@capacitor/docgen": "^0.2.0",
|
|
61
|
-
"@capacitor/ios": "^
|
|
61
|
+
"@capacitor/ios": "^8.0.0",
|
|
62
62
|
"@ionic/eslint-config": "^0.4.0",
|
|
63
|
-
"@ionic/prettier-config": "^
|
|
64
|
-
"@ionic/swiftlint-config": "^
|
|
65
|
-
"eslint": "^8.57.
|
|
66
|
-
"prettier": "
|
|
67
|
-
"prettier-plugin-java": "
|
|
68
|
-
"rimraf": "^
|
|
69
|
-
"rollup": "^
|
|
70
|
-
"swiftlint": "^
|
|
71
|
-
"typescript": "~
|
|
63
|
+
"@ionic/prettier-config": "^4.0.0",
|
|
64
|
+
"@ionic/swiftlint-config": "^2.0.0",
|
|
65
|
+
"eslint": "^8.57.1",
|
|
66
|
+
"prettier": "^3.x",
|
|
67
|
+
"prettier-plugin-java": "^2.x",
|
|
68
|
+
"rimraf": "^6.1.3",
|
|
69
|
+
"rollup": "^4.x",
|
|
70
|
+
"swiftlint": "^2.0.0",
|
|
71
|
+
"typescript": "~5.7.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@capacitor/core": ">=
|
|
74
|
+
"@capacitor/core": ">=8.0.0"
|
|
75
75
|
},
|
|
76
76
|
"prettier": "@ionic/prettier-config",
|
|
77
77
|
"swiftlint": "@ionic/swiftlint-config",
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
export enum AFConstants
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export enum AFConstants {
|
|
2
|
+
onConversionDataSuccess = 'onConversionDataSuccess',
|
|
3
|
+
onConversionDataFail = 'onConversionDataFail',
|
|
4
|
+
onAppOpenAttribution = 'onAppOpenAttribution',
|
|
5
|
+
onAttributionFailure = 'onAttributionFailure',
|
|
6
|
+
CONVERSION_CALLBACK = 'conversion_callback',
|
|
7
|
+
OAOA_CALLBACK = 'oaoa_callback',
|
|
8
|
+
UDL_CALLBACK = 'udl_callback',
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
export enum AFPurchaseType {
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
oneTimePurchase = 'one_time_purchase',
|
|
13
|
+
subscription = 'subscription',
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
export enum MediationNetwork {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
17
|
+
IRONSOURCE = 'ironsource',
|
|
18
|
+
APPLOVIN_MAX = 'applovin_max',
|
|
19
|
+
GOOGLE_ADMOB = 'google_admob',
|
|
20
|
+
FYBER = 'fyber',
|
|
21
|
+
APPODEAL = 'appodeal',
|
|
22
|
+
ADMOST = 'admost',
|
|
23
|
+
TOPON = 'topon',
|
|
24
|
+
TRADPLUS = 'tradplus',
|
|
25
|
+
YANDEX = 'yandex',
|
|
26
|
+
CHARTBOOST = 'chartboost',
|
|
27
|
+
UNITY = 'unity',
|
|
28
|
+
TOPON_PTE = 'topon_pte',
|
|
29
|
+
CUSTOM_MEDIATION = 'custom_mediation',
|
|
30
|
+
DIRECT_MONETIZATION_NETWORK = 'direct_monetization_network',
|
|
31
|
+
}
|