Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rn-pdf-reader-js

> 前端框架
Open source

PDF reader in JavaScript only for Expo - Android & iOS capable

397 stars0 likes3 views
WebsiteGitHub

About

PDF reader in JavaScript only for Expo - Android & iOS capable

PDF Reader

Android support

Read a PDF just with JS (no native libs needed)

Requirements

  • Install react-native-webview on your own!
  • Install expo-file-system on your own!
  • Install expo-constants on your own!
  • Use it into Expo app (from expo client, Standalone app or ExpoKit app).
  • Only React-Native 0.59-0.60+ support, Expo SDK 33-36+

PRs are welcome...

Example

typescript
import * as React from 'react'
import { View } from 'react-native'
import PDFReader from 'rn-pdf-reader-js'

export default class App extends React.Component {
  render() {
    return (
      
    )
  }
}

See more detailed example into App.tsx file.

Props

…

Possibilities

Render type Platform Source prop
Custom PDF reader Android uri or base64
Direct from WebView iOS uri or base64
Google PDF Reader Android, iOS uri

What rn-pdf-reader-js use?

  • react-pdf (pdf.js)
  • WebView
  • Base64

FAQ

  • Why the component doesn't render PDF?

Hire an expert!

Looking for a ReactNative freelance expert with more than 12 years experience? Contact me from my website!

Issues· 29 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptexpopdf-readerpdf-viewerpdfjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架