@rollershop/capacitor-emarsys-sdk 2.1.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Package.swift CHANGED
@@ -3,22 +3,21 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "RollershopCapacitorEmarsysSdk",
6
- platforms: [.iOS(.v15)],
6
+ platforms: [.iOS(.v16)],
7
7
  products: [
8
8
  .library(
9
9
  name: "RollershopCapacitorEmarsysSdk",
10
10
  targets: ["EmarsysPlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
13
+ .package(url: "https://github.com/ionic-team/capacitor.git", from: "9.0.0"),
14
14
  .package(url: "https://github.com/emartech/ios-emarsys-sdk.git", from: "3.10.2")
15
15
  ],
16
16
  targets: [
17
17
  .target(
18
18
  name: "EmarsysPlugin",
19
19
  dependencies: [
20
- .product(name: "Capacitor", package: "capacitor-swift-pm"),
21
- .product(name: "Cordova", package: "capacitor-swift-pm"),
20
+ .product(name: "Capacitor", package: "capacitor"),
22
21
  .product(name: "EmarsysSDKLibrary", package: "ios-emarsys-sdk"),
23
22
  ],
24
23
  path: "ios/Sources/EmarsysPlugin"),
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
11
11
  s.author = package['author']
12
12
  s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
- s.ios.deployment_target = '15.0'
14
+ s.ios.deployment_target = '16.0'
15
15
  s.dependency 'Capacitor'
16
16
  s.dependency 'EmarsysSDK', '3.10.2'
17
17
  s.swift_version = '5.1'
@@ -1,17 +1,17 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
2
+ junitVersion = rootProject.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = rootProject.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.8.0'
4
+ androidxJunitVersion = rootProject.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
5
+ androidxEspressoCoreVersion = rootProject.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
6
6
  }
7
7
 
8
8
  buildscript {
9
9
  repositories {
10
10
  google()
11
- jcenter()
11
+ mavenCentral()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:8.2.1'
14
+ classpath 'com.android.tools.build:gradle:9.4.1'
15
15
  }
16
16
  }
17
17
 
@@ -19,10 +19,9 @@ apply plugin: 'com.android.library'
19
19
 
20
20
  android {
21
21
  namespace "de.roller.emarsys"
22
- compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
22
+ compileSdk = rootProject.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 37
23
23
  defaultConfig {
24
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
25
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
24
+ minSdkVersion = rootProject.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26
26
25
  versionCode 1
27
26
  versionName "1.0"
28
27
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -30,7 +29,7 @@ android {
30
29
  buildTypes {
31
30
  release {
32
31
  minifyEnabled false
33
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
32
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
34
33
  }
35
34
  }
36
35
  lintOptions {
@@ -44,7 +43,6 @@ android {
44
43
 
45
44
  repositories {
46
45
  google()
47
- jcenter()
48
46
  mavenCentral()
49
47
  }
50
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollershop/capacitor-emarsys-sdk",
3
- "version": "2.1.0",
3
+ "version": "3.0.0-beta.1",
4
4
  "description": "Capacitor Plugin that wraps the Emarsys SDK",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -52,11 +52,11 @@
52
52
  "prepublishOnly": "pnpm build"
53
53
  },
54
54
  "devDependencies": {
55
- "@capacitor/android": "^8.0.0",
56
- "@capacitor/cli": "^8.0.0",
57
- "@capacitor/core": "^8.0.0",
55
+ "@capacitor/android": "^9.0.0",
56
+ "@capacitor/cli": "^9.0.0",
57
+ "@capacitor/core": "^9.0.0",
58
58
  "@capacitor/docgen": "^0.3.1",
59
- "@capacitor/ios": "^8.0.0",
59
+ "@capacitor/ios": "^9.0.0",
60
60
  "@commitlint/config-conventional": "20.4.3",
61
61
  "@ionic/eslint-config": "^0.4.0",
62
62
  "@ionic/prettier-config": "4.0.0",
@@ -80,7 +80,7 @@
80
80
  "typescript": "5.7.3"
81
81
  },
82
82
  "peerDependencies": {
83
- "@capacitor/core": ">=8.0.0"
83
+ "@capacitor/core": ">=9.0.0"
84
84
  },
85
85
  "prettier": "@ionic/prettier-config",
86
86
  "swiftlint": "@ionic/swiftlint-config",