ionic-team / ionic-app-scripts

App Build Scripts for Ionic Projects
http://ionicframework.com/
MIT License
609 stars 300 forks source link

image is not shown ion ios via `img` tag #1525

Open nachiketsalvi opened 5 years ago

nachiketsalvi commented 5 years ago

Note: for support questions, please use one of these channels:

https://forum.ionicframework.com/ http://ionicworldwide.herokuapp.com/

Short description of the problem:

I have an HTTPS image URL which came from API. I am using <img> to show the image. The image is displaying on android but it is not working on ios.

What behavior are you expecting?

The image should displayed on android and ios.

const qrCodeURL= // coming form api response
        <img [src]="qrCodeURL" />

Which @ionic/app-scripts version are you using?

 Ionic:
   ionic (Ionic CLI)  : 4.1.1 
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:
   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 6.4.0, ios 4.5.5

System:
   NodeJS     : v10.9.0