Skip to content

Commit 34420b5

Browse files
authored
Update Android to 10.3.0 (#665)
* Update Android to 10.3.0 * Update listener
1 parent 497646b commit 34420b5

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ dependencies {
6868
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'
6969
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
7070

71-
implementation "com.pdftron:pdftron:10.2.0"
72-
implementation "com.pdftron:tools:10.2.0"
73-
implementation "com.pdftron:collab:10.2.0"
71+
implementation "com.pdftron:pdftron:10.3.0"
72+
implementation "com.pdftron:tools:10.3.0"
73+
implementation "com.pdftron:collab:10.3.0"
7474
}

android/src/main/java/com/pdftron/reactnative/views/DocumentView.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,6 +2831,11 @@ public void onPageMoved(int from, int to) {
28312831
onReceiveNativeEvent(params);
28322832
}
28332833

2834+
@Override
2835+
public void onPagesMoved(List<Integer> pagesMoved, int to, int currentPage) {
2836+
2837+
}
2838+
28342839
@Override
28352840
public void onPageLabelsChanged() {
28362841

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-pdftron",
33
"title": "React Native Pdftron",
4-
"version": "3.0.3-24",
4+
"version": "3.0.3-25",
55
"description": "React Native Pdftron",
66
"main": "./lib/index.js",
77
"typings": "index.ts",

0 commit comments

Comments
 (0)