Open GaryGiebler opened 4 months ago
Add following method to RNPDFPdfView.mm and .h file:
- (void)setOnClick:(id)sender { // Implementation can be left empty - this prevents an exception in RN 0.73 }
I can't push code to a new branch - I get an authentication error.
@wonday Can you make this change and push a new release? I get an authentication error when I tried to push a new branch and we need to fix this bug as we can't view PDFs on iOS.
What
react-native
version are you using? 0.73.7What
react-native-pdf
version are you using? 6.7.5What platform does your issue occur on? (android/ios/both) iOS
Describe your issue as precisely as possible : 1) Attempt to display PDF on iOS 2) Above error occurs
SImple fix is to add setOnClick to RNPDFPdfView (PR to follow - tested - works).