ionic-team / ionic-team/cordova-plugin-ionic-webview

Display albums pictures (local files)

Open
#102 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Objective-C
Stars
493
Forks
410
PR merge metrics
No merged PRs in 30d

Description

Hi,

Sorry if this has already been asked, but I can't find any clear solutions that works, I probably missed something.

I try to display pictures of the phone on my app. I have access to the path of these pictures (e.g /var/mobile/Media/DCIM/100APPLE/IMG_0002.JPG) and an id as well (e.g 550149E3-35DA-43C8-89E7-D169D0CE8597%2FL0%2F001).

As the webview is a local server, I understand that

I've tried these path and none of them works :
- http://localhost:8080/var/mobile/Media/DCIM/100APPLE/IMG_0002.JPG
- http://localhost:80/var/mobile/Media/DCIM/100APPLE/IMG_0002.JPG
- http://localhost/var/mobile/Media/DCIM/100APPLE/IMG_0002.JPG

Is there a way to do it with this webview or is it not possible ?

Nota Bene: I can't use a UIWebview because there are a lot of bugs with scroll which freezes when -webkit-overflow-scrolling is set to touch, which is mandatory for a native scroll

Have a great day

Dorian

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.