My app shares a file to a third party app (using an intent).
Is there a way to share a file to third party apps without having to declare WRITE_EXTERNAL_STORAGE permission?
I know I can use the new on-demand permission feature to not declare this when the app is being installed, but because my app absolutely needs this to run (and it's not an optional permission), asking for permission later just so the app can run is the same thing as declaring it when installing my app.
So, is there anyway to store a file so it's accessible by a third party app so I wont have to declare WRITE_EXTERNAL_STORAGE or ask for run-time permission after the app is running?
Is there a way to share a file to third party apps without having to declare WRITE_EXTERNAL_STORAGE permission?
I know I can use the new on-demand permission feature to not declare this when the app is being installed, but because my app absolutely needs this to run (and it's not an optional permission), asking for permission later just so the app can run is the same thing as declaring it when installing my app.
So, is there anyway to store a file so it's accessible by a third party app so I wont have to declare WRITE_EXTERNAL_STORAGE or ask for run-time permission after the app is running?