This repository was archived by the owner on Dec 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +36
-24
lines changed Expand file tree Collapse file tree 6 files changed +36
-24
lines changed Original file line number Diff line number Diff line change 8
8
- stage : " WebPack, Build and Test"
9
9
os : osx
10
10
env :
11
- - WebPack="iOS"
12
- osx_image : xcode9.3
11
+ - BuildiOS="12.0"
12
+ - Xcode="10.0"
13
+ osx_image : xcode10.0
13
14
language : node_js
14
15
node_js : " 8"
15
16
jdk : oraclejdk8
@@ -19,21 +20,20 @@ matrix:
19
20
env :
20
21
- WebPack="Android"
21
22
jdk : oraclejdk8
22
- before_install : nvm install stable
23
+ before_install : nvm install 8
23
24
script : cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
24
25
- language : android
25
26
env :
26
- - BuildAndroid="26 "
27
+ - BuildAndroid="28 "
27
28
os : linux
28
29
jdk : oraclejdk8
29
- before_install : nvm install stable
30
+ before_install : nvm install 8
30
31
script :
31
32
- cd src && npm i && npm run tsc && cd ../demo && tns build android
32
33
- os : osx
33
34
env :
34
- - BuildiOS="11"
35
- - Xcode="9.2"
36
- osx_image : xcode9.2
35
+ - TestVersion="latest"
36
+ osx_image : xcode10.0
37
37
language : node_js
38
38
node_js : " 8"
39
39
jdk : oraclejdk8
@@ -43,14 +43,17 @@ android:
43
43
components :
44
44
- tools
45
45
- platform-tools
46
- - build-tools-27.0.3
47
- - android-27
48
- - android-23
46
+ - build-tools-28.0.2
47
+ - android-28
49
48
- extra-android-m2repository
50
49
- sys-img-armeabi-v7a-android-21
51
50
licenses :
52
51
- ' .+'
53
52
53
+ before_install :
54
+ - sudo pip install --upgrade pip
55
+ - sudo pip install six
56
+
54
57
install :
55
58
- echo no | npm install -g nativescript
56
59
- tns usage-reporting disable
Original file line number Diff line number Diff line change @@ -27,10 +27,16 @@ iOS (9+)
27
27
28
28
## Installation
29
29
30
+ NativeScript 5.X
30
31
```
31
32
tns plugin add nativescript-braintree
32
33
```
33
34
35
+ NativeScript 4.X
36
+ ```
37
+
38
+ ```
39
+
34
40
## Usage
35
41
36
42
``` typescript
Original file line number Diff line number Diff line change 3
3
"id" : " org.nativescript.demo" ,
4
4
"tns-ios" : {
5
5
"version" : " 4.2.0"
6
+ },
7
+ "tns-android" : {
8
+ "version" : " 5.0.0"
6
9
}
7
10
},
8
11
"dependencies" : {
9
12
"nativescript-theme-core" : " ^1.0.4" ,
10
13
"nativescript-unit-test-runner" : " ^0.3.4" ,
11
14
"nativescript-braintree" : " file:../src" ,
12
- "tns-core-modules" : " ^4.2.0 "
15
+ "tns-core-modules" : " ^5.0.2 "
13
16
},
14
17
"devDependencies" : {
15
18
"jasmine-core" : " ^2.5.2" ,
16
19
"karma" : " ^1.3.0" ,
17
20
"karma-jasmine" : " ^1.0.2" ,
18
21
"karma-nativescript-launcher" : " ^0.4.0" ,
19
22
"nativescript-css-loader" : " ~0.26.1" ,
20
- "nativescript-dev-typescript" : " ~0.7.2 " ,
21
- "nativescript-dev-webpack" : " ~0.16.2 " ,
22
- "tns-platform-declarations" : " ^4.2.0 " ,
23
- "tslint" : " ~5.4.3 " ,
23
+ "nativescript-dev-typescript" : " ~0.7.4 " ,
24
+ "nativescript-dev-webpack" : " ~0.18.0 " ,
25
+ "tns-platform-declarations" : " ^5.0.2 " ,
26
+ "tslint" : " ~5.11.0 " ,
24
27
"typescript" : " ~2.8.2"
25
28
},
26
29
"scripts" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-braintree" ,
3
- "version" : " 2.0.1 " ,
3
+ "version" : " 2.0.2 " ,
4
4
"description" : " Braintree Payments (Drop-in) plugin for NativeScript." ,
5
5
"main" : " braintree" ,
6
6
"typings" : " index.d.ts" ,
7
7
"nativescript" : {
8
8
"platforms" : {
9
- "android" : " 4.2 .0" ,
10
- "ios" : " 4.2 .0"
9
+ "android" : " 5.0 .0" ,
10
+ "ios" : " 5.0 .0"
11
11
}
12
12
},
13
13
"scripts" : {
44
44
"homepage" : " https://github.com/jibon57/nativescript-braintree" ,
45
45
"readmeFilename" : " README.md" ,
46
46
"devDependencies" : {
47
- "tns-core-modules" : " ^4.2.0 " ,
48
- "tns-platform-declarations" : " ^4.2.0 " ,
47
+ "tns-core-modules" : " ^5.0.2 " ,
48
+ "tns-platform-declarations" : " ^5.0.2 " ,
49
49
"typescript" : " ~2.8.2" ,
50
50
"prompt" : " ^1.0.0" ,
51
51
"rimraf" : " ^2.6.2" ,
52
52
"tslint" : " ^5.11.0" ,
53
- "semver" : " ^5.5 .0"
53
+ "semver" : " ^5.6 .0"
54
54
},
55
55
"dependencies" : {},
56
56
"bootstrapper" : " nativescript-plugin-seed"
57
- }
57
+ }
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ repositories {
9
9
}
10
10
}
11
11
dependencies {
12
- implementation " com.braintreepayments.api:drop-in:3.6.1 "
12
+ implementation " com.braintreepayments.api:drop-in:3.+ "
13
13
implementation ' io.card:android-sdk:5.+'
14
14
}
You can’t perform that action at this time.
0 commit comments