capacitor-actito-loyalty 5.2.0 → 5.3.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 5.3.0
4
+
5
+ - Bump minimum deployment target to iOS 15 for XCode 27 compatibility
6
+ - Deprecate `announcement` authorization option and `allowAnnouncement` category option as they have no effect on iOS 15 and later
7
+
8
+ #### Native changes
9
+
10
+ ##### Android
11
+
12
+ - Add string resources support for beacons foreground service notification title and text
13
+ - Fix alert type notification dismissal during configuration changes
14
+ - Fix notification activity action bar state during configuration changes
15
+ - Fix scrolling for alert notification with actions when required
16
+
3
17
  ## 5.2.0
4
18
 
5
19
  - Add new Pass notification type (re.notifica.notification.Pass)
@@ -1,7 +1,7 @@
1
1
  require 'json'
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
- actito_version = '5.2.0'
4
+ actito_version = '5.3.0'
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'CapacitorActitoLoyalty'
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12
12
  s.author = package['author']
13
13
  s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
14
14
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
15
- s.ios.deployment_target = '14.0'
15
+ s.ios.deployment_target = '15.0'
16
16
  s.dependency 'Capacitor'
17
17
  s.dependency 'Actito/ActitoKit', actito_version
18
18
  s.dependency 'Actito/ActitoLoyaltyKit', actito_version
package/Package.swift CHANGED
@@ -3,7 +3,7 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "CapacitorActitoLoyalty",
6
- platforms: [.iOS(.v14)],
6
+ platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
9
  name: "CapacitorActitoLoyalty",
@@ -11,7 +11,7 @@ let package = Package(
11
11
  ],
12
12
  dependencies: [
13
13
  .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", "7.0.0"..<"9.0.0"),
14
- .package(url: "https://github.com/Actito/actito-sdk-ios.git", from: "5.2.0"),
14
+ .package(url: "https://github.com/Actito/actito-sdk-ios.git", from: "5.3.0"),
15
15
  ],
16
16
  targets: [
17
17
  .target(
package/README.md CHANGED
@@ -38,7 +38,7 @@ Table of contents
38
38
  ## Requirements
39
39
 
40
40
  * Android 6 (API level 23) and above
41
- * iOS 13 and above
41
+ * iOS 15 and above
42
42
 
43
43
 
44
44
  ## Getting Started
@@ -59,7 +59,7 @@ dependencies {
59
59
 
60
60
  implementation 'androidx.appcompat:appcompat:1.7.1'
61
61
 
62
- def actito_version = '5.2.0'
62
+ def actito_version = '5.3.0'
63
63
  api "com.actito:actito:$actito_version"
64
64
  api "com.actito:actito-loyalty:$actito_version"
65
65
  }
@@ -13,9 +13,10 @@ public class ActitoLoyaltyPlugin: CAPPlugin, CAPBridgedPlugin {
13
13
  CAPPluginMethod(name: "present", returnType: CAPPluginReturnPromise),
14
14
  ]
15
15
 
16
+ @MainActor
16
17
  private var rootViewController: UIViewController? {
17
18
  get {
18
- UIApplication.shared.delegate?.window??.rootViewController
19
+ bridge?.viewController
19
20
  }
20
21
  }
21
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-actito-loyalty",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "description": "Actito Loyalty Capacitor plugin.",
5
5
  "author": "Actito <mobile@actito.com> (https://actito.com)",
6
6
  "license": "MIT",
@@ -51,14 +51,14 @@
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@capacitor/core": "3 - 8",
54
- "capacitor-actito": "5.2.0"
54
+ "capacitor-actito": "5.3.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@capacitor/android": "^8.0.0",
58
58
  "@capacitor/core": "^8.0.0",
59
59
  "@capacitor/docgen": "^0.3.1",
60
60
  "@capacitor/ios": "^8.0.0",
61
- "capacitor-actito": "5.2.0",
61
+ "capacitor-actito": "5.3.0",
62
62
  "rimraf": "^6.1.2",
63
63
  "rollup": "^2.79.2",
64
64
  "typescript": "^5.9.3"
@@ -71,5 +71,5 @@
71
71
  "src": "android"
72
72
  }
73
73
  },
74
- "gitHead": "2157eda5c9370bf9d4188c0aea958ec067b6b142"
74
+ "gitHead": "86b26225e2c72a797f6ee39236d3503617cd1594"
75
75
  }