Skip to content

Commit

Permalink
Merge pull request #210 from urbanairship/MOBILE-3499-Preference-Cent…
Browse files Browse the repository at this point in the history
…er-Binding

Fix an issue with preference center binding on iOS and prepare release 16.3.1
  • Loading branch information
khmMouna authored Mar 2, 2023
2 parents 81bbf1d + 390d1b6 commit 33b542f
Show file tree
Hide file tree
Showing 75 changed files with 295 additions and 191 deletions.
4 changes: 2 additions & 2 deletions Airship.Android.ADM.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.adm</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK - ADM Push Provider</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A full suite of mobile engagement tools for building next-generation apps</description>
<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
</group>
</dependencies>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.Accengage.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.accengage</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK - Accengage</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -11,7 +11,7 @@

<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
</group>
</dependencies>
</metadata>
Expand Down
6 changes: 3 additions & 3 deletions Airship.Android.Automation.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.automation</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -11,8 +11,8 @@

<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.layout" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
<dependency id="airship.android.layout" version="16.8.1"/>
<dependency id="Xamarin.AndroidX.CustomView" version="1.1.0.4" />
<dependency id="Xamarin.AndroidX.Room.Runtime" version="2.4.3"/>
</group>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.Chat.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.chat</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -11,7 +11,7 @@

<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
<dependency id="Xamarin.Kotlin.StdLib" version="1.5.31.2" />
<dependency id="Xamarin.Kotlin.StdLib.Jdk8" version="1.5.31.2" />
<dependency id="Xamarin.KotlinX.Coroutines.Core" version="1.5.2.2" />
Expand Down
2 changes: 1 addition & 1 deletion Airship.Android.Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.core</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.FCM.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.fcm</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK - FCM Push Provider</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -14,7 +14,7 @@
<dependency id="Xamarin.Firebase.Messaging" version="122.0.0.1" />
<dependency id="Xamarin.GooglePlayServices.Base" version="117.6.0.1" />
<dependency id="Xamarin.Google.Dagger" version="2.37.0" />
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
</group>
</dependencies>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.Layout.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.layout</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -11,7 +11,7 @@

<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
<dependency id="Xamarin.AndroidX.ConstraintLayout" version="2.1.1.2" />
<dependency id="Xamarin.AndroidX.AppCompat" version="1.3"/>
</group>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.Location.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.location</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -11,7 +11,7 @@

<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
</group>
</dependencies>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.MessageCenter.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.messagecenter</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -12,7 +12,7 @@
<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="Xamarin.AndroidX.SwipeRefreshLayout" version="1.1.0.1" />
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
<dependency id="Xamarin.AndroidX.Room.Runtime" version="2.4.3"/>
</group>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.Preference.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.preference</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK - Preference Module</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -12,7 +12,7 @@
<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="Xamarin.AndroidX.Preference" version="1.1.1.6"/>
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
</group>
</dependencies>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions Airship.Android.PreferenceCenter.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.android.preferencecenter</id>
<version>16.8.0</version>
<version>16.8.1</version>
<title>Airship Android SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -11,7 +11,7 @@

<dependencies>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
<dependency id="Xamarin.Kotlin.StdLib" version="1.5.31.2" />
<dependency id="Xamarin.Kotlin.StdLib.Jdk8" version="1.5.31.2" />
<dependency id="Xamarin.KotlinX.Coroutines.Core" version="1.5.2.2" />
Expand Down
18 changes: 9 additions & 9 deletions Airship.NETStandard.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.netstandard</id>
<version>16.3.0</version>
<version>16.3.1</version>
<title>Airship SDK .NET Standard Library</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -13,17 +13,17 @@
<group targetFramework=".NETStandard2.0">
</group>
<group targetFramework="MonoAndroid4.1">
<dependency id="airship.android.core" version="16.8.0"/>
<dependency id="airship.android.messagecenter" version="16.8.0"/>
<dependency id="airship.android.automation" version="16.8.0"/>
<dependency id="airship.android.location" version="16.8.0"/>
<dependency id="airship.android.core" version="16.8.1"/>
<dependency id="airship.android.messagecenter" version="16.8.1"/>
<dependency id="airship.android.automation" version="16.8.1"/>
<dependency id="airship.android.location" version="16.8.1"/>
</group>

