Skip to content

Make ephemeral platform directories editable by default in add-to-app #98077

Description

@blasten

The content of the .android and .ios directories cannot be modified since flutter pub get or any
build command will override the file changes.

This breaks flutter run on Android if a dependency requires to modify AndroidManifest.xml or build.gradle.
For example, adding webview to a module.

My suggestion is to make these directories editable, so there's no this one-off special case.

@jmagman any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowc: proposalA detailed proposal for a change to Flutterplatform-androidAndroid applications specificallyplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions