Skip to content
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

Facing issue when displaying two different pdf side by side on same screen ( Android ) #114

Closed
Sharvin26 opened this issue Jul 10, 2020 · 3 comments
Labels
wontfix This will not be worked on

Comments

@Sharvin26
Copy link

Sharvin26 commented Jul 10, 2020

Issue Description

I am seeing a weird behavior when displaying the PDF side by side on same screen. I am using Flatlist to show the PDF Documents side by side.

I am seeing same PDF document side by side when both PDF that I have uploaded are different. On IOS I am able to see different PDF side by side but this issue only occurs on Android. Please see the screenshot below to see the issue and behavioral difference between IOS and android.

Android:
Screenshot_20200710-121517

IOS:
Simulator Screen Shot - iPhone 11 - 2020-07-10 at 12 19 00

Following are the path for the both the files:

  • File 1:
    file:///data/user/0/host.exp.exponent/files/ExperienceData/%2540userName%252FAppName/909988fb-a4e4-457c-8c62-6cbc540134b6.pdf

  • File 2:
    file:///data/user/0/host.exp.exponent/files/ExperienceData/%2540userName26%252FAppName/86e383af-4779-46c4-913e-a947db78673a.pdf

Also is there any way that I can suppress these log lines that are printed by default by this library?. ( i.e. Hide them )

URL_TO_BASE64
URL_TO_BASE64

Steps to Reproduce / Code Snippets

Steps are mentioned in this issue.

Expected Results

It should show different PDF Documents side by side on Android. ( As it shows on IOS )

Additional Information

  • Nodejs version: v12.16.1
  • React version: 16.9.0
  • React Native version: 0.61
  • Expo version: 37.0.1
  • rn-pdf-reader-js version: 4.0
  • Platform(s) (iOS, Android, or both?): Android
  • TypeScript version: Not Using
@xcarpentier
Copy link
Owner

Actually we are not supported this kind of so called “multiple pdf render at the same time” yet!

But it seems a recurrent feature request.

If some others have this kind of demand, feels free to thumbs up and I will try to make it possible.

@Sharvin26
Copy link
Author

Yes, it would be great add on if the library could render multiple PDF at a time. Also why is the PDF rendering slow for android but fast for the IOS device? It would be great if you could comment out the log statement such as URL_TO_BASE64.

@stale
Copy link

stale bot commented Aug 15, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 15, 2020
@stale stale bot closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants