This repository was archived by the owner on Jun 15, 2024. It is now read-only.
File tree 6 files changed +8
-20
lines changed
6 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,5 @@ declare class Configurator {
21
21
pages ( ...pageNumbers : number [ ] ) : this;
22
22
enableDoubletap ( enable : boolean ) : this;
23
23
enableSwipe ( enable : boolean ) : this;
24
- showMinimap ( show : boolean ) : this;
25
- swipeVertical ( swipe : boolean ) : this;
24
+ swipeHorizontal ( horizontal : boolean ) : this;
26
25
}
Original file line number Diff line number Diff line change @@ -42,13 +42,6 @@ tns platform add ios
42
42
tns run ios
43
43
44
44
# Android
45
- tns platform add android@2.2.0-next-2016-08-02-918
46
- tns run android # try again if you get error "more than one library ..."
47
- ```
48
-
49
- ## Why the dependency on ` android@next ` platform
50
-
51
- I've been getting all kinds of different issues trying to run this plugin with
52
- the latest released version of ` tns-core-modules ` and ` tns-android ` runtime, and
53
- the issues don't appear to exist in the current pre-release versions. Therefore
54
- for the time being I've set the dependencies to pre-release versions.
45
+ tns platform add android
46
+ tns run android
47
+ ```
Original file line number Diff line number Diff line change 5
5
"version" : " 2.2.1"
6
6
},
7
7
"tns-android" : {
8
- "version" : " 2.2.0-next-2016-08-02-918 "
8
+ "version" : " 2.2.0"
9
9
}
10
10
},
11
11
"private" : true ,
12
12
"dependencies" : {
13
- "nativescript-pdf-view" : " 1.0.1 " ,
13
+ "nativescript-pdf-view" : " file:.. " ,
14
14
"tns-core-modules" : " 2.2.1"
15
15
},
16
16
"devDependencies" : {
Original file line number Diff line number Diff line change 4
4
"main" : " src/plugin.js" ,
5
5
"nativescript" : {
6
6
"platforms" : {
7
- "android" : " 2.2.0-next-2016-08-02-918 " ,
7
+ "android" : " 2.2.0" ,
8
8
"ios" : " 2.2.1"
9
9
}
10
10
},
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ android {
7
7
}
8
8
9
9
dependencies {
10
- compile ' com.github.barteksc:android-pdf-viewer:1.1.2 '
10
+ compile ' com.github.barteksc:android-pdf-viewer:2.0.1 '
11
11
}
Original file line number Diff line number Diff line change @@ -36,10 +36,6 @@ export class PDFView extends common.PDFView {
36
36
37
37
this . android
38
38
. fromUri ( uri )
39
- . enableSwipe ( true )
40
- . enableDoubletap ( true )
41
- . swipeVertical ( true )
42
- . showMinimap ( false )
43
39
. load ( ) ;
44
40
}
45
41
You can’t perform that action at this time.
0 commit comments