diff --git a/CHANGELOG.md b/CHANGELOG.md index d08dafec..edaffd2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # React Native Module Changelog +## Version 17.3.0 - April 9, 2024 +Minor release that fixes running Airship actions, exposes more custom event fields, and updates the iOS SDK to 17.9.1 and the Android SDK to 17.7.4. + +### Changes +- Fixed running Airship actions with a single primitive typed action value +- Exposed `interactionId` and `interactionType` fields in `CustomEvent` +- Updated iOS SDK to 17.9.1 +- Updated Android SDK to 17.7.4 + ## Version 17.2.1 - March 19, 2024 Patch release that updates the HMS Push Provider version to 17.7.3, the iOS SDK to 17.9.0 and the Android SDK to 17.7.3. diff --git a/android/gradle.properties b/android/gradle.properties index 3e69817f..a970347f 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -4,8 +4,8 @@ Airship_targetSdkVersion=31 Airship_compileSdkVersion=31 Airship_ndkversion=21.4.7075529 -Airship_airshipProxyVersion=5.4.0 +Airship_airshipProxyVersion=5.4.2 # workaround for now, used for HMS -Airship_airshipVersion=17.7.3 +Airship_airshipVersion=17.7.4 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index ab9ed198..9fa50702 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,24 +1,24 @@ PODS: - - Airship (17.7.3): - - Airship/Automation (= 17.7.3) - - Airship/Basement (= 17.7.3) - - Airship/Core (= 17.7.3) - - Airship/FeatureFlags (= 17.7.3) - - Airship/MessageCenter (= 17.7.3) - - Airship/PreferenceCenter (= 17.7.3) - - Airship/Automation (17.7.3): + - Airship (17.9.1): + - Airship/Automation (= 17.9.1) + - Airship/Basement (= 17.9.1) + - Airship/Core (= 17.9.1) + - Airship/FeatureFlags (= 17.9.1) + - Airship/MessageCenter (= 17.9.1) + - Airship/PreferenceCenter (= 17.9.1) + - Airship/Automation (17.9.1): - Airship/Core - - Airship/Basement (17.7.3) - - Airship/Core (17.7.3): + - Airship/Basement (17.9.1) + - Airship/Core (17.9.1): - Airship/Basement - - Airship/FeatureFlags (17.7.3): + - Airship/FeatureFlags (17.9.1): - Airship/Core - - Airship/MessageCenter (17.7.3): + - Airship/MessageCenter (17.9.1): - Airship/Core - - Airship/PreferenceCenter (17.7.3): + - Airship/PreferenceCenter (17.9.1): - Airship/Core - - AirshipFrameworkProxy (5.1.1): - - Airship (= 17.7.3) + - AirshipFrameworkProxy (5.4.2): + - Airship (= 17.9.1) - boost (1.83.0) - CocoaAsyncSocket (7.6.5) - DoubleConversion (1.1.6) @@ -964,8 +964,8 @@ PODS: - React-Mapbuffer (0.73.4): - glog - React-debug - - react-native-airship (17.2.1): - - AirshipFrameworkProxy (= 5.1.1) + - react-native-airship (17.3.0): + - AirshipFrameworkProxy (= 5.4.2) - glog - RCT-Folly (= 2022.05.16.00) - React-Core @@ -1366,8 +1366,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - Airship: 5a6d3f8a982398940b0d48423bb9b8736717c123 - AirshipFrameworkProxy: 7255f4ed9836dc2920f2f1ea5657ced4cee8a35c + Airship: 930309dbea14bafe98a8fac8e3ab5bd90ab95501 + AirshipFrameworkProxy: 9affee5911eeae2a780ecc7c3d854a5b38b0bfd3 boost: d3f49c53809116a5d38da093a8aa78bf551aed09 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 @@ -1407,7 +1407,7 @@ SPEC CHECKSUMS: React-jsinspector: 9ac353eccf6ab54d1e0a33862ba91221d1e88460 React-logger: 0a57b68dd2aec7ff738195f081f0520724b35dab React-Mapbuffer: 63913773ed7f96b814a2521e13e6d010282096ad - react-native-airship: 876b0976076f1f85a8dc3722669db2702accfe68 + react-native-airship: 9db31c6a6dac4e6bd75a725cf41670fee944df5c react-native-safe-area-context: b97eb6f9e3b7f437806c2ce5983f479f8eb5de4b React-nativeconfig: d7af5bae6da70fa15ce44f045621cf99ed24087c React-NativeModulesApple: 0123905d5699853ac68519607555a9a4f5c7b3ac diff --git a/ios/AirshipReactNative.swift b/ios/AirshipReactNative.swift index dfa7b7bc..27dbeb5a 100644 --- a/ios/AirshipReactNative.swift +++ b/ios/AirshipReactNative.swift @@ -36,7 +36,7 @@ public class AirshipReactNative: NSObject { AirshipProxy.shared } - public static let version: String = "17.2.1" + public static let version: String = "17.3.0" private let eventNotifier = EventNotifier() @@ -477,12 +477,12 @@ public extension AirshipReactNative { ) } - @objc + @MainActor @objc func messageCenterDismiss() throws { return try AirshipProxy.shared.messageCenter.dismiss() } - @objc + @MainActor @objc func messageCenterDisplay(messageId: String?) throws { try AirshipProxy.shared.messageCenter.display(messageID: messageId) } diff --git a/package-lock.json b/package-lock.json index a3227089..cd843505 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ua/react-native-airship", - "version": "17.2.1", + "version": "17.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ua/react-native-airship", - "version": "17.2.1", + "version": "17.3.0", "license": "Apache-2.0", "devDependencies": { "@commitlint/config-conventional": "^17.0.2", diff --git a/package.json b/package.json index 41c35e33..0c4930fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ua/react-native-airship", - "version": "17.2.1", + "version": "17.3.0", "description": "Airship plugin for React Native apps.", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/react-native-airship.podspec b/react-native-airship.podspec index d82d0c0e..37e04ea7 100644 --- a/react-native-airship.podspec +++ b/react-native-airship.podspec @@ -24,6 +24,6 @@ Pod::Spec.new do |s| - s.dependency "AirshipFrameworkProxy", "5.1.1" + s.dependency "AirshipFrameworkProxy", "5.4.2" end