-
Notifications
You must be signed in to change notification settings - Fork 110
Description
When using the AWS Textract API in a browser-based Dart/Flutter application, I encountered CORS errors that prevent direct API calls. The Dart SDK doesn't currently provide a mechanism to handle these CORS restrictions.
Current behavior: Browser blocks requests to AWS Textract with CORS errors when attempting direct API calls.
Expected behavior: SDK should provide some solution or clear documentation for handling CORS issues in browser environments.
Workarounds attempted:
Custom headers (not supported)
Researched AWS documentation (no CORS settings available for Textract)(or I couldn't find any)
Currently forced to implement a server-side proxy, adding unnecessary complexity to
what should be a client-only application.
Please consider adding browser support guidance or features to the SDK to enable more straightforward AWS service calls from Dart web applications.