itinance / itinance/react-native-fs
react-native-fs changes the toUrl itself
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
my url is => `http://180.100.200.202/api/files/upload`
this is my code
```
uploadFiles({
toUrl: "http://180.100.200.202/api/files/upload",
files: files,
method: "POST",
headers: { Accept: "application/json" },
begin: () => {
},
progress: ({ totalBytesSent, totalBytesExpectedToSend }) => {
// console.log({ totalBytesSent, totalBytesExpectedToSend })
},
})
.promise.then(_ => {
})
.catch(_ => {
console.log(_)
})
```
when I call the above code I get the following error:
`[Error: Failed to connect to /180.100.200.202:80]`
this is not my url. why it changes ?
NOTE: It works perfectly in emulator but in cell phone does not
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.