[X] I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
When I define the URL in the Network Path of the PDF Viewer widget using a variable (from either a JSON response or a Data Type), the PDF does not display in the widget during testing or in a deployed app. However, if I manually input the same URL directly into the Network Path, the PDF displays correctly. This issue occurs across multiple PDFs, so it is not specific to a single file.
Expected Behavior
The PDF Viewer widget should display the PDF correctly when the URL is provided via a variable, just as it does when the URL is entered directly into the Network Path.
Steps to Reproduce
Create a new project.
Add a PDF Viewer widget to a page.
Set the Network Path of the PDF Viewer to a variable containing the URL of a PDF (from an API call or a Data Type).
Run the app.
Observe that the PDF is not displayed.
Reproducible from Blank
[X] The steps to reproduce above start from a blank project.
- FlutterFlow version:
- Platform:
- Browser name and version:
- Operating system and version affected:
Additional Information
This issue is blocking the proper display of PDFs in my application. I have tried various PDFs and configurations, but the issue persists when using a variable for the Network Path. This bug limits the functionality of my app, making it difficult to proceed with my project.
Can we access your project?
Current Behavior
When I define the URL in the Network Path of the PDF Viewer widget using a variable (from either a JSON response or a Data Type), the PDF does not display in the widget during testing or in a deployed app. However, if I manually input the same URL directly into the Network Path, the PDF displays correctly. This issue occurs across multiple PDFs, so it is not specific to a single file.
Expected Behavior
The PDF Viewer widget should display the PDF correctly when the URL is provided via a variable, just as it does when the URL is entered directly into the Network Path.
Steps to Reproduce
Create a new project. Add a PDF Viewer widget to a page. Set the Network Path of the PDF Viewer to a variable containing the URL of a PDF (from an API call or a Data Type). Run the app. Observe that the PDF is not displayed.
Reproducible from Blank
Bug Report Code (Required)
ITEei87lz4hPtbxD+pDIbMIxowMwHUgkU7knktVxRRQaI+PpBJYlPs7BQE5vSOqHdH5qHFSLsF0zpKHUheLxA+0EJTCVQJQ5yqhfUxDjd3GXMrXXDLi8R0clRPNYN3aC0Lu3qghAOvJidVZh6k6UHuyQa3qCf9qOYwx5e6fDbOY=
Visual documentation
Environment
Additional Information
This issue is blocking the proper display of PDFs in my application. I have tried various PDFs and configurations, but the issue persists when using a variable for the Network Path. This bug limits the functionality of my app, making it difficult to proceed with my project.