-
Notifications
You must be signed in to change notification settings - Fork 14
Web Support #3
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
Comments
It worked for me. v2 |
Sorry v2 of what? And which Flutter version are you on? I wonder if it could be dependant on that. |
If you upgrade to => flutter v2 you get web |
Yes I can boot up the app on web fine, but when you click the button to make the http request it fails with the details I linked in the description. |
I saw there were some cors errors.
I guess the easiest would be just to add cors * , since this is just a demo. |
Apparently, we're not handling the OPTIONS request in the Dart Functions Framework that the browser client is submitting before the POST request. Need to do a bit more investigating. cc/ @kevmoo |
@MisterJimson, @andreujuanc Would you please re-open this issue at https://github.com/GoogleCloudPlatform/functions-framework-dart? This demo has now been merged there under the |
Trying to get the app to run on Flutter Web
The app launches correctly on web, but when trying to make the http request I am running into this: GoogleCloudPlatform/functions-framework-dart#201
Will follow up if I am able to resolve
The text was updated successfully, but these errors were encountered: