Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No compatible with RN-0.77 #907

Open
davidgvf opened this issue Jan 22, 2025 · 4 comments
Open

No compatible with RN-0.77 #907

davidgvf opened this issue Jan 22, 2025 · 4 comments

Comments

@davidgvf
Copy link

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
@Raghavendarlokineni
Copy link

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.

@requinDr
Copy link

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!

@djaffer
Copy link

djaffer commented Jan 25, 2025

Blocking us too

@Eduardo-Queiroz
Copy link

It looks like there is already a PR related to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants