Open MisterJimson opened 3 years ago
@subfuzion here is the related issue on this repo FYI
Same problem
I had this same problem and traced it back to CORS which the repo did not previously support. The CORS issue is documented in https://github.com/GoogleCloudPlatform/functions-framework-dart/issues/201, and I am patiently awaiting on feedback for a fix via: https://github.com/GoogleCloudPlatform/functions-framework-dart/pull/317.
I've setup this project https://github.com/subfuzion/dart-flutter-fullstack-demo
Works great with macOS desktop, running the backend locally and on Google Cloud Run.
When I try with Flutter Web, both local and on Google Cloud I get error when making the request.
Google Cloud Client error:
XMLHttpRequest error
Local Client error:
XMLHttpRequest error
Backend error:Flutter Doctor