Attach document object and send via Whatsapp or email

I have created an app for Hybrid online profile. I created a document object of type pdf. I want to attach this document and share via whatapp/Email in mobile. For that I am using share activity from nanoflow. The Share activity takes url,text,title as input of type String (for all 3 inputs).   The issue I am facing is that I am not able to send the document object as attachment via Whatapp/email.  How can i pass Document Object to share activity (nanoflow) which only takes string as input? Is there a way to create link from document object so that I can pass to the share activity?
1 answers

Any reason why not just use the standard mail functionality within Mendix? Then you can just send it as attachment (as soon as there is a connection at least)?