react-native-pdf
Advanced tools
Comparing version 6.1.1 to 6.1.2
@@ -14,3 +14,3 @@ /** | ||
Dimensions, | ||
SafeAreaView | ||
SafeAreaView, | ||
View, | ||
@@ -42,5 +42,5 @@ Text | ||
if (orientation == 'LANDSCAPE-LEFT'||orientation == 'LANDSCAPE-RIGHT') { | ||
this.setState({width:WIN_HEIGHT>WIN_HEIGHT?WIN_HEIGHT:WIN_WIDTH,horizontal:true}); | ||
this.setState({width:WIN_HEIGHT>WIN_WIDTH?WIN_HEIGHT:WIN_WIDTH,horizontal:true}); | ||
} else { | ||
this.setState({width:WIN_HEIGHT>WIN_HEIGHT?WIN_HEIGHT:WIN_WIDTH,horizontal:false}); | ||
this.setState({width:WIN_HEIGHT>WIN_WIDTH?WIN_HEIGHT:WIN_WIDTH,horizontal:false}); | ||
} | ||
@@ -47,0 +47,0 @@ }; |
{ | ||
"name": "react-native-pdf", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"summary": "A react native PDF view component", | ||
@@ -5,0 +5,0 @@ "description": "A react native PDF view component, support ios and android platform", |
@@ -142,8 +142,13 @@ # react-native-pdf | ||
v6.1.2 | ||
1. Fixed wrong scale returned from onScaleChanged() | ||
2. Fixed iOS Double Tap zoom | ||
3. Fixed Some critical typo fixes | ||
v6.1.1 | ||
1. fix undefined is not an object, crashing on ios | ||
1. Fixed undefined is not an object, crashing on ios | ||
v6.1.0 | ||
1. fix react-native warning on `componentWill*` | ||
2. fix onPageSingleTap | ||
1. Fixed react-native warning on `componentWill*` | ||
2. Fixed onPageSingleTap | ||
3. Set the PDF View background color to be transparent On iOS | ||
@@ -160,19 +165,19 @@ | ||
v5.1.7 | ||
1. Downgrade to AndroidPdfViewer 3.1.0-beta.1 | ||
1. Downgraded to AndroidPdfViewer 3.1.0-beta.1 | ||
v5.1.6 | ||
1. Fix componentWillReceiveProps and componentWillMount warnings | ||
1. Fixed componentWillReceiveProps and componentWillMount warnings | ||
v5.1.5 | ||
1. Add setPage() method | ||
2. Upgrade to AndroidPdfViewer to 3.2.0-beta.1 | ||
3. Fix some codes ,readme and sample | ||
1. Added setPage() method | ||
2. Upgraded to AndroidPdfViewer to 3.2.0-beta.1 | ||
3. Fixed some codes ,readme and sample | ||
v5.1.4 | ||
1. Update example project to RN 0.60.4 | ||
2. Fix blank view after native module got recycled in onDetachedFromWindow event | ||
1. Updated example project to RN 0.60.4 | ||
2. Fixed blank view after native module got recycled in onDetachedFromWindow event | ||
3. Restore singleTap, only callback, do not change scale | ||
v5.1.3 | ||
1. Remove singleTap action from iOS, make the same with Android. | ||
1. Removed singleTap action from iOS, make the same with Android. | ||
@@ -179,0 +184,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3127011
1896
326