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

pdf is blurry on iOS physical device. #634

Open
Jibs15 opened this issue Feb 3, 2022 · 0 comments
Open

pdf is blurry on iOS physical device. #634

Jibs15 opened this issue Feb 3, 2022 · 0 comments

Comments

@Jibs15
Copy link

Jibs15 commented Feb 3, 2022

What react-native version are you using?
^0.65.1

What react-native-pdf version are you using?
^6.4.0

What platform does your issue occur on? (android/ios/both)
iOS.

Pdf with bigger size(more than 1 MB) is loaded as blur in iOS physical device. In iOS emulator and Android platform, it does become blur initially when you zoom in but withtin seconds I get clear view which is absolutely fine.
But in iOS physical device, I have to wait for 10-15 min to get clear view after I zoom in.

<Pdf maxScale={10} source={{ uri: fileUrl, cache: true }} style={styles.pdf} onError={(error) => { console.error('Unable to load pdf: ', error); }} onLoadComplete={(numberOfPages) => { console.log(numberOfPages); }} />

Thank you in advance.

@Jibs15 Jibs15 mentioned this issue Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant