Skip to content

Commit

Permalink
version up to v5.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Sep 18, 2018
1 parent 881e13f commit 74651c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ A4. Expo does not support native module. you can read more expo caveats [`here`]

### ChangeLog

v5.0.5
1. add minScale, maxScale props
2. fix pdf display box
3. fix Content-length check

v5.0.4
1. fix ios background not work
2. fix can not show two pdf in in one page
Expand Down Expand Up @@ -166,7 +171,9 @@ const styles = StyleSheet.create({
| ------------- |:-------------:|:----------------:| ------------------- | ------| ------- | ------------ |
| source | object | not null | PDF source like {uri:xxx, cache:false}. see the following for detail.||| <3.0 |
| page | number | 1 | initial page index ||| <3.0 |
| scale | number | 1.0 | zoom scale, 1<=scale<=3||| <3.0 |
| scale | number | 1.0 | should minScale<=scale<=maxScale||| <3.0 |
| minScale | number | 1.0 | max scale||| 5.0.5 |
| maxScale | number | 3.0 | min scale||| 5.0.5 |
| horizontal | bool | false | draw page direction, if you want to listen the orientation change, you can use [[react-native-orientation-locker]](https://github.com/wonday/react-native-orientation-locker)||| <3.0 |
| fitWidth | bool | false | if true fit the width of view, can not use fitWidth=true together with scale||| <3.0, abandoned from 3.0 |
| fitPolicy | number | 2 | 0:fit width, 1:fit height, 2:fit both(default)||| 3.0 |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-pdf",
"version": "5.0.4",
"version": "5.0.5",
"description": "A react native PDF view component",
"main": "index.js",
"typings": "./index.d.ts",
Expand Down

0 comments on commit 74651c2

Please sign in to comment.