Coder Social home page Coder Social logo

Comments (11)

anotherdev avatar anotherdev commented on April 28, 2024 2

@caojianfeng do you have an example code for that content provider?

from fresco.

plamenko avatar plamenko commented on April 28, 2024 1

We are thinking of supporting something very similar (basically either a custom uri handler or specifying InputStream Supplier while building image request).

from fresco.

caojianfeng avatar caojianfeng commented on April 28, 2024 1

I`m running into this issue too.
I think we can use content provider.
See http://frescolib.org/docs/supported-uris.html#_
Fresco support "content:" like url.
so we can make a content provider and do decrypt in it at first.
and then set uri "content:xxx?id=xxx&key=xxx" to drawee.

from fresco.

kenyee avatar kenyee commented on April 28, 2024

I was going to say exactly the same thing...our app has data stored on disk in encrypted form as well. It's only unencrypted when in the in-memory cache.
Thanks for supporting this soon @plamenko :-)

We also need a way to change the disk data (e.g., user edits a document/photo and writes it to disk, so the cache has to update)...

from fresco.

plamenko avatar plamenko commented on April 28, 2024

I'll have to refactor some of the fetching logic to make this plugin-like, but hopefully I'll get to this some time soon.

from fresco.

ashughes avatar ashughes commented on April 28, 2024

I'm running into this same issue. I'd like to use this in conjunction with Conceal or another file encryption mechanism which provides an InputStream.

from fresco.

agirardello avatar agirardello commented on April 28, 2024

@plamenko is there a timeline on this or any way I can "help" or use an InputStream with the current API? We would like to use in this app https://play.google.com/store/apps/details?id=fm.clean for its internal Gallery.

from fresco.

sohayb avatar sohayb commented on April 28, 2024

@plamenko any update regarding a custom Uri handler?

from fresco.

kirwan avatar kirwan commented on April 28, 2024

I don't think we're likely to get to this any time soon. If someone would like to offer a pull request, I'd be willing to offer support.

We're currently cleaning up old issues which aren't progressing but I'll leave this a little longer in case anyone is interested in pursuing this.

from fresco.

erikandre avatar erikandre commented on April 28, 2024

Closing this as part of our cleanup of old issues.

If anyone requires this feature, please consider implementing it and submitting a pull request.

from fresco.

AntDev95 avatar AntDev95 commented on April 28, 2024

I don't think we're likely to get to this any time soon. If someone would like to offer a pull request, I'd be willing to offer support.

As I understand it, nothing was implemented in the end?

from fresco.

Related Issues (20)

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.