Giter Club home page Giter Club logo

Comments (6)

tushar-dadlani avatar tushar-dadlani commented on July 18, 2024

.null is on android on iOS it shows up as (null)-someid.data

improved the filename for android, need someone to test, for iOS - will need to do something like https://github.com/react-native-community/react-native-share#share-remote-pdf-file-with-gmail--whatsapp-ios

I have made some changes here: https://github.com/tushar-dadlani/private-kit/tree/tdadlani/fix_share_name

would love your thoughts before I open a PR

from safeplaces-dct-app.

tremblerz avatar tremblerz commented on July 18, 2024

Looks good based on changes, haven't tested it yet. Can you open a PR @tushar-dadlani ?

from safeplaces-dct-app.

tushar-dadlani avatar tushar-dadlani commented on July 18, 2024

I am breaking this into 3 parts

  1. Save file to disk with the correct name
  2. Share the file from filesystem
  3. delete the file locally

from safeplaces-dct-app.

tremblerz avatar tremblerz commented on July 18, 2024

I would recommend avoiding that route if possible because other Apps can pickup for the time it is on disk (making the data non-private in a sense). At the same time I am aware of this issue being the library issue not ours so take your call.

from safeplaces-dct-app.

tremblerz avatar tremblerz commented on July 18, 2024

Export on iOS is still an issue when sent as an attachment on Apps like gmail and whatsapp

from safeplaces-dct-app.

tremblerz avatar tremblerz commented on July 18, 2024

Fixed in #283

from safeplaces-dct-app.

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.