Skip to content

Commit

Permalink
Release 7.10 (#183)
Browse files Browse the repository at this point in the history
* wire up resetBadgeNumber

* prepare hotfix 7.0.1

* Update proxy and changelog

# Conflicts:
#	android/build.gradle
#	ios/airship_flutter.podspec

* Release 7.1.0

---------

Co-authored-by: Ryan Lepinski <[email protected]>
  • Loading branch information
Apekka and rlepinski authored Sep 13, 2023
1 parent 2a1fc09 commit af8101d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Flutter Plugin Changelog

## Version 7.1.0 - September 13, 2023
Minor release that fixes the iOS resetBadge method, updates to latest SDK versions, and adds a new `editTags` method to batch tag changes.

### Changes
- Fixed Airship.push.ios.resetBadge()
- Updated Android SDK to 17.2.1
- Updated iOS SDK to 17.3.0
- Added `editTags()` method to batch tag changes

## Version 7.0.0 - August 21, 2023
Major release that exposes significantly more of the underlying SDK functionality to Flutter. This release has several breaking changes due to the new modular APIs. Apps should use the migration guide to update [Migration Guide](https://github.com/urbanairship/airship-flutter/blob/main/MIGRATION.md).

Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.5.31'
ext.coroutine_version = '1.5.2'
ext.airship_version = '17.2.0'
ext.airship_version = '17.2.1'

repositories {
google()
Expand Down Expand Up @@ -55,6 +55,6 @@ dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version"
implementation "com.urbanairship.android:urbanairship-fcm:$airship_version"
api "com.urbanairship.android:airship-framework-proxy:4.1.0"
api "com.urbanairship.android:airship-framework-proxy:4.2.0"
implementation "androidx.datastore:datastore-preferences:1.0.0"
}
3 changes: 3 additions & 0 deletions ios/Classes/SwiftAirshipPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ public class SwiftAirshipPlugin: NSObject, FlutterPlugin {

case "push#ios#isAutobadgeEnabled":
return try AirshipProxy.shared.push.isAutobadgeEnabled()

case "push#ios#resetBadgeNumber":
return try AirshipProxy.shared.push.setBadgeNumber(0)

case "push#ios#setNotificationOptions":
try AirshipProxy.shared.push.setNotificationOptions(
Expand Down
2 changes: 1 addition & 1 deletion ios/airship_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ Airship flutter plugin.
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.ios.deployment_target = "14.0"
s.dependency "AirshipFrameworkProxy", "4.1.0"
s.dependency "AirshipFrameworkProxy", "4.2.0"
end

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: 7.0.0
version: 7.1.0
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 af8101d

Please sign in to comment.