Skip to content

Commit

Permalink
Merge pull request #194 from urbanairship/release-7.3.0
Browse files Browse the repository at this point in the history
Release 7.3.0
  • Loading branch information
crow authored Dec 7, 2023
2 parents dd5e56b + 155a348 commit 910518b
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# https://help.github.com/en/articles/about-code-owners
* @BrianBatchelder @marc-scig @crow @rlepinski
* @jyaganeh @Apekka @crow @rlepinski @khmMouna @Ulirco972 @oristanovic
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Flutter Plugin Changelog

## Version 7.3.0 - December 6, 2023
Minor release that updates the iOS SDK to 17.7.0 and Android SDK to 17.6.0 and adds support for notifying the contact of a remote login.

### Changes
- Updated iOS SDK to 17.7.0
- Updated Android SDK to 17.6.0
- Added `Airship.contact.notifyRemoteLogin()` method to notify contact of remote login

## Version 7.2.0 - November 27, 2023
Minor release that improves Feature Flag support on iOS.

Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
ext.kotlin_version = '1.7.10'
ext.coroutine_version = '1.5.2'
ext.datastore_preferences_version = '1.0.0'
ext.airship_version = '17.2.1'
ext.airship_framework_proxy_version = '5.0.2'
ext.airship_version = '17.6.0'
ext.airship_framework_proxy_version = '5.1.0'

repositories {
google()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class AirshipPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {

// Contact
"contact#reset" -> result.resolveResult(call) { proxy.contact.reset() }
"contact#notifyRemoteLogin" -> result.resolveResult(call) { proxy.contact.notifyRemoteLogin() }
"contact#identify" -> result.resolveResult(call) { proxy.contact.identify(call.stringArg()) }
"contact#getNamedUserId" -> result.resolveResult(call) { proxy.contact.getNamedUserId() }
"contact#editTagGroups" -> result.resolveResult(call) { proxy.contact.editTagGroups(call.jsonArgs()) }
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 = "7.2.0"
const val AIRSHIP_PLUGIN_VERSION = "7.3.0"
}
}
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 = "7.2.0"
static let pluginVersion = "7.3.0"
}
4 changes: 4 additions & 0 deletions ios/Classes/SwiftAirshipPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ public class SwiftAirshipPlugin: NSObject, FlutterPlugin {
try AirshipProxy.shared.contact.reset()
return nil

case "contact#notifyRemoteLogin":
try AirshipProxy.shared.contact.notifyRemoteLogin()
return nil

case "contact#getNamedUserId":
return try await AirshipProxy.shared.contact.getNamedUser()

Expand Down
4 changes: 2 additions & 2 deletions ios/airship_flutter.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

AIRSHIP_FLUTTER_VERSION="7.2.0"
AIRSHIP_FLUTTER_VERSION="7.3.0"

#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
Expand All @@ -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", "5.0.2"
s.dependency "AirshipFrameworkProxy", "5.1.0"
end

5 changes: 5 additions & 0 deletions lib/src/airship_contact.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ class AirshipContact {
return await _module.channel.invokeMethod('contact#reset');
}

/// Notifies the contact of a remote login.
Future<void> notifyRemoteLogin() async {
return await _module.channel.invokeMethod('contact#notifyRemoteLogin');
}

/// Creates an [AttributeEditor] to modify the named user attributes.
AttributeEditor editAttributes() {
return AttributeEditor('contact#editAttributes', _module.channel);
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: 7.2.0
version: 7.3.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 910518b

Please sign in to comment.