WordPress LMS for Web and mobile › Forums › Ionic App Support › Images in mobile app doesn't uploading
Tagged: Android, build, images, view
Hello, I built an android app and install it, but images of course doesn’t uploading and I get the gray fields or empty at all. Other structure works well. What could it be?
(It work’s in browser by ionic serve command)
the reason behind the images not being shown is this :
we are using REST api which fetched the images url which our script downloads to cache that image .
The image is not being downloaded due to CORS issue .
This is a common error when you run it in browser .It will show images when you build app and see it in Mobile .
But how could I to add CORS to my app? I’m reading the link that you give me but I don’t understand what I need to do with that.
Well there is no need .the issue is appearing in browser only .It will not appear in mobile app when you generate it .