You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the yahoo_finance_data_reader package (version 1.0.11) in my Flutter project. The package works perfectly on Android, but I encounter a CORS issue when trying to run the app on the web.
Steps to Reproduce:
Add the yahoo_finance_data_reader package to pubspec.yaml:
Expected Behavior: The app should fetch and display stock data for “GOOG” on both Android and web platforms.
Actual Behavior: The app works on Android, but on the web, it fails with the following error:
Failed to fetch stock data: DioException [connection error]: The connection errored: The XMLHttpRequest onError callback was called. This typically indicates an error on the network layer. This indicates an error which most likely cannot be solved by the library.
Additional Information:
Flutter version: 3.24.3
Dart version: 3.5.3
Platform: Web
Logs/Output:
Failed to fetch stock data: DioException [connection error]: The connection errored: The XMLHttpRequest onError callback was called. This typically indicates an error on the network layer. This indicates an error which most likely cannot be solved by the library.
Request: Could you please add web support to the yahoo_finance_data_reader package or provide guidance on how to handle CORS issues when using this package on the web?
Thank you for your assistance!
The text was updated successfully, but these errors were encountered:
Hello,
I am using the yahoo_finance_data_reader package (version 1.0.11) in my Flutter project. The package works perfectly on Android, but I encounter a CORS issue when trying to run the app on the web.
Steps to Reproduce:
yahoo_finance_data_reader
package topubspec.yaml
:Expected Behavior: The app should fetch and display stock data for “GOOG” on both Android and web platforms.
Actual Behavior: The app works on Android, but on the web, it fails with the following error:
Additional Information:
Logs/Output:
Request: Could you please add web support to the
yahoo_finance_data_reader
package or provide guidance on how to handle CORS issues when using this package on the web?Thank you for your assistance!
The text was updated successfully, but these errors were encountered: