No compatible with RN-0.77
No compatible with RN-0.77 on android:
> Task :react-native-pdf:compileReleaseJavaWithJavac FAILED
/Volumes/WD_BLACK_1TB/WWW/bildy-app/node_modules/react-native-pdf/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerDelegate.java:16: error: cannot find symbol
import com.facebook.react.uimanager.BaseViewManagerInterface;
^
symbol: class BaseViewManagerInterface
location: package com.facebook.react.uimanager
/Volumes/WD_BLACK_1TB/WWW/bildy-app/node_modules/react-native-pdf/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerDelegate.java:18: error: cannot find symbol
public class RNPDFPdfViewManagerDelegate<T extends View, U extends BaseViewManagerInterface<T> & RNPDFPdfViewManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
^
symbol: class BaseViewManagerInterface
Thanks @davidgvf for reporting this issue.
We do are struggling with same issue.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-pdf:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Same issue after upgrading to React Native 0.77.
error: cannot find symbol import com.facebook.react.uimanager.BaseViewManagerInterface
It is due to a change they made, as explained in the release blog
Additionally, several APIs have been removed or restricted in visibility, so they can’t be accessed anymore. Those APIs were internal and not needed to React Native developers directly. You can find the full list below:
The following classes are now either internal or have been removed, so can’t be accessed anymore: ... BaseViewManagerInterface ...
I'm hopping for a fix to complete my upgrade, thank you!
Blocking us too
It looks like there is already a PR related to it.
This has been fixed in v6.7.7. At this time it's not showing up on the releases page, but here's the commit 🙂