Open Galiza opened 4 years ago
Same issue at iOS only. App crashes at open the image
@facuim As a workaround for it, I created a modal and simulated the style for the PhotoViewer. Since this will probably not be a priority for them.
I'm getting the same issue. I have to follow the same workaround as @Galiza
I used the InAppBrowser plugin and then had to pass a base64 image to it. I'm still investigating work arounds that will give better functionality but that's what I've come up with so far.
this.iab.create(data, '_blank', 'enableViewportScale=yes,location=no');
data is base64, that's the only way that I was able to get the iab to open an image on iOS
I tested this with ionic 4, and its not working, so for workaround created a modal ctrl and just add in image with the url into it
i downgraded the plugin version to 1.1.11 and it worked
ionic cordova plugin rm com-sarriaroman-photoviewer
ionic cordova plugin add com-sarriaroman-photoviewer@1.1.11
thanks @zvihersh
it dit not work.
Hi, I'm using Ionic 4 (4.12.0) with the plugin versions:
And the code is:
The variable imgSrc is a base64. If I remove the options, the photoViewer opens with a black screen, but with the options it's crashing the app. But as the title states, it only happens on iOS.