I am having this issue: My app (Android version) downloads PDF files and saves them to cordova.file.dataDirectory. User can then open or send PDF files via native apps (like adobe reader and gmail). Here lies my problem…when I want to attach pdf to gmail or open pdf in acrobat app I get message that gmail ( or acrobat) doesnt have permission to open my pdf. I get that in documentation for cordova file plugin this dataDirectory is under “private”. Is there any way to solve this?
I made this app around 1 year ago and now I want to do some updates and now I have this issues with permissions (I didnt have them with my old build. User could view and send files as much as they want no matter what Android OS they were using).
Any help would be greatly appreciated.