Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add MonoAndroid70 to Forms/Map .nuspec #679
Users want to upgrade to Xamarin.Support.* v25 but cannot because XF locks its version at v23 (in .nuspec, see version="[23.3.0]"). If we simply unlocked the version then they can reference v25 however those assemblies reference Android SDK API 25 which if not installed will break their build. So we have to make sure that by default, when they upgrade, API 25 is present. The VS SDK installer is not owned by Xamarin's division so are forced to wait till May for the installer to add API 25 during a VS upgrade. That upgrade will also include Xamarin.Android (XA) which will support MonoAndroid70. XA will automatically update Android csproj files at load time to MonoAndroid71. Hence, for users that simply upgrade VS in May, XF knows that if referring project is MonoAndroid70 or greater than API 25 is present and XS.* v25 can be referenced hence the change in the .nuspec.
XS v25 also removed an event signature so we changed to using the java methods to hook and unhook hence the source code changes.
referenced this pull request
Jan 14, 2017
Jan 18, 2017
6 checks passed
added a commit
this pull request
Jan 30, 2017
This change allows a project to get into some strange states.
Now it's not that much work to downgrade and upgrade the packages, it's just a bit odd that Xamarin.Forms lets you update to android support versions that no other forms packages support. I feel like maybe the better approach is for the user who needs newer versions of the Android Support packages to utilize