Closed shakir-fattani closed 3 years ago
in example app,
i have add type of file which is 'image/png' in 'shareScreenShot' function,
so that we can improved android sharing preferences.
@shakir-fattani Thank you! @lubritto I hope you'll find time to merge this evolution.
filetype is added for android to cut down options to only which support this file type.
before : i was trying to share PDF file. but didn't get option of default PDF printer.
then: I was trying to find out why this is happening. then i try to do it in native android and i found that there is an option in intent to set type. when i look in native android code of this plugin. i findout that type was hardcoded to "/"
now i have changed hardcoded type to default parameter "/"
so that i can set type to 'application/pdf'