flutter_wrapper icon indicating copy to clipboard operation
flutter_wrapper copied to clipboard

Trying to upgrade to a specific flutter version gives: document's frame is sandboxed and the 'allow-scripts' permission is not set.

Open AlexanderMendivil opened this issue 1 year ago • 4 comments

I'm trying to upgrade to flutter 3.3.0 using the specified command:

sh -c "curl -fsSL https://raw.githubusercontent.com/passsy/flutter_wrapper/master/install.sh" | bash /dev/stdin -t v3.3.0

But that gives an error with the following output:

flutterw:1 Blocked script execution in 'https://raw.githubusercontent.com/passsy/flutter_wrapper/v3.3.0/flutterw' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

I do have javascript enable on my browser.

Is there a way I can upgrade to my wanted version?

AlexanderMendivil avatar Mar 28 '24 04:03 AlexanderMendivil

I do have javascript enable on my browser.

Can you elaborate on that? How is js related to this issue? Where are you executing the command?

passsy avatar Mar 28 '24 08:03 passsy

I don't think is related to be honest, I ran it on my terminal and got this: Couldn't download flutterw from 'https://raw.githubusercontent.com/passsy/flutter_wrapper/v3.3.0/flutterw'

Then I tried to just get the url on my browser and that's where I get the allow script issue.

I just added the javascript enable thing if somehow it was related.

AlexanderMendivil avatar Mar 28 '24 17:03 AlexanderMendivil

ah got it. Version 3.3.0 does not exist. Try 1.3.0 😁

passsy avatar Mar 28 '24 18:03 passsy

That didn't work, this was a misunderstanding from my side, I want to upgrade the Flutter version to 3.3.0 not the flutter wrapper

AlexanderMendivil avatar Mar 28 '24 20:03 AlexanderMendivil