diff --git a/Airship.Android.ADM.nuspec b/Airship.Android.ADM.nuspec index 898127b9..6cbced93 100644 --- a/Airship.Android.ADM.nuspec +++ b/Airship.Android.ADM.nuspec @@ -2,7 +2,7 @@ airship.android.adm - 16.9.1 + 16.11.1 Airship Android SDK - ADM Push Provider Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -10,7 +10,7 @@ A full suite of mobile engagement tools for building next-generation apps - + diff --git a/Airship.Android.Accengage.nuspec b/Airship.Android.Accengage.nuspec index c495f363..39523134 100644 --- a/Airship.Android.Accengage.nuspec +++ b/Airship.Android.Accengage.nuspec @@ -2,7 +2,7 @@ airship.android.accengage - 16.9.1 + 16.11.1 Airship Android SDK - Accengage Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -11,7 +11,7 @@ - + diff --git a/Airship.Android.Automation.nuspec b/Airship.Android.Automation.nuspec index 5f5e8c6d..293535c3 100644 --- a/Airship.Android.Automation.nuspec +++ b/Airship.Android.Automation.nuspec @@ -2,7 +2,7 @@ airship.android.automation - 16.9.1 + 16.11.1 Airship Android SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -11,8 +11,8 @@ - - + + diff --git a/Airship.Android.Chat.nuspec b/Airship.Android.Chat.nuspec index 99638d4f..e2b07ab3 100644 --- a/Airship.Android.Chat.nuspec +++ b/Airship.Android.Chat.nuspec @@ -2,7 +2,7 @@ airship.android.chat - 16.9.1 + 16.11.1 Airship Android SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -11,7 +11,7 @@ - + diff --git a/Airship.Android.Core.nuspec b/Airship.Android.Core.nuspec index 13dceb6a..6ad058c2 100644 --- a/Airship.Android.Core.nuspec +++ b/Airship.Android.Core.nuspec @@ -2,7 +2,7 @@ airship.android.core - 16.9.1 + 16.11.1 Airship Android SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -17,6 +17,7 @@ + diff --git a/Airship.Android.FCM.nuspec b/Airship.Android.FCM.nuspec index 653b75e4..02d86d6b 100644 --- a/Airship.Android.FCM.nuspec +++ b/Airship.Android.FCM.nuspec @@ -2,7 +2,7 @@ airship.android.fcm - 16.9.1 + 16.11.1 Airship Android SDK - FCM Push Provider Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -14,7 +14,7 @@ - + diff --git a/Airship.Android.Layout.nuspec b/Airship.Android.Layout.nuspec index 95aae324..ea298ee6 100644 --- a/Airship.Android.Layout.nuspec +++ b/Airship.Android.Layout.nuspec @@ -2,7 +2,7 @@ airship.android.layout - 16.9.1 + 16.11.1 Airship Android SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -11,7 +11,7 @@ - + diff --git a/Airship.Android.Location.nuspec b/Airship.Android.Location.nuspec index 3a42e752..e4fa9628 100644 --- a/Airship.Android.Location.nuspec +++ b/Airship.Android.Location.nuspec @@ -2,7 +2,7 @@ airship.android.location - 16.9.1 + 16.11.1 Airship Android SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -11,7 +11,7 @@ - + diff --git a/Airship.Android.MessageCenter.nuspec b/Airship.Android.MessageCenter.nuspec index 2082de20..840b62e0 100644 --- a/Airship.Android.MessageCenter.nuspec +++ b/Airship.Android.MessageCenter.nuspec @@ -2,7 +2,7 @@ airship.android.messagecenter - 16.9.1 + 16.11.1 Airship Android SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -12,7 +12,7 @@ - + diff --git a/Airship.Android.Preference.nuspec b/Airship.Android.Preference.nuspec index db14982f..04ef0668 100644 --- a/Airship.Android.Preference.nuspec +++ b/Airship.Android.Preference.nuspec @@ -2,7 +2,7 @@ airship.android.preference - 16.9.1 + 16.11.1 Airship Android SDK - Preference Module Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -12,7 +12,7 @@ - + diff --git a/Airship.Android.PreferenceCenter.nuspec b/Airship.Android.PreferenceCenter.nuspec index ed7c7140..47add438 100644 --- a/Airship.Android.PreferenceCenter.nuspec +++ b/Airship.Android.PreferenceCenter.nuspec @@ -2,7 +2,7 @@ airship.android.preferencecenter - 16.9.1 + 16.11.1 Airship Android SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -11,7 +11,7 @@ - + diff --git a/Airship.NETStandard.nuspec b/Airship.NETStandard.nuspec index 87fc5233..f4ea71a6 100644 --- a/Airship.NETStandard.nuspec +++ b/Airship.NETStandard.nuspec @@ -2,7 +2,7 @@ airship.netstandard - 17.0.2 + 17.1.0 Airship SDK .NET Standard Library Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -13,17 +13,17 @@ - - - - + + + + - - - - + + + + diff --git a/Airship.iOS.Accengage.nuspec b/Airship.iOS.Accengage.nuspec index a1c1e06e..8ef41729 100644 --- a/Airship.iOS.Accengage.nuspec +++ b/Airship.iOS.Accengage.nuspec @@ -2,7 +2,7 @@ airship.ios.accengage - 16.11.3 + 16.12.2 Airship iOS SDK - Accengage Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.Automation.nuspec b/Airship.iOS.Automation.nuspec index 578dcc15..a1b0de67 100644 --- a/Airship.iOS.Automation.nuspec +++ b/Airship.iOS.Automation.nuspec @@ -2,7 +2,7 @@ airship.ios.automation - 16.11.3 + 16.12.2 Airship iOS SDK - Automation Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.Basement.nuspec b/Airship.iOS.Basement.nuspec index 735925e9..a547ff79 100644 --- a/Airship.iOS.Basement.nuspec +++ b/Airship.iOS.Basement.nuspec @@ -2,7 +2,7 @@ airship.ios.basement - 16.11.3 + 16.12.2 Airship iOS SDK - Basement Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.Chat.nuspec b/Airship.iOS.Chat.nuspec index ea16e751..19f64655 100644 --- a/Airship.iOS.Chat.nuspec +++ b/Airship.iOS.Chat.nuspec @@ -2,7 +2,7 @@ airship.ios.chat - 16.11.3 + 16.12.2 Airship iOS SDK - Chat Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.Core.nuspec b/Airship.iOS.Core.nuspec index 7737882a..395b7da5 100644 --- a/Airship.iOS.Core.nuspec +++ b/Airship.iOS.Core.nuspec @@ -2,7 +2,7 @@ airship.ios.core - 16.11.3 + 16.12.2 Airship iOS SDK - Core Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.ExtendedActions.nuspec b/Airship.iOS.ExtendedActions.nuspec index 14aa3bf8..35f98b24 100644 --- a/Airship.iOS.ExtendedActions.nuspec +++ b/Airship.iOS.ExtendedActions.nuspec @@ -2,7 +2,7 @@ airship.ios.extendedactions - 16.11.3 + 16.12.2 Airship iOS SDK - ExtendedActions Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.Location.nuspec b/Airship.iOS.Location.nuspec index 831f8eb7..040988e8 100644 --- a/Airship.iOS.Location.nuspec +++ b/Airship.iOS.Location.nuspec @@ -2,7 +2,7 @@ airship.ios.location - 16.11.3 + 16.12.2 Airship iOS SDK - Location Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.MessageCenter.nuspec b/Airship.iOS.MessageCenter.nuspec index 09fa8274..3d69bb99 100644 --- a/Airship.iOS.MessageCenter.nuspec +++ b/Airship.iOS.MessageCenter.nuspec @@ -2,7 +2,7 @@ airship.ios.messagecenter - 16.11.3 + 16.12.2 Airship iOS SDK - MessageCenter Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.NotificationContentExtension.nuspec b/Airship.iOS.NotificationContentExtension.nuspec index 6075cbc0..db03be99 100644 --- a/Airship.iOS.NotificationContentExtension.nuspec +++ b/Airship.iOS.NotificationContentExtension.nuspec @@ -2,7 +2,7 @@ airship.ios.notificationcontentextension - 16.11.3 + 16.12.2 Airship iOS SDK - Notification Content Extension Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.NotificationServiceExtension.nuspec b/Airship.iOS.NotificationServiceExtension.nuspec index fb9fe8b9..05d14715 100644 --- a/Airship.iOS.NotificationServiceExtension.nuspec +++ b/Airship.iOS.NotificationServiceExtension.nuspec @@ -2,7 +2,7 @@ airship.ios.notificationserviceextension - 16.11.3 + 16.12.2 Airship iOS SDK - Notification Service Extension Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.PreferenceCenter.nuspec b/Airship.iOS.PreferenceCenter.nuspec index 5ec64b78..3aba6019 100644 --- a/Airship.iOS.PreferenceCenter.nuspec +++ b/Airship.iOS.PreferenceCenter.nuspec @@ -2,7 +2,7 @@ airship.ios.preferencecenter - 16.11.3 + 16.12.2 Airship iOS SDK - Preference Center Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin diff --git a/Airship.iOS.nuspec b/Airship.iOS.nuspec index c69fe1e1..e9d80504 100644 --- a/Airship.iOS.nuspec +++ b/Airship.iOS.nuspec @@ -2,7 +2,7 @@ airship.ios - 16.11.3 + 16.12.2 Airship iOS SDK Airship, Inc. https://github.com/urbanairship/urbanairship-xamarin @@ -11,12 +11,12 @@ - - - - - - + + + + + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c4cde74..811a93ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Airship Xamarin Changelog +## Version 17.1.0 - June 29, 2023 +Minor release that updates to the latest Airship SDKs. Apps that make use of Message Center, Preference Center, and Scenes/Surveys should update to this version. + +### Changes +- Updated iOS SDK to 16.12.2 +- Updated Android SDK to 16.11.1 +- Added a new config option, `autoPauseInAppAutomationOnLaunch` (default: `false`), to pause IAA during app init and allow it to be enabled later. +- Deeplinks that use the `uairship://` scheme but are not handled by Airship directly will now be delivered to the DeepLink delegate or listener. +- Fixed a channel registration issue on iOS that could lead to registration updates not being synced with Airship until the next foreground if the channel's metadata changes while an update task is in flight. +- Fixed an Android bug in Preference Center that could cause locally cached subscription list state to become incorrect when switching named users. +- Fixed an Android Preference Center contact subscription chips to avoid duplicated views when scrolling a long Preference Center. +- Fixed handling of `sms:`, `tel:` and `mailto:` links in Android Message Center, when using custom HTML and `` tags. +- Fixed an Android issue with window resizing in Scenes and Surveys, to prevent the keyboard from covering the input field. + ## Version 17.0.2 - March 29, 2023 Patch release that fixes Contact update merging order, improves Scene/Survey accessibility and reporting. diff --git a/Cartfile b/Cartfile index f9b7ba88..75d3ae9e 100644 --- a/Cartfile +++ b/Cartfile @@ -1 +1 @@ -github "urbanairship/ios-library" == 16.11.3 \ No newline at end of file +github "urbanairship/ios-library" == 16.12.2 \ No newline at end of file diff --git a/SampleApp/SampleApp.Android/BackgroundDependency_Android.cs b/SampleApp/SampleApp.Android/BackgroundDependency_Android.cs index 3f0c2b30..ace94643 100644 --- a/SampleApp/SampleApp.Android/BackgroundDependency_Android.cs +++ b/SampleApp/SampleApp.Android/BackgroundDependency_Android.cs @@ -4,6 +4,7 @@ Copyright Airship and Contributors using System; using Xamarin.Forms; +using Android.Runtime; using SampleApp.Droid; @@ -12,6 +13,7 @@ Copyright Airship and Contributors [assembly: Dependency(typeof(BackgroundDependency_Android))] namespace SampleApp.Droid { + [Preserve(AllMembers = true)] public class BackgroundDependency_Android : Java.Lang.Object, IBackgroundDependency { public void OpenAirshipPreferenceCenter() diff --git a/SampleApp/SampleApp.Android/Resources/Resource.designer.cs b/SampleApp/SampleApp.Android/Resources/Resource.designer.cs index 99f8a39a..e02152b7 100644 --- a/SampleApp/SampleApp.Android/Resources/Resource.designer.cs +++ b/SampleApp/SampleApp.Android/Resources/Resource.designer.cs @@ -2,6 +2,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/SampleApp/SampleApp.Android/Resources/layout/Tabbar.xml b/SampleApp/SampleApp.Android/Resources/layout/Tabbar.xml index b2d08688..042f204f 100644 --- a/SampleApp/SampleApp.Android/Resources/layout/Tabbar.xml +++ b/SampleApp/SampleApp.Android/Resources/layout/Tabbar.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/SampleApp/SampleApp.Android/Resources/layout/Toolbar.xml b/SampleApp/SampleApp.Android/Resources/layout/Toolbar.xml index 32440653..2a21292a 100644 --- a/SampleApp/SampleApp.Android/Resources/layout/Toolbar.xml +++ b/SampleApp/SampleApp.Android/Resources/layout/Toolbar.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/SampleApp/SampleApp.Android/SampleApp.Android.csproj b/SampleApp/SampleApp.Android/SampleApp.Android.csproj index 80ac15d8..b0335873 100644 --- a/SampleApp/SampleApp.Android/SampleApp.Android.csproj +++ b/SampleApp/SampleApp.Android/SampleApp.Android.csproj @@ -60,6 +60,9 @@ 1.3.0.8 + + 1.2.0 + 1.4.0.4 @@ -73,37 +76,37 @@ 1.3.1.3 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 - 16.9.0 + 16.11.1 diff --git a/SampleApp/SampleApp.iOS/BackgroundDependency_iOS.cs b/SampleApp/SampleApp.iOS/BackgroundDependency_iOS.cs index fd1ddb4c..46c97bea 100644 --- a/SampleApp/SampleApp.iOS/BackgroundDependency_iOS.cs +++ b/SampleApp/SampleApp.iOS/BackgroundDependency_iOS.cs @@ -8,11 +8,13 @@ Copyright Airship and Contributors using SampleApp.iOS; using UrbanAirship; +using Foundation; [assembly: Dependency(typeof(BackgroundDependency_iOS))] namespace SampleApp.iOS { - public class BackgroundDependency_iOS: IBackgroundDependency + [Preserve(AllMembers = true)] + public class BackgroundDependency_iOS: NSObject, IBackgroundDependency { public BackgroundDependency_iOS() { diff --git a/SampleApp/SampleApp.iOS/SampleApp.iOS.csproj b/SampleApp/SampleApp.iOS/SampleApp.iOS.csproj index fefdea48..03d09568 100644 --- a/SampleApp/SampleApp.iOS/SampleApp.iOS.csproj +++ b/SampleApp/SampleApp.iOS/SampleApp.iOS.csproj @@ -36,9 +36,10 @@ bin\iPhoneSimulator\Release prompt 4 - None + SdkOnly x86_64 iPhone Developer + true true @@ -87,10 +88,10 @@ - - + + - 16.11.2 + 16.12.2 diff --git a/SampleApp/SampleApp/MessageCenterViewController.xaml.cs b/SampleApp/SampleApp/MessageCenterViewController.xaml.cs index 421a7d9a..6af2217c 100644 --- a/SampleApp/SampleApp/MessageCenterViewController.xaml.cs +++ b/SampleApp/SampleApp/MessageCenterViewController.xaml.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using Xamarin.Forms; @@ -18,10 +17,22 @@ public MessageCenterViewController() protected override void OnAppearing() { var messages = Airship.Instance.InboxMessages; + + Console.WriteLine("Inbox Messages:"); + + foreach (Message message in messages) + { + Console.WriteLine("---"); + Console.WriteLine(message.Title); + Console.WriteLine(message.Unread); + Console.WriteLine(message.SentDate); + } + Console.WriteLine("---"); + listView.ItemsSource = messages; } - void listView_ItemSelected(System.Object sender, Xamarin.Forms.SelectedItemChangedEventArgs e) + void listView_ItemSelected(Object sender, SelectedItemChangedEventArgs e) { var message = e.SelectedItem as Message; var messagePage = new MessagePage(); diff --git a/SampleApp/SampleApp/SampleApp.csproj b/SampleApp/SampleApp/SampleApp.csproj index 7ef278ca..a2200143 100644 --- a/SampleApp/SampleApp/SampleApp.csproj +++ b/SampleApp/SampleApp/SampleApp.csproj @@ -12,9 +12,9 @@ - + - + diff --git a/airship.properties b/airship.properties index d2bb9129..1ecb996e 100644 --- a/airship.properties +++ b/airship.properties @@ -1,4 +1,4 @@ -crossPlatformVersion = 17.0.2 -iosNugetVersion = 16.11.3 -iosVersion = 16.11.3 -androidVersion = 16.9.1 +crossPlatformVersion = 17.1.0 +iosNugetVersion = 16.12.2 +iosVersion = 16.12.2 +androidVersion = 16.11.1 diff --git a/src/AirshipBindings.Android.ADM/AirshipBindings.Android.ADM.csproj b/src/AirshipBindings.Android.ADM/AirshipBindings.Android.ADM.csproj index e48fc48d..cd37b0f8 100644 --- a/src/AirshipBindings.Android.ADM/AirshipBindings.Android.ADM.csproj +++ b/src/AirshipBindings.Android.ADM/AirshipBindings.Android.ADM.csproj @@ -68,7 +68,7 @@ - + diff --git a/src/AirshipBindings.Android.Accengage/AirshipBindings.Android.Accengage.csproj b/src/AirshipBindings.Android.Accengage/AirshipBindings.Android.Accengage.csproj index 05cb993c..ccdcbb2b 100644 --- a/src/AirshipBindings.Android.Accengage/AirshipBindings.Android.Accengage.csproj +++ b/src/AirshipBindings.Android.Accengage/AirshipBindings.Android.Accengage.csproj @@ -89,7 +89,7 @@ - + diff --git a/src/AirshipBindings.Android.Automation/AirshipBindings.Android.Automation.csproj b/src/AirshipBindings.Android.Automation/AirshipBindings.Android.Automation.csproj index eed9bc64..f0b0c7c0 100644 --- a/src/AirshipBindings.Android.Automation/AirshipBindings.Android.Automation.csproj +++ b/src/AirshipBindings.Android.Automation/AirshipBindings.Android.Automation.csproj @@ -151,7 +151,7 @@ - + diff --git a/src/AirshipBindings.Android.Core/AirshipBindings.Android.Core.csproj b/src/AirshipBindings.Android.Core/AirshipBindings.Android.Core.csproj index a6b4c560..2231e7b5 100644 --- a/src/AirshipBindings.Android.Core/AirshipBindings.Android.Core.csproj +++ b/src/AirshipBindings.Android.Core/AirshipBindings.Android.Core.csproj @@ -150,6 +150,9 @@ ..\AirshipBindings.Android.Automation\packages\Xamarin.Kotlin.StdLib.1.7.0\lib\monoandroid12.0\Xamarin.Kotlin.StdLib.dll + + packages\Xamarin.AndroidX.WebKit.1.3.0\lib\monoandroid90\Xamarin.AndroidX.WebKit.dll + @@ -180,7 +183,7 @@ - + @@ -280,4 +283,6 @@ + + diff --git a/src/AirshipBindings.Android.Core/packages.config b/src/AirshipBindings.Android.Core/packages.config index f55c514a..32591425 100644 --- a/src/AirshipBindings.Android.Core/packages.config +++ b/src/AirshipBindings.Android.Core/packages.config @@ -30,6 +30,7 @@ + diff --git a/src/AirshipBindings.Android.FCM/AirshipBindings.Android.FCM.csproj b/src/AirshipBindings.Android.FCM/AirshipBindings.Android.FCM.csproj index 6335d994..f5d0e8fd 100644 --- a/src/AirshipBindings.Android.FCM/AirshipBindings.Android.FCM.csproj +++ b/src/AirshipBindings.Android.FCM/AirshipBindings.Android.FCM.csproj @@ -207,7 +207,7 @@ - + diff --git a/src/AirshipBindings.Android.Layout/AirshipBindings.Android.Layout.csproj b/src/AirshipBindings.Android.Layout/AirshipBindings.Android.Layout.csproj index 76cf9ff3..755d2e59 100644 --- a/src/AirshipBindings.Android.Layout/AirshipBindings.Android.Layout.csproj +++ b/src/AirshipBindings.Android.Layout/AirshipBindings.Android.Layout.csproj @@ -61,7 +61,7 @@ - + diff --git a/src/AirshipBindings.Android.Location/AirshipBindings.Android.Location.csproj b/src/AirshipBindings.Android.Location/AirshipBindings.Android.Location.csproj index a9ad17e4..c81f55bc 100644 --- a/src/AirshipBindings.Android.Location/AirshipBindings.Android.Location.csproj +++ b/src/AirshipBindings.Android.Location/AirshipBindings.Android.Location.csproj @@ -66,7 +66,7 @@ - +