Skip to content

Commit

Permalink
Release 6.2.2 (#159)
Browse files Browse the repository at this point in the history
* Fix notification ID inconsistency

* Release 6.2.2

---------

Co-authored-by: Ryan Lepinski <[email protected]>
  • Loading branch information
rlepinski and rlepinski authored Feb 7, 2023
1 parent d2fa088 commit 8700b83
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# Flutter Plugin Changelog

## Version 6.2.2 - February 7, 2023
Patch release with several bug fixes.

### Changes
- Updated iOS SDK to 16.10.7
- Added extended actions pod spec to iOS, enabling rate-app action
- Fixed parsing active notifications on iOS
- Fixed ChannelRegistration event not firing on channel create on iOS
- Fixed push received events on iOS

## Version 6.2.1 - December 2, 2022
Minor release that updates the Airship iOS SDK to 16.10.5.
Patch release that updates the Airship iOS SDK to 16.10.5.

## Version 6.2.0 - November 18, 2022
Minor release that updates the Airship iOS SDK to 16.10.3 and Android SDK to 16.8.0.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Airship Flutter plugin allows using Airship's native iOS and Android APIs wi

```yaml
dependencies:
airship_flutter: ^6.2.1
airship_flutter: ^6.2.2
```
2. Install your flutter package dependencies by running the following in the command line at your project's root directory:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package com.airship.flutter

class AirshipPluginVersion {
companion object {
const val AIRSHIP_PLUGIN_VERSION = "6.2.0"
const val AIRSHIP_PLUGIN_VERSION = "6.2.2"
}
}
2 changes: 1 addition & 1 deletion android/src/main/kotlin/com/airship/flutter/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fun NotificationInfo.eventData() : JsonMap {
.putOpt("title", message.title)
.putOpt("subtitle", message.summary)
.putOpt("extras", message.toJsonValue())
.putOpt("notification_id", canonicalNotificationId())
.putOpt("notificationId", canonicalNotificationId())
.build()
}

Expand Down
1 change: 0 additions & 1 deletion android/src/main/kotlin/com/airship/flutter/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class Utils {
notification["extras"] = extras;

if (notificationId != null) {
notification["notification_id"] = notificationId
notification["notificationId"] = getNotificationId(notificationId, notificationTag)
}
return notification
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/AirshipPluginVersion.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation

class AirshipPluginVersion {
static let pluginVersion = "6.2.1"
static let pluginVersion = "6.2.2"
}
2 changes: 1 addition & 1 deletion ios/airship_flutter.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

AIRSHIP_FLUTTER_VERSION="6.2.1"
AIRSHIP_FLUTTER_VERSION="6.2.2"

#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
Expand Down
2 changes: 1 addition & 1 deletion lib/src/airship_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Notification {
this.notificationId, this.alert, this.title, this.subtitle, this.extras);

static Notification _fromJson(Map<String, dynamic> json) {
var notificationId = json["notification_id"];
var notificationId = json["notificationId"];
var alert = json["alert"];
var title = json["title"];
var subtitle = json["subtitle"];
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: airship_flutter
description: "Cross-platform plugin interface for the native Airship iOS and Android SDKs. Simplifies adding Airship to Flutter apps."
version: 6.2.1
version: 6.2.2
homepage: https://www.airship.com/
repository: https://github.com/urbanairship/airship-flutter
issue_tracker: https://github.com/urbanairship/airship-flutter/issues
Expand Down

0 comments on commit 8700b83

Please sign in to comment.