wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.57k stars 532 forks source link

Remove @override in RNPDFPdfViewManagerDelegate.java to fix 'no matching methods to override' error #822

Closed ong-palo closed 2 months ago

ong-palo commented 3 months ago

Remove @ override in RNPDFPdfViewManagerDelegate.java to fix 'no matching methods to override' error when building android

ong-palo commented 3 months ago

When building on android on latest commit, this causes an error where it says that there are no methods to override for the two methods in the file RNPDFPdfViewManagerDelegate.java.

Removing the @ Override notation fixes this build and allows the library to work.