Issue I’m trying to write a mobile app via Capacitor that makes use of PouchDB. When I run the app in the emulator via Android Studio the connection to the remote CouchDB instance fails. I’ve tracked this down to a
Continue readingTag: fetch
Issues with fetching urls from api flutter
Issue working on a flutter project for a while now, didn’t notice it at all. I’m fetching events as objects from an API, one of the variables that the events have is a URL, which for some reason is the
Continue readingReact Native Android HTTP Fetch Fails
Issue Having issues using fetch in the android emulator with a local server. I can run the below code in node and in other environments with no issues, but in the Android emulator, I get an error. This is the
Continue readingReact Native Expo: Network error on android
Issue I’m using axios in my app. When I make a post request for the very first time after opening the app, it is failing with the following error. From second time onwards, it works without any issue. Network Error
Continue readingnetwork request failed react native on https image upload Android
Issue I am trying to upload image through fetch api but getting Network request failed error on real device android. I also tried lots of lots of suggestion from google but nothing worked for me. my dependencies are: “react-native”: “0.62.0”,
Continue readingfetcing data error :Unhandled Exception: NoSuchMethodError: The method '[]' was called on null
Issue Hello everyone! I am trying to fetch my product Data from Firebase server ,when i sign in i got this error: Unhandled Exception: NoSuchMethodError: The method ‘[]’ was called on null. when I face this problem before i added
Continue readingAndroid emulator hosts file not working for android app
Issue I have a react native app running on an android emulator and I’m trying to make a request to my local api(running on my laptop) at https://dev.mywebsite.com/api . This domain is host filed in the emulator like so :
Continue readingReact Native android FormData response goes to catch block after .json()
Issue I’m trying to POST data with FormData to get a response, on iOS it works as expected, but on android, it always goes to the catch block, I found out the reason for that is response.json() with error: [SyntaxError:
Continue readingReact Native android FormData response goes to catch block after .json()
Issue I’m trying to POST data with FormData to get a response, on iOS it works as expected, but on android, it always goes to the catch block, I found out the reason for that is response.json() with error: [SyntaxError:
Continue readingReact-Native multipart photo upload not working in android
Issue I’m trying to send/upload image file to my back-end serve using fetch multipart upload in react-native, but fetch multipart form data upload is not working for android, however I tried different examples. Image upload multipart form data API is
Continue reading