react-native-pdf

A <Pdf /> component for react-native

MIT License

Downloads
574.5K
Stars
1.6K
Committers
116

Bot releases are hidden (Show)

react-native-pdf - v6.7.5 Latest Release

Published by wonday 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/wonday/react-native-pdf/compare/v6.7.1...v6.7.5

react-native-pdf - v6.7.4

Published by wonday 10 months ago

v6.7.4
Fixed: Fix Android crash issue

v6.7.3

Fixed: fix android package name
v6.7.2

Fixed: fix iOS double tap zoom scrolling
Fixed: fix RN 73 compatibility
Fixed: bump crypto-js to avoid critical vulnerability

react-native-pdf - v6.7.1

Published by wonday over 1 year ago

v6.7.1

Fixed: fix ios project setting
Fixed: fix typo in RNPDFPdfViewManagerInterface interface causing android build error

v6.7.0

Fixed: fix(iOS): center page at tap point after double tap to zoom
Fixed: add PDFKit to podspec to make ios compile
Improved: Update build.gradle to support RN 0.71 on new arch
Fixed: fix some small bugs and documents.

react-native-pdf - v6.6.0

Published by wonday about 2 years ago

  1. Fixed: Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'
  2. Added: Decode File Path for iOS
  3. Improved: prefer current page for calculating scale factor on fit
  4. Improved: Typescript version source
react-native-pdf - v6.5.0

Published by wonday over 2 years ago

  1. Fix: replace mavenCentral with maven
  2. Breaking Change(Android): replace deprecated repository: jcenter()
  3. Fix: loading progress
  4. Add: Typed "source" prop
  5. Remove: dependency to fbjs
react-native-pdf - v6.4.0

Published by wonday almost 3 years ago

v6.4.0
Remove sample for reducing NPM package size
Add support for setting a filename for the cached pdf file
Use react-native-blob-util instead of rn-fetch-blob
Add blob support
remove progress-view dependency

v6.3.0
Add windows support
Fixed some bugs

v6.2.2
Fixed incorrect type of onPageSingleTap and onScaleChanged argument
Fixed included missing setPage method in TypeScript and Flow types
fixed Xcode 12 compatibility

react-native-pdf - v6.2.1

Published by wonday about 4 years ago

  1. Fix typescript onLoadComplete() definition
  2. Switched the AndroidPdfViewer dependency from Barteksc repo to TalbotGooday
  3. Add singlePage property
react-native-pdf - v6.2.0

Published by wonday over 4 years ago

  1. Fixed ReferenceError, url should be source.uri
  2. Dependency bump to support React-Native >= 0.62
react-native-pdf - v6.1.2

Published by wonday over 4 years ago

  1. Fixed wrong scale returned from onScaleChanged()
  2. Fixed iOS Double Tap zoom
  3. Fixed Some critical typo fixes
react-native-pdf - v6.1.1

Published by wonday over 4 years ago

  1. Fixed undefined is not an object, crashing on ios
react-native-pdf - v6.1.0

Published by wonday over 4 years ago

v6.1.0

  1. fix react-native warning on componentWill*
  2. fix onPageSingleTap
  3. Set the PDF View background color to be transparent On iOS

v6.0.1

  1. Expose prop to trust self-signed SSL certs
  2. Use ViewStyleProp in index.js.flow, not deprecated StyleSheet.Styles
react-native-pdf - v6.0.0

Published by wonday almost 5 years ago

  1. Add JS callback onPressLink for pdf link press listener
  2. Fix calling setState while unmounted
react-native-pdf - v5.1.7

Published by wonday about 5 years ago

  1. downgrade to AndroidPdfViewer 3.1.0-beta.1
react-native-pdf - v5.1.6

Published by wonday about 5 years ago

  1. fix componentWillReceiveProps and componentWillMount warnings
react-native-pdf - v5.1.5

Published by wonday about 5 years ago

  1. add setPage() method
  2. upgrade to AndroidPdfViewer to 3.2.0-beta.1
  3. fix some codes ,readme and sample
react-native-pdf - v5.1.4

Published by wonday about 5 years ago

  1. update example project to RN 0.60.4
  2. fix blank view after native module got recycled in onDetachedFromWindow event
  3. restore singleTap, only callback, do not change scale
react-native-pdf - v5.1.1-v5.1.3

Published by wonday over 5 years ago

v5.1.3
remove singleTap action from iOS, make the same with Android.

v5.1.2

fix overflow when zoom on Android
v5.1.1

call onScaleChanged when tapped on iOS
fix overflow when zoom
add packagingOptions for Detox e2e tests build and androidTest target
add activityIndicatorProps to index.d.ts

react-native-pdf - v5.1.0

Published by wonday over 5 years ago

  1. remove encodeURI(), Degrade Notice: If you use Chinese/Japanese/Korean path, please encodeURI() yourself
  2. fix enableAnnotationRendering in iOS
  3. Trusting certificates for api http redirection
react-native-pdf - v5.0.12

Published by wonday over 5 years ago

v5.0.12

  1. fix some codes for code safe
  2. add flow typings
  3. update style prop type

v5.0.11

  1. fix sample codes

v5.0.10

  1. support enablePaging for ios<11.0
  2. disable long press on ios (the same with android)
  3. make iOS singleTap scale the same action with android
  4. recreate sample with RN 0.57

v5.0.9

  1. fix podspec
  2. NS_CLASS_AVAILABLE_IOS(11_0) to PDFKit related codes
  3. Fix pdfs when pipe appears in table content json
  4. modify build.gradle for RN 0.57
react-native-pdf - v5.0.8

Published by wonday about 6 years ago

  1. fix podspec
Package Rankings
Top 1.2% on Npmjs.org
Badges
Extracted from project README
npm
Related Projects