What react-native version are you using?
0.68.0
What react-native-pdf version are you using?
6.4.0
What platform does your issue occur on? (android/ios/both)
android vs ios
Describe your issue as precisely as possible :
1) Steps to reproduce the issue or to explain in which case you get the issue
2) Interesting logs
If I set up singlePage={true}, onLoadComplete's callback always gets 1 as numberOfPages arg on android. It always gets correct numberOfPages on iOS.
What
react-native
version are you using?0.68.0
Whatreact-native-pdf
version are you using?6.4.0
What platform does your issue occur on? (android/ios/both)android
vsios
Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue 2) Interestinglogs
If I set up
singlePage={true}
,onLoadComplete
's callback always gets1
asnumberOfPages
arg on android. It always gets correctnumberOfPages
on iOS.