WordPress LMS for Web and mobile Forums Ionic App Support Images in mobile app doesn't uploading

Images in mobile app doesn't uploading

Tagged: , , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16560

    EMuhin
    Participant

    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)

    #16613

    Alex
    Keymaster

    the reason behind the images not being shown is this :

    https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS 

    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 .

     

     

    #16615

    EMuhin
    Participant

    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.

    #16649

    Alex
    Keymaster

    Well there is no need .the issue is appearing in browser only .It will not appear in mobile app when you generate it .

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.