wonday / react-native-pdf

A <Pdf /> component for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import undefined.RNPDFPackage;

jimgitonga opened this issue · comments

"react-native": "0.68.0",

"react-native-blob-util": "0.16.0",
"react-native-pdf": "6.6.2"

platfrom android
on running command yarn android to build i get the following error
> Task :app:compileDebugJavaWithJavac FAILED t/MyProject/android/app/src/main/java/com/myproject/MainApplication.java:8: error: package undefined does not exist import undefined.RNPDFPackage;

at node_modules/react-native-pdf/android/src/main/AndroidManifest.xml

add package="org.wonday.pdf" to

so it looks like