<group targetFramework="Xamarin.iOS1.0">
<dependency id="airship.ios.core" version="16.10.6"/>
<dependency id="airship.ios.automation" version="16.10.6"/>
<dependency id="airship.ios.extendedactions" version="16.10.6"/>
<dependency id="airship.ios.messagecenter" version="16.10.6"/>
<dependency id="airship.ios.core" version="16.11.1"/>
<dependency id="airship.ios.automation" version="16.11.1"/>
<dependency id="airship.ios.extendedactions" version="16.11.1"/>
<dependency id="airship.ios.messagecenter" version="16.11.1"/>
</group>
</dependencies>
</metadata>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.Accengage.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.accengage</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Accengage</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.Automation.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.automation</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Automation</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.Basement.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.basement</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Basement</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.Chat.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.chat</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Chat</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.core</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Core</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.ExtendedActions.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.extendedactions</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - ExtendedActions</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.Location.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.location</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Location</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.MessageCenter.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.messagecenter</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - MessageCenter</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.NotificationContentExtension.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.notificationcontentextension</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Notification Content Extension</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.NotificationServiceExtension.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.notificationserviceextension</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Notification Service Extension</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion Airship.iOS.PreferenceCenter.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios.preferencecenter</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK - Preference Center</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand Down
14 changes: 7 additions & 7 deletions Airship.iOS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>airship.ios</id>
<version>16.10.6</version>
<version>16.11.1</version>
<title>Airship iOS SDK</title>
<authors>Airship, Inc.</authors>
<projectUrl>https://github.com/urbanairship/urbanairship-xamarin</projectUrl>
Expand All @@ -11,12 +11,12 @@

<dependencies>
<group>
<dependency id="airship.ios.basement" version="16.10.6"/>
<dependency id="airship.ios.core" version="16.10.6"/>
<dependency id="airship.ios.automation" version="16.10.6"/>
<dependency id="airship.ios.extendedactions" version="16.10.6"/>
<dependency id="airship.ios.messagecenter" version="16.10.6"/>
<dependency id="airship.ios.preferencecenter" version="16.10.6"/>
<dependency id="airship.ios.basement" version="16.11.1"/>
<dependency id="airship.ios.core" version="16.11.1"/>
<dependency id="airship.ios.automation" version="16.11.1"/>
<dependency id="airship.ios.extendedactions" version="16.11.1"/>
<dependency id="airship.ios.messagecenter" version="16.11.1"/>
<dependency id="airship.ios.preferencecenter" version="16.11.1"/>
</group>
</dependencies>
</metadata>
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Airship Xamarin Changelog

## Version 16.3.1 - March 2, 2023
Minor release that updates to the latest Airship SDKs. The iOS SDK update fixes an issue with the Preference Center on iOS.

### Changes
- Updated iOS SDK to 16.11.1
- Updated Android SDK to 16.8.1
- Fix a binding issue with preference center on iOS.

## Version 16.3.0 - December 23, 2022
Minor release to support iOS SDK 16.10.6 and Android SDK 16.8.0 and fix an issue with the Message Center NativeBridge on iOS.

Expand Down
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "urbanairship/ios-library" == 16.10.6
github "urbanairship/ios-library" == 16.11.1
22 changes: 22 additions & 0 deletions SampleApp/SampleApp.Android/BackgroundDependency_Android.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
Copyright Airship and Contributors
*/

using System;
using Xamarin.Forms;

using SampleApp.Droid;

using UrbanAirship.PreferenceCenter;

[assembly: Dependency(typeof(BackgroundDependency_Android))]
namespace SampleApp.Droid
{
public class BackgroundDependency_Android : Java.Lang.Object, IBackgroundDependency
{
public void OpenAirshipPreferenceCenter()
{
PreferenceCenter.Shared().Open("neat");
}
}
}
Loading

0 comments on commit 33b542f

Please sign in to comment.