Skip to content
Discussion options

You must be logged in to vote

i was facing similar issue on Android 10 when i tried to share large text file using Share Plugin

        capacitorFilesystem.Filesystem.getUri({
          directory: capacitorFilesystem.Directory.Data,
          path: "secret/large.text"
        })
      .then((uriResult) => {
       
        console.log( Capacitor.convertFileSrc(uriResult.uri));
         capacitorShare.Share.share({
          title: "Text File Share Test",
          text: "Large Text File",
          url: uriResult.uri,
        }).catch((e)=>{
          console.log("Error ",e)
        })
        
      }).catch((e)=>{
        console.log("Error ",e)
      })

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kajk
Comment options

Answer selected by kajk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants