Skip to content

Remove AndroidX compatibility workarounds - #86911

Merged
fluttergithubbot merged 1 commit into
flutter:masterfrom
blasten:remove_androidx_workarounds
Jul 24, 2021
Merged

fluttergithubbot merged 1 commit into
flutter:masterfrom
blasten:remove_androidx_workarounds

Conversation

@blasten

@blasten blasten commented Jul 22, 2021

Copy link
Copy Markdown

This code was introduced to workaround AndroidX compatibilities issues back in 2019.

Related to #86802

@blasten blasten added c: contributor-productivity Team-specific productivity, code health, technical debt. platform-android Android applications specifically labels Jul 22, 2021
@flutter-dashboard flutter-dashboard Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jul 22, 2021
@google-cla google-cla Bot added the cla: yes label Jul 22, 2021
@blasten
blasten requested review from jmagman and jonahwilliams July 22, 2021 23:41
@bernaferrari

Copy link
Copy Markdown
Contributor

Should you also remove

android.useAndroidX=true
android.enableJetifier=true

from gradle.properties? At least flutter create adds them.

@jmagman jmagman mentioned this pull request Jul 23, 2021
21 of 22 tasks

@jonahwilliams jonahwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I believe there are some additional androidX checks as well as analytics in the code base. Should we remove all of it, or just the aar workaround here?

@blasten

blasten commented Jul 23, 2021

Copy link
Copy Markdown
Author

Yup. This is mostly around the workarounds. The AndroidX vs non AndroidX distinction can also be removed. I will do that in the next PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. platform-android Android applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants