Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Remove TargetSdkVersion check for AndroidX fallback #12825

Merged
merged 1 commit into from
Nov 13, 2020
Merged

Conversation

PureWeen
Copy link
Contributor

Description of Change

If users have the non AndroidX layouts that come with the Forms template and they upgrade to AndroidX then we fallback to AndroidX layouts included with our binaries. We were checking that the targetSdk >= 29 but in some rare cases users might have targetSdk set to 28 and the compile target set to 29. This removes the requirement for targetSdk > 28 for it to trigger our fallbacks.

The Android team is going to work on putting together some better warning messages around this mismatch with the 16.9 release

Issues Resolved

Platforms Affected

  • Android

Testing Procedure

  • download these nugets and run them against the project referenced in the fix

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@PureWeen PureWeen merged commit c803956 into 5.0.0 Nov 13, 2020
@PureWeen PureWeen deleted the fix_12690 branch November 13, 2020 01:52
@samhouts samhouts added this to the 5.0.0 milestone Dec 8, 2020
@samhouts samhouts added Android10 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. t/bug 🐛 labels Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android10 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. t/bug 🐛
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Ambiguous Android.Views.InflateException when target android version and framework don't match
3 participants