Hey @renadr,
react-native-view-pdf
won’t work in a standard Expo project because it requires modification of native code. In order to use it, you would have to eject which creates the ios
and android
directories. A fellow exponaut @xcarpentier built a library to view PDF’s but due to some changes in the two latest version of RN I believe it’s broken at the moment. You can investigate here: Read PDF with Expo (ios & android) - #9 by colinkrist and the library is here: GitHub - xcarpentier/rn-pdf-reader-js: 📄 PDF reader in JavaScript only for Expo - Android & iOS capable
Cheers,
Adam