-
-
Notifications
You must be signed in to change notification settings - Fork 861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to display pdf data received from the server in the fomat starting with %PDF-1.3 %Äåòåë§ó ÐÄÆ #842
Comments
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days. |
Did you figured it out? I have a same issue with yours :_-( I couldn't find clear solutions.. |
Try |
Thank you for your reply! We were receiving base64 type of data from the server. There was a problem in the process of converting data from the server, so it was not visible on the screen. If the data comes only in the form of base 64, there was no problem in displaying it on the screen. I figured out like below
Thank you again :) |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days. |
This issue was closed because it has been stalled for 14 days with no activity. |
i am facing same problem how to solve it |
any solution found..?? |
any solution found..?? |
I Told the backed team they fixed it |
Thanks |
Before you start - checklist
What are you trying to achieve? Please describe.
trying to display pdf file.
I'm getting the pdf data from the server in the below format. But it's not it's displaying the data.
Describe what are you trying to achieve Ex. I'd like to display multiple pages of my PDF.
Describe solutions you've tried
<Document file={
data:application/pdf;base64,${pdfFileData}} onLoadSuccess={onDocumentLoadSuccess}>
Describe solutions you've already tried, if any. Make sure to include code samples if you're stuck on implementation.
Additional information
If applicable, add screenshots (preferably with browser console open) and files you have an issue with to help explain your problem.
Environment
The text was updated successfully, but these errors were encountered: