Reputation: 337
My react-redux app works fine on regular browsers but not on mobile browsers. I've used Remote Debugging on Android Devices to check what's going on and I get these 2 errors:
The app makes many fetch requests but I'm afraid that fetch is not supported by chrome mobile. Any help would be much appreciated.
Upvotes: 0
Views: 4246
Reputation: 385
Looks like a CORS problem. Make sure the protocol for your requests is "HTTPS". If you are using Node, in your server.js code, use the standard CORS npm package.
Chrome for Android, version 42 onwards supports the fetch API. Why aren't you using error handling if the promise is rejected anyway
Upvotes: 3