Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Apr 20, 2019

Description

Currently we always regenerate platform specific android and ios folders when doing plugin injection, regardless of whether the app has an android or ios project. We should change that logic so that regeneration only applies if the app is a module or if there is a preexisting folder.

Related Issues

Fixes #31341
Fixes #20110

@jonahwilliams jonahwilliams added the tool Affects the "flutter" command-line tool. See also t: labels. label Apr 20, 2019
@jonahwilliams jonahwilliams marked this pull request as ready for review April 22, 2019 20:57
@jonahwilliams jonahwilliams requested a review from dnfield April 22, 2019 21:59
Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM

@jonahwilliams jonahwilliams merged commit a476a08 into flutter:master Apr 22, 2019
@jonahwilliams jonahwilliams deleted the check_project_for_regen branch April 22, 2019 22:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleted android/ directory shouldn't be recreated when building an iOS-only app Flutter tool crashes on Android only app with plugins

3 participants