Giter Club home page Giter Club logo

cordova-gallery-access's People

Contributors

ankon avatar ronnyroeller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-gallery-access's Issues

Working with UIWebView ?

Hi,

Is this plugin working with an old UIWebWiew (not WKWebView) ?

Since you're talking about the hard time you had with WKWebView, just wanna be sure its working with the old UIWebView before trying this plugin.

Thanks a lot

getMedia never resolving nor rejecting the promise in iOS

The getMediamethod is never resolving nor rejecting the promise. Works fine in Android, the issue occurs only in iOS (tested in 11.4).

// getMedia(album)
return new Promise((resolve, reject) => {
    galleryApi.getMedia(
        album,
        items => resolve(items),
        e => reject(`Failed to load items for album ${album.id}: ${e}`)
    );
});

I inspected the code, but found nothing relevant. Anyone has the same issue?

CdvToken & local-filesystem trick

Hi,

I've read your blog posts, thanks for sharing it and open sourced your code. I'm totally stucked with the same issues your encountered on ios : I can't display my pictures in a WKWebView.

I yet use a library for permissions request and gettings phone pictures and i try to use the trick you explain in your blog post : the url to use for img should be "/local-filesystem${item.thumbnail}?cdvToken=${cdvToken}". I don't see in your plugin code, neither in cordova-gallery-api where cdvToken is used. I don't get how the local webserver translate this url to something linked to the picture. Is it done by wkwebview or local server plugin ?

My questions :

  • How do I know the parameter cdvToken to use for a picture ?
  • Is URL should be something like /local-filesystem/var/mobile/Media/DCIM/100APPLE/IMG_0002.JPG?cdvToken=550149E3-35DA-43C8-89E7-D169D0CE8597%2FL0%2F001 ?

Have a great day

Dorian

Pictures are not the most recent ones

Hi !

Most of the time, depending on the mobile AND sometimes after some days/months of utilisation, pictures are not the most recent ones (chronologically sorted) but appeared to be retrieved kind of randomly from the past (but in order).

I am guessing it's more about the cordova plugin, but do you have any ideas what can cause this ? Or have ever experienced this ?

I am doing :

cordovaGallery.load({ count: 3 })

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.