3

On flutter web debuggin opening a new window without chrome extensions. But my project must messaging with extensions. How can I prevent disablings at chrome extensions?

2

2 Answers 2

17

1- Go to flutter\bin\cache and remove a file named: flutter_tools.stamp

2- Go to flutter\packages\flutter_tools\lib\src\web and open the file chrome.dart.

3- Find '--disable-extensions' and comment the line

4- Run 'flutter clean' (no 100% sur its needed)

Thanks to https://stackoverflow.com/a/66879350

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you so much. And no the step 4 (flutter clean) is not needed.
But this only works on debug mode
5

The only way you can do this is by recompiling flutter entirely, without the disable extensions flag.

It's a huge problem for everybody. I can't even test any WEB3 apps, because metamask is also not possible to use. I think google did it purposely.

1 Comment

You don't have to recompile it. Follow the instructions above, which are copied from the original post: stackoverflow.com/questions/65630743 By removing the timestamp file and modifying the script to remove the disable flag the next time you run flutter it will "rebuild" the tool for you. (It's easy).

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.