appsflyer-capacitor-plugin 6.9.2-cap3 → 6.9.2-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.
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12
12
  s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
13
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.static_framework = true
15
- s.ios.deployment_target = '12.0'
15
+ s.ios.deployment_target = '13.0'
16
16
  s.dependency 'Capacitor'
17
17
  s.swift_version = '5.1'
18
18
 
package/README.md CHANGED
@@ -17,10 +17,12 @@
17
17
  - Android AppsFlyer SDK **6.9.2️**
18
18
  - iOS AppsFlyer SDK **6.9.0**
19
19
 
20
- <!---
21
- ## <a id="breaking-changes"> ❗❗ Breaking changes when updating to ✏️v*.*.*✏️❗❗
20
+ ## <a id="breaking-changes"> ❗❗ Breaking changes when updating to v6.9.2❗❗
21
+ Starting from v6.9.2, this plugin works only with Capacitor 4. </br>
22
+ If you are still interested in using Capacitor 3, please follow the instructions [here](/docs/Installation.md#cap3) to install the latest version that supports Capacitor 3.
23
+
22
24
 
23
- ✏️✏️ Breaking changes if there is ✏️✏️
25
+ <!---
24
26
 
25
27
  ## <a id="migration"> ⏩ Migration
26
28
 
@@ -1,18 +1,18 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0'
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
6
6
  }
7
7
 
8
8
  buildscript {
9
- ext.kotlin_version = '1.5.20'
9
+ ext.kotlin_version = '1.6.10'
10
10
  repositories {
11
11
  google()
12
12
  mavenCentral()
13
13
  }
14
14
  dependencies {
15
- classpath 'com.android.tools.build:gradle:4.2.2'
15
+ classpath 'com.android.tools.build:gradle:7.2.2'
16
16
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
17
17
 
18
18
  }
@@ -24,7 +24,7 @@ apply plugin: 'kotlin-android'
24
24
  android {
25
25
  compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
26
26
  defaultConfig {
27
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
27
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
28
28
  targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
29
29
  versionCode 1
30
30
  versionName "1.0"
@@ -59,7 +59,7 @@ dependencies {
59
59
  testImplementation "junit:junit:$junitVersion"
60
60
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
61
61
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
62
- implementation "androidx.core:core-ktx:1.6.0"
62
+ implementation "androidx.core:core-ktx:1.8.0"
63
63
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
64
64
 
65
65
  implementation 'com.appsflyer:af-android-sdk:6.9.2'
@@ -46,15 +46,12 @@ object AFHelpers {
46
46
  fun jsonToBundle(json: JSObject?): Bundle? {
47
47
  val bundle = Bundle()
48
48
  json?.run {
49
-
50
-
51
49
  val iterator: Iterator<*> = keys()
52
50
  while (iterator.hasNext()) {
53
51
  val key = iterator.next() as String
54
52
  val value =get(key) as String
55
53
  bundle.putString(key,value )
56
54
  }
57
-
58
55
  }
59
56
  return bundle
60
57
  }
@@ -1,6 +1,6 @@
1
1
  package capacitor.plugin.appsflyer.sdk
2
2
 
3
- const val TAG = "AppsFlyer_6.3.50_Cap"
3
+ const val TAG = "AppsFlyer_Cap"
4
4
  const val AF_APP_ID = "appID"
5
5
  const val AF_DEV_KEY = "devKey"
6
6
  const val AF_DEBUG = "isDebug"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appsflyer-capacitor-plugin",
3
- "version": "6.9.2-cap3",
3
+ "version": "6.9.2-rc1",
4
4
  "iosSdkVersion": "6.9.0",
5
5
  "description": "AppsFlyer SDK plugin for Capacitor",
6
6
  "main": "dist/plugin.cjs.js",
@@ -52,10 +52,10 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@angular/cli": "^12.1.1",
55
- "@capacitor/android": "^3.0.0",
56
- "@capacitor/core": "^3.0.0",
57
- "@capacitor/docgen": "0.0.10",
58
- "@capacitor/ios": "^3.0.0",
55
+ "@capacitor/android": "^4.0.0",
56
+ "@capacitor/core": "^4.0.0",
57
+ "@capacitor/docgen": "^0.2.0",
58
+ "@capacitor/ios": "^4.0.0",
59
59
  "@ionic/eslint-config": "^0.3.0",
60
60
  "@ionic/prettier-config": "^1.0.1",
61
61
  "@ionic/swiftlint-config": "^1.1.2",
@@ -68,7 +68,7 @@
68
68
  "typescript": "~4.0.3"
69
69
  },
70
70
  "peerDependencies": {
71
- "@capacitor/core": "^3.0.0"
71
+ "@capacitor/core": "^4.0.0"
72
72
  },
73
73
  "prettier": "@ionic/prettier-config",
74
74
  "swiftlint": "@ionic/swiftlint-config",