So I have to manage temp files inside the app.
Otherwise,
is there any chance that the sendMessage method returns after having effectively transferred the file
instead of being that the email app just shows it as an attachment (to be loaded after the user hits the send button),
so
it can be deleted immediately after the method returns?
Or is there any way to understand that the user has completed that operation? (Or just it leaved the email app back to my app)
Maybe the onStart method is called? Isn't it?
I mean, even it the email app would load the file when the user hits the "send" button, I can assume that if the user comes back to the app, the temp file can be deleted.
Thanks in advance