Open PDF in Android in Expo Project

One of my project features is to open pdf. I know IOS is so convenience to use WebView. And I found a package ’ xcarpentier/rn-pdf-reader-js
(GitHub - xcarpentier/rn-pdf-reader-js: πŸ“„ PDF reader in JavaScript only for Expo - Android &)’ which can do it.
But when I try to install the package, it failed with following errors.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined @ undefined
npm ERR! Found: expo @ 42.0.3
npm ERR! node_modules/expo
npm ERR! expo @" ~42.0.1 " from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer expo @" >= 33.0.x < 37.0.x " from rn-pdf-reader-js @ 4.1.1
npm ERR! node_modules/rn-pdf-reader-js
npm ERR! rn-pdf-reader-js @" ***** " from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Would any expertise can help me to solve it or suggest me any other package ?

Thank you very much.

Rgds.
Teddy Law

The tip in this thread might work: Unable to install rn-pdf-reader-js on expo > 37 - rn-pdf-reader-js

I’ve not tried this package, but it is common to run into dependency issues if the author/owner of a library doesn’t update for newer version of RN and/or the Expo SDK.