What react-native version are you using?
0.64.0
What react-native-pdf version are you using?
6.4.0
What platform does your issue occur on? (android/ios/both)
android
Describe your issue as precisely as possible :
1) Steps to reproduce the issue or to explain in which case you get the issue
You try with file file_example.pdf
page 1,3 not show fit screen width
page 2 normal
1 picture other show normal
2) Interesting logs
Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?
<Pdf
minScale={1}
maxScale={view ? 3 : 1}
source={{ uri: base64PDF }}
onLoadComplete={(numberOfPages, filePath, { width, height }) => {
console.log(number of pages: ${numberOfPages});
console.log(width: ${width});
console.log(height: ${height});
setNumberOfPages(numberOfPages)
setWidth(width)
setHeight(height)
}}
onPageChanged={(page, numberOfPages) => {
console.log(current page: ${page});
setCurrentPage(page)
}}
onScaleChanged={(valueScale) => {
console.log(scale: ${valueScale});
}}
enablePaging
horizontal
\
style={styles.pdf}
/>
What
react-native
version are you using? 0.64.0 Whatreact-native-pdf
version are you using? 6.4.0 What platform does your issue occur on? (android/ios/both) android Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue You try with file file_example.pdf2) Interesting
logs
Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?
<Pdf
minScale={1}
maxScale={view ? 3 : 1}
source={{ uri: base64PDF }}
onLoadComplete={(numberOfPages, filePath, { width, height }) => {
console.log(
number of pages: ${numberOfPages}
); console.log(width: ${width}
); console.log(height: ${height}
); setNumberOfPages(numberOfPages) setWidth(width) setHeight(height) }} onPageChanged={(page, numberOfPages) => { console.log(current page: ${page}
); setCurrentPage(page) }} onScaleChanged={(valueScale) => { console.log(scale: ${valueScale}
); }} enablePaging horizontal \ style={styles.pdf} />