Hello,
so I’m workin mainly on Android 4.4.2. It seems to be a restriction of the os, that the webview chromium cannot access local resources.
Please assume, that I have a picture “mypic.png” in the download folder. I tested a simple local resource request, by setting an html image tag into a view, like:
<ion-content> <img src="file:///storage/emulated/0/Download/mypic.png" </ion-content>
Testing this with ionic run -l
does not show the picture on an Android 4.4.2 device.
But testing this on an Android 4.3 device … here it works. On Android versions before 4.4.2 I have no restrictions to local resources.
Android 4.4.2 (+) has restrictions to local resources. The resources (like a png-image) cannot be accessed easily, like in past Android versions. How to slack this restriction?