I have an ionic app when I run that on ios then it works perfectly fine but when I run that then I get above error which is
Http failure response for (unknown url): 0 Unknown Error
Any reason I am getting this one? I have allowed CORS on server side as it is working on iOS devices.
Any help?
EDIT
This is what I have in my app.js file
const cors = require('cors');
And then I simply use it with default options.
app.use(cors());
from Http failure response for (unknown url): 0 Unknown Error on android

No comments:
Post a Comment