Have you tested/viewed the pdf before sharing ? (Also do this outside of the app on your device)
If that is OK, then there must be an issue with the sharing activity (to WhatsApp). I do not use WhatsApp so cannot help with that.
Thanks for your reply.
I found the error, there was a space at the end of the name .pdf(space)
Probably whatsapp doesn't able to fix and manage this extra space but telegram and Drive yes.
The pic helps me to see the space
How is this related to this pdf extension?
What about providing a screenshot of your relevant blocks?
Which Android version are you using for your tests?
Taifun
The PDF extension does not recognise any filescope settings. You use the plain blocks if Android version is < 10 and the "10" blocks if android version is >= 10.
I want to display a pdf/html content in my app.
When I was looking for a solution, I came upon this extension. Imported the AIA file to test in my device. I didn't make any changes to the code. My android version is 14.
Do you want to create a pdf, or simply view a local or online pdf that already exists?
view online pdf/doc files
For online files it is easiest to use the webviewer and the google document viewer url:
(courtesy puravidaapps)
Nevermind I fixed it a little but it wont download.
Download to where?
I want it to download as a PDF to a users phone or device, In my case thats a chromebook.
What are you current blocks for this "download" procedure ?
Here are my current blocks,
The pdf is already saved to your ASD, why do it again and save it over itself?
How is this intended to "download" ?
Explain what you want to do with the pdf file in your ASD ...
I want to be able to open it up on my device and see it as a .pdf file, Are you able to help me make that happen?
Does the Finished page 10 block get me the contents of the page or does it do something else.
No, it close the file (pdf)
To open it and read it either use the built in read method, or you can use this extension: