react-native-pdf
react-native-pdf copied to clipboard
Inconsistent `numberOfPages` if `singlePage` is on
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 :
- Steps to reproduce the issue or to explain in which case you get the issue
- 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.
the same