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 Answers
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
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
Pat Niemeyer
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).