Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook up plugin during the build process #94

Open
marandaneto opened this issue Mar 22, 2023 · 2 comments
Open

Hook up plugin during the build process #94

marandaneto opened this issue Mar 22, 2023 · 2 comments

Comments

@marandaneto
Copy link
Contributor

marandaneto commented Mar 22, 2023

The idea is that we are able to run this tool automatically, with no need of running it manually.
The other idea is that we'd like to inject resources/assets or whatever is needed into the final App during the build process, for example, the id of the uploaded mapping file for deobfuscation of obfuscated builds on the server (generated --save-obfuscation-map).

Related question https://stackoverflow.com/questions/75810481/is-there-a-way-to-hook-into-the-flutter-build-similarly-to-gradle-tasks-or-xcode

Probably related to flutter/flutter#101077

@marandaneto
Copy link
Contributor Author

dart-lang/sdk#51941 may help.

@vaind
Copy link
Collaborator

vaind commented Oct 16, 2024

Native assets build hooks should help, once they're available and we're requiring a version that supports them: https://pub.dev/packages/native_assets_cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Blocked
Development

No branches or pull requests

3 participants