xamarin / AndroidSupportComponents

Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
MIT License
146 stars 56 forks source link

Bump Xamarin.Android Wear Packages to support v26 across the board #92

Closed JonDouglas closed 6 years ago

JonDouglas commented 6 years ago

Xamarin.Android Version (eg: 6.0):

8.0

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Support Libraries Version (eg: 23.3.0):

v26

Describe your Issue:

<PackageReference> does not have a kind resolution strategy around the current Xamarin.Android Wear NuGet packages. The highest available Wear setup seems to be around 25.1.0. Android Wear has had a 2.2.0 release, updated v26 wearable libraries, and updated GPS wearable library.

https://developer.android.com/wear/releases/index.html

Respective NuGet dependencies:

https://www.nuget.org/packages/Xamarin.Android.Wear/ - Needs updated to 2.2.0

https://www.nuget.org/packages/Xamarin.GooglePlayServices.Wearable/ - Might need a minor update for v26 to support 11.8.0 GPS.

https://www.nuget.org/packages/Xamarin.Android.Support.Wear - Seems up to date!

Respective gradle dependencies:

    implementation 'com.google.android.support:wearable:2.2.0'
    implementation 'com.google.android.gms:play-services-wearable:11.8.0'
    implementation 'com.android.support:wear:26.1.0'

Specifically, templates require v26.1.0+ so that we can include BoxInsetLayout which was added in the Wear UI Library over deprecated counter-parts:

https://developer.android.com/reference/android/support/wear/widget/BoxInsetLayout.html