react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

Inconsistent `numberOfPages` if `singlePage` is on

Open tomas-hartman opened this issue 3 years ago • 2 comments

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.

tomas-hartman avatar Aug 01 '22 15:08 tomas-hartman

the same

patrykstawikonebid avatar Aug 20 '22 21:08 patrykstawikonebid