From 899d0660965c6b3b218acb5f40f92b92feee227b Mon Sep 17 00:00:00 2001 From: Ryan Lepinski Date: Fri, 28 Apr 2023 16:02:29 -0700 Subject: [PATCH 1/3] Release 15.2.4 --- CHANGELOG.md | 9 +++++++++ android/gradle.properties | 2 +- example/ios/Podfile.lock | 10 +++++----- package.json | 2 +- react-native-airship.podspec | 2 +- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bde38624..d24ab4e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # React Native Module Changelog +## Version 15.2.4 - April 28, 2023 + +Patch release that fixes a issue with modifying attributes on Android and an issue with +`NotificationResponseEvent` not being received if a push with a deep link is opened. + +### Changes +- Fixed modifying attributes on Android +- Fixed issue with iOS not receiving subsequent NotificationResponseEvent + ## Version 15.2.3 - April 18, 2023 Patch release that fixes a crash on Android when running an Android device older than 7. Apps that target API 23 or older should update. diff --git a/android/gradle.properties b/android/gradle.properties index 1f67dea0..a654854e 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -4,7 +4,7 @@ Airship_targetSdkVersion=31 Airship_compileSdkVersion=31 Airship_ndkversion=21.4.7075529 -Airship_airshipProxyVersion=2.0.5 +Airship_airshipProxyVersion=2.0.6 # workaround for now, used for HMS Airship_airshipVersion=16.9.2 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 350eb5ee..93d767a7 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -16,7 +16,7 @@ PODS: - Airship/Core - Airship/PreferenceCenter (16.11.3): - Airship/Core - - AirshipFrameworkProxy (2.0.5): + - AirshipFrameworkProxy (2.0.6): - Airship (= 16.11.3) - Airship/MessageCenter (= 16.11.3) - Airship/PreferenceCenter (= 16.11.3) @@ -318,8 +318,8 @@ PODS: - React-jsinspector (0.71.1) - React-logger (0.71.1): - glog - - react-native-airship (15.2.3): - - AirshipFrameworkProxy (= 2.0.5) + - react-native-airship (15.2.4): + - AirshipFrameworkProxy (= 2.0.6) - React-Core - react-native-safe-area-context (4.5.0): - RCT-Folly @@ -583,7 +583,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Airship: c70eed50e429f97f5adb285423c7291fb7a032ae - AirshipFrameworkProxy: 2eefb77bb77b5120b0f48814b0d44439aa3ad415 + AirshipFrameworkProxy: cb516210b6e1880920de53942c716ec28fb0cecf boost: 57d2868c099736d80fcd648bf211b4431e51a558 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 @@ -617,7 +617,7 @@ SPEC CHECKSUMS: React-jsiexecutor: 60cf272aababc5212410e4249d17cea14fc36caa React-jsinspector: ff56004b0c974b688a6548c156d5830ad751ae07 React-logger: 60a0b5f8bed667ecf9e24fecca1f30d125de6d75 - react-native-airship: 25045092934bf6eabf483e803af0a6e31826b8b9 + react-native-airship: 989c3a4b9f9a255ff6cc05c0fcd08d053276dce1 react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc React-perflogger: ec8eef2a8f03ecfa6361c2c5fb9197ef4a29cc85 React-RCTActionSheet: a0c023b86cf4c862fa9c4eb0f6f91fbe878fb2de diff --git a/package.json b/package.json index 66487a5f..bd9eefb6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ua/react-native-airship", - "version": "15.2.3", + "version": "15.2.4", "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 f3370c21..648a055e 100644 --- a/react-native-airship.podspec +++ b/react-native-airship.podspec @@ -36,6 +36,6 @@ Pod::Spec.new do |s| - s.dependency "AirshipFrameworkProxy", "2.0.5" + s.dependency "AirshipFrameworkProxy", "2.0.6" end From ad331dfb4febee5a74e38486a9c78fe9f0a51658 Mon Sep 17 00:00:00 2001 From: Ryan Lepinski Date: Fri, 28 Apr 2023 19:51:21 -0700 Subject: [PATCH 2/3] Update to 2.0.7 proxy --- android/gradle.properties | 2 +- example/ios/Podfile.lock | 8 ++++---- react-native-airship.podspec | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/gradle.properties b/android/gradle.properties index a654854e..13817cb9 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -4,7 +4,7 @@ Airship_targetSdkVersion=31 Airship_compileSdkVersion=31 Airship_ndkversion=21.4.7075529 -Airship_airshipProxyVersion=2.0.6 +Airship_airshipProxyVersion=2.0.7 # workaround for now, used for HMS Airship_airshipVersion=16.9.2 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 93d767a7..23255a38 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -16,7 +16,7 @@ PODS: - Airship/Core - Airship/PreferenceCenter (16.11.3): - Airship/Core - - AirshipFrameworkProxy (2.0.6): + - AirshipFrameworkProxy (2.0.7): - Airship (= 16.11.3) - Airship/MessageCenter (= 16.11.3) - Airship/PreferenceCenter (= 16.11.3) @@ -319,7 +319,7 @@ PODS: - React-logger (0.71.1): - glog - react-native-airship (15.2.4): - - AirshipFrameworkProxy (= 2.0.6) + - AirshipFrameworkProxy (= 2.0.7) - React-Core - react-native-safe-area-context (4.5.0): - RCT-Folly @@ -583,7 +583,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Airship: c70eed50e429f97f5adb285423c7291fb7a032ae - AirshipFrameworkProxy: cb516210b6e1880920de53942c716ec28fb0cecf + AirshipFrameworkProxy: 393033df78ce5bd7f2faf4668d145f6d0a778060 boost: 57d2868c099736d80fcd648bf211b4431e51a558 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 @@ -617,7 +617,7 @@ SPEC CHECKSUMS: React-jsiexecutor: 60cf272aababc5212410e4249d17cea14fc36caa React-jsinspector: ff56004b0c974b688a6548c156d5830ad751ae07 React-logger: 60a0b5f8bed667ecf9e24fecca1f30d125de6d75 - react-native-airship: 989c3a4b9f9a255ff6cc05c0fcd08d053276dce1 + react-native-airship: bfdc6c4e1dcbc62c86a0619783bf06ef1009d83f react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc React-perflogger: ec8eef2a8f03ecfa6361c2c5fb9197ef4a29cc85 React-RCTActionSheet: a0c023b86cf4c862fa9c4eb0f6f91fbe878fb2de diff --git a/react-native-airship.podspec b/react-native-airship.podspec index 648a055e..3c14bc8f 100644 --- a/react-native-airship.podspec +++ b/react-native-airship.podspec @@ -36,6 +36,6 @@ Pod::Spec.new do |s| - s.dependency "AirshipFrameworkProxy", "2.0.6" + s.dependency "AirshipFrameworkProxy", "2.0.7" end From 69e1f3f426a091057f4174e7e2eb953b0f941960 Mon Sep 17 00:00:00 2001 From: Ryan Lepinski Date: Fri, 28 Apr 2023 20:24:28 -0700 Subject: [PATCH 3/3] Fix example --- example/ios/Podfile | 7 ++++--- example/ios/Podfile.lock | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/example/ios/Podfile b/example/ios/Podfile index f486b7c3..c7f0d787 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -57,9 +57,10 @@ target 'AirshipExample' do ) __apply_Xcode_12_5_M1_post_install_workaround(installer) installer.pods_project.targets.each do |target| - if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" - target.build_configurations.each do |config| - config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' + if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" + config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' end end end diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 23255a38..8feb546f 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -638,6 +638,6 @@ SPEC CHECKSUMS: Yoga: 921eb014669cf9c718ada68b08d362517d564e0c YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 1f39a4a9c9c7a29cfafef9780883057d76bf645c +PODFILE CHECKSUM: 752a5f51a2d0fb49d58f91573b1d2b520147bf4e COCOAPODS: 1.11.3