Open selankon opened 2 years ago
On Android device, on receive a sharing intent, it makes a copy on the app cache folder.
This is slow for a big files, and also, could be not the expected behavior if the app has enough file permissions.
My proposal is to modify how to get file absolute path in order to do not copy it on the cache in case enough permissions are set.
The cache copy is done here or here.
It could be useful to use PickiT library to get absolute path.
This is related to https://github.com/KasemJaffer/receive_sharing_intent/issues/217
I implemented a POC here:
https://gitlab.com/elRepo.io/receive_sharing_intent_pickit/-/merge_requests/1
If you check there, you will see a working example. Cleaning the code should be needed.
On Android device, on receive a sharing intent, it makes a copy on the app cache folder.
This is slow for a big files, and also, could be not the expected behavior if the app has enough file permissions.
My proposal is to modify how to get file absolute path in order to do not copy it on the cache in case enough permissions are set.
The cache copy is done here or here.
It could be useful to use PickiT library to get absolute path.
This is related to https://github.com/KasemJaffer/receive_sharing_intent/issues/217