πPDF Viewer
View PDF files instantly within the app environment, eliminating the need to download the document first or redirect the user to an external device browser
π§ Bubble.io Plugin
[Action] Natively - Open PDF
URL - the direct URL address pointing to the PDF file (e.g.,
https://example.com/document.pdf)Base64 - the Base64 encoded string representing the entire PDF file
File name - custom filename for the PDF when displayed or downloaded. If not provided, a default name with timestamp will be generated:
{timestamp}.pdfDownload - yes/no - controls whether to show the download button in the PDF viewer
Either URL or Base64 must be provided.
How to use
The native PDF Viewer is triggered via a single action in your workflow: Natively - Open PDF action
URL or Base64 - Required - Specify either the URL address pointing to the PDF file or the Base64 encoded string of the file content.
File name - Optional - Provide a file name (e.g.,
invoice_Q4.pdf)Download - Required - Specify yes or no


π JavaScript SDK
Download Functionality
When the user taps the Download button within the native PDF Viewer, the following sequence occurs:
The PDF file is saved directly to the device's default Downloads folder.
A snackbar notification appears at the bottom of the screen to indicate the success or failure of the download process.
The download button is replaced with a green checkmark icon to provide immediate visual confirmation that the file has been successfully saved to the device.
Last updated
Was this helpful?