-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Responses come back but callback is never called #26
Comments
Hi @PimDeWitte , thanks for your informing. I am looking into this issue, but I need some time. Besides, I noticed that your |
I figured it out. The GET parameters are not respected in android e.g. http://google.com?q=X will be sent properly on iOS, but will be sent as http://google.com on android @wkh237 |
@wkh237 any direction where I could look? Pretty urgent for me to get this fixed. This is so much better then the react-native-fs lib :-) |
@PimDeWitte , great thanks for your information! Looks like I added params twice on Android. So the server doesn't response as expect. I've just solved this issue but it's based on I will publish |
@wkt |
Hey, I'm seeing a strange issue on Android when I try to use this lib.
I'm working on an application that needs to download images from the web, and store them on device. However, as you can see, the process is completed by AsyncHTTP, but the callback itself is never called.
My code:
RNFetchBlob
.config({
fileCache: true,
path : fileName
})
.fetch('GET', tile.url, {})
.then((res) => {
console.log("Saved to " + res.path())
processedTiles++;
if (processedTiles >= tilesToBeProcessed) {
parent.onTileProcessed(card, index);
}
});
The text was updated successfully, but these errors were encountered: