Skip to content

Commit

Permalink
prepare release 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
khmMouna committed May 16, 2024
1 parent 2b5e1cf commit 38afcbc
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Capacitor Plugin Changelog

## Version 1.2.2 May 16, 2024
Patch release that updates to latest iOS Airship SDK.

### Changes
- Updated iOS SDK to 18.2.2

## Version 1.2.1 May 13, 2024
Patch release that updates to latest Airship SDKs and fixes issues with methods that take an optional string parameter on Android.

Expand Down
2 changes: 1 addition & 1 deletion UaCapacitorAirship.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '14.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
s.dependency "AirshipFrameworkProxy", "6.2.0"
s.dependency "AirshipFrameworkProxy", "6.2.2"
end
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
package com.airship.capacitor

object AirshipCapacitorVersion {
var version = "1.2.1"
var version = "1.2.2"
}
2 changes: 1 addition & 1 deletion example/DEV_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ npm install @capacitor/cli @capacitor/core
2. Install dependencies from ROOT directory:
```bash
npm i && npm run build
cd examples
cd example
npm i && npm run build
```

Expand Down
14 changes: 14 additions & 0 deletions example/src/js/capacitor-welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ window.customElements.define(
<p>
<button class="button" id="enable-push">Toggle push</button>
</p>
<p>
<button class="button" id="display-message-center">Display message center</button>
</p>
<p>
<button class="button" id="display-preference-center">Display preference center</button>
</p>
<p id="status-event">
</p>
</main>
Expand All @@ -96,6 +102,14 @@ window.customElements.define(
const isEnabled = await Airship.push.isUserNotificationsEnabled()
await Airship.push.setUserNotificationsEnabled(!isEnabled)
});

self.shadowRoot.querySelector('#display-message-center').addEventListener('click', async function (e) {
await Airship.messageCenter.display()
});

self.shadowRoot.querySelector('#display-preference-center').addEventListener('click', async function (e) {
await Airship.preferenceCenter.display("neat")
});
}
}
);
Expand Down
2 changes: 1 addition & 1 deletion ios/Plugin/AirshipCapacitorVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import Foundation

class AirshipCapacitorVersion {
static let version = "1.2.1"
static let version = "1.2.2"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ua/capacitor-airship",
"version": "1.2.1",
"version": "1.2.2",
"description": "Airship capacitor plugin",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit 38afcbc

Please sign in to comment.