Permission denied for the attachment
See original GitHub issueHey and thank you for your amazing work.
Basically I am trying to send an attachment through email but I am getting a Permission deined for the attachment error
on Android.
On iOS the path just gets written after message body…
The file Im trying to send is a vcf file (VCard), the url Im trying to send looks like this:
file:///data/user/0/com.appName/files/Teste-ABC.vc
my shareOptions object:
shareOptions: {
title: 'Share VCard',
url: `file://${file}`,
type: 'vcf',
message: 'VCard Test'
},
And, Im using the shareSingle option like this:
Share.shareSingle(Object.assign(shareOptions, {
"social": "email"
}));
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
When I try to email my report, I get the “Permission denied for ...
When I try to email my report, I get the “Permission denied for the attachment” message, what should I do? · Open the...
Read more >Gmail 5.0 app fails with "Permission denied for the attachment ...
I was able to pass a screenshot .jpeg file from my app to GMail 5.0 through an Intent. The key was in this...
Read more >permission denied to the attachment - Android Central Forums
Gmail opens and "permission denied to the attachment" appears. I never had a problem until the 2 days ago. All apps updated.
Read more >Permission denied for the attachment when creating email on ...
I am able to compose an email - but have the toast appearing with "Permission denied for the attachment" string filename = "log.txt"; ......
Read more >Change app permissions on your Android phone - Google Help
If you allowed or denied any permissions for the app, you'll find them here. To change a permission setting, tap it, then choose...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
permission denied for attachment react native
@avencat Removing type from options is working as intended 👍