Skip to content

Commit e05ac98

Browse files
author
Wonday
committed
version up to v5.0.7
1 parent 25ee388 commit e05ac98

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ A4. Expo does not support native module. you can read more expo caveats [`here`]
6262

6363
### ChangeLog
6464

65+
v5.0.7
66+
1. onLoadComplete return table of contents
67+
2. delete tmp file after downloaded
68+
6569
v5.0.6
6670
1. add accessible to PdfPageView
6771
2. restore podspec
@@ -191,7 +195,7 @@ const styles = StyleSheet.create({
191195
| enableRTL | bool | false | scroll page as "page3, page2, page1" ||| 5.0.1 |
192196
| enableAnnotationRendering | bool | true | enable rendering annotation, notice:iOS only support initial setting,not support realtime changing ||| 5.0.3 |
193197
| onLoadProgress | function(percent) | null | callback when loading, return loading progress (0-1) ||| <3.0 |
194-
| onLoadComplete | function(numberOfPages, path, {width, height}) | null | callback when pdf load completed, return total page count and pdf local/cache path ||| <3.0 |
198+
| onLoadComplete | function(numberOfPages, path, {width, height}, tableContents) | null | callback when pdf load completed, return total page count, pdf local/cache path, {width,height} and table of contents ||| <3.0 |
195199
| onPageChanged | function(page,numberOfPages) | null | callback when page changed ,return current page and total page count ||| <3.0 |
196200
| onError | function(error) | null | callback when error happened ||| <3.0 |
197201
| onPageSingleTap | function(page) | null | callback when page was single tapped ||| 3.0 |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-pdf",
3-
"version": "5.0.6",
3+
"version": "5.0.7",
44
"description": "A react native PDF view component",
55
"main": "index.js",
66
"typings": "./index.d.ts",

0 commit comments

Comments
 (0)