wonday / react-native-pdf

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

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

Closed ong-palo closed 7 months ago

ong-palo commented 7 months ago

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

ong-palo commented 7 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.