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.
@@ -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.0'
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 7</br>
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>
@@ -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.0'
133
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
134
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
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 : '1.9.25'
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.7.2'
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 : 35
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 : 23
161
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
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
- lintOptions {
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;IACnB,kEAAmD,CAAA;IACnD,4DAA6C,CAAA;IAC7C,4DAA6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AAe,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"}
@@ -1,4 +1,4 @@
1
- import type { MediationNetwork, AFPurchaseType } from "./Appsflyer_constants";
1
+ import type { MediationNetwork, AFPurchaseType } from './Appsflyer_constants';
2
2
  export interface AFInit {
3
3
  devKey: string;
4
4
  appID: string;
@@ -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":"AA4HA,MAAM,qBAAqB;IAKvB,YAAoB,mBAA4B,EAAE,sBAAgC,EAAE,+BAAyC;QACzH,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAC;IAC3E,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,sBAA+B,EAAE,+BAAwC;QACxF,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,sBAAsB,EAAE,+BAA+B,CAAC,CAAC;IACpG,CAAC;IAED,MAAM,CAAC,cAAc;QACjB,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;CACJ;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,WAAW,EAAE,qBAAqB,CAAC,WAAW;IAC9C,cAAc,EAAE,qBAAqB,CAAC,cAAc;CACvD,CAAC"}
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 "@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";
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
- * 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
- */
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.
@@ -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,EACpE,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,CAAC"}
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"}
@@ -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', {});
@@ -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\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,6BAAY;AACvB,CAAC,UAAU,WAAW,EAAE;AACxB,IAAI,WAAW,CAAC,yBAAyB,CAAC,GAAG,yBAAyB,CAAC;AACvE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;AACjE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;AACjE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;AACjE,IAAI,WAAW,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,CAAC;AAC/D,IAAI,WAAW,CAAC,eAAe,CAAC,GAAG,eAAe,CAAC;AACnD,IAAI,WAAW,CAAC,cAAc,CAAC,GAAG,cAAc,CAAC;AACjD,CAAC,EAAEA,mBAAW,KAAKA,mBAAW,GAAG,EAAE,CAAC,CAAC,CAAC;AAC3BC,gCAAe;AAC1B,CAAC,UAAU,cAAc,EAAE;AAC3B,IAAI,cAAc,CAAC,iBAAiB,CAAC,GAAG,mBAAmB,CAAC;AAC5D,IAAI,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAAC;AACpD,CAAC,EAAEA,sBAAc,KAAKA,sBAAc,GAAG,E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L,IAAI,OAAO,WAAW,CAAC,sBAAsB,EAAE,+BAA+B,EAAE;AAChF,QAAQ,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,sBAAsB,EAAE,+BAA+B,CAAC,CAAC;AACxG,KAAK;AACL,IAAI,OAAO,cAAc,GAAG;AAC5B,QAAQ,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAChD,KAAK;AACL,CAAC;AACW,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;;;;;"}
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,WAA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BAAgB,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);
@@ -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\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,iCAAY;IACvB,CAAC,UAAU,WAAW,EAAE;IACxB,IAAI,WAAW,CAAC,yBAAyB,CAAC,GAAG,yBAAyB,CAAC;IACvE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;IACjE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;IACjE,IAAI,WAAW,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;IACjE,IAAI,WAAW,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,CAAC;IAC/D,IAAI,WAAW,CAAC,eAAe,CAAC,GAAG,eAAe,CAAC;IACnD,IAAI,WAAW,CAA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A,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,CAAC;IACvD,QAAQ,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IAC7D,QAAQ,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAC;IAC/E,KAAK;IACL,IAAI,OAAO,WAAW,CAAC,sBAAsB,EAAE,+BAA+B,EAAE;IAChF,QAAQ,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,sBAAsB,EAAE,+BAA+B,CAAC,CAAC;IACxG,KAAK;IACL,IAAI,OAAO,cAAc,GAAG;IAC5B,QAAQ,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAChD,KAAK;IACL,CAAC;AACW,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;;;;;;;;;;;;;"}
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;IACz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6
6
  @objc(AppsFlyerPlugin)
7
7
  public class AppsFlyerPlugin: CAPPlugin {
8
- private let APPSFLYER_PLUGIN_VERSION = "6.17.9"
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.9",
3
+ "version": "6.17.91-rc1",
4
4
  "iosSdkVersion": "6.17.9",
5
5
  "androidSdkVersion": "6.17.6",
6
- "buildNumber": "30",
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.js",
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.js",
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": "^7.0.0",
59
- "@capacitor/core": "^7.0.0",
58
+ "@capacitor/android": "^8.0.0",
59
+ "@capacitor/core": "^8.0.0",
60
60
  "@capacitor/docgen": "^0.2.0",
61
- "@capacitor/ios": "^7.0.0",
61
+ "@capacitor/ios": "^8.0.0",
62
62
  "@ionic/eslint-config": "^0.4.0",
63
- "@ionic/prettier-config": "^1.0.1",
64
- "@ionic/swiftlint-config": "^1.1.2",
65
- "eslint": "^8.57.0",
66
- "prettier": "~2.2.0",
67
- "prettier-plugin-java": "~1.0.0",
68
- "rimraf": "^3.0.2",
69
- "rollup": "^2.32.0",
70
- "swiftlint": "^1.0.1",
71
- "typescript": "~4.0.3"
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": ">=7.0.0"
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
- 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',
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
- oneTimePurchase = 'one_time_purchase',
14
- subscription = 'subscription'
12
+ oneTimePurchase = 'one_time_purchase',
13
+ subscription = 'subscription',
15
14
  }
16
15
 
17
16
  export enum MediationNetwork {
18
- IRONSOURCE = "ironsource",
19
- APPLOVIN_MAX = "applovin_max",
20
- GOOGLE_ADMOB = "google_admob",
21
- FYBER = "fyber",
22
- APPODEAL = "appodeal",
23
- ADMOST = "admost",
24
- TOPON = "topon",
25
- TRADPLUS = "tradplus",
26
- YANDEX = "yandex",
27
- CHARTBOOST = "chartboost",
28
- UNITY = "unity",
29
- TOPON_PTE = "topon_pte",
30
- CUSTOM_MEDIATION = "custom_mediation",
31
- DIRECT_MONETIZATION_NETWORK = "direct_monetization_network",
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
+ }