Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230844

Reading image file into Image()

$
0
0

Hello,

I try to select image from camera roll and use it as .src to Image() instance but unfortunately it doesn’t read the file and Image().onerror triggers.

With cordova-plugin-ionic-webview 1.2.x, I could read file with normalizeUrl() function but couldn’t read it on Android. So I updated to cordova-plugin-ionic-webview 4.1.1 and now couldn’t read it on IOS (tried to use window.Ionic.WebView.convertFileSrc() too, it turns ionic:/// link and error occurs again)

How can I achive this?


Viewing all articles
Browse latest Browse all 230844

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>