Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 0c8ed2b

Browse files
committed
v2.0.2
1 parent 2b4ee30 commit 0c8ed2b

File tree

6 files changed

+36
-24
lines changed

6 files changed

+36
-24
lines changed

.travis.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ matrix:
88
- stage: "WebPack, Build and Test"
99
os: osx
1010
env:
11-
- WebPack="iOS"
12-
osx_image: xcode9.3
11+
- BuildiOS="12.0"
12+
- Xcode="10.0"
13+
osx_image: xcode10.0
1314
language: node_js
1415
node_js: "8"
1516
jdk: oraclejdk8
@@ -19,21 +20,20 @@ matrix:
1920
env:
2021
- WebPack="Android"
2122
jdk: oraclejdk8
22-
before_install: nvm install stable
23+
before_install: nvm install 8
2324
script: cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
2425
- language: android
2526
env:
26-
- BuildAndroid="26"
27+
- BuildAndroid="28"
2728
os: linux
2829
jdk: oraclejdk8
29-
before_install: nvm install stable
30+
before_install: nvm install 8
3031
script:
3132
- cd src && npm i && npm run tsc && cd ../demo && tns build android
3233
- os: osx
3334
env:
34-
- BuildiOS="11"
35-
- Xcode="9.2"
36-
osx_image: xcode9.2
35+
- TestVersion="latest"
36+
osx_image: xcode10.0
3737
language: node_js
3838
node_js: "8"
3939
jdk: oraclejdk8
@@ -43,14 +43,17 @@ android:
4343
components:
4444
- tools
4545
- platform-tools
46-
- build-tools-27.0.3
47-
- android-27
48-
- android-23
46+
- build-tools-28.0.2
47+
- android-28
4948
- extra-android-m2repository
5049
- sys-img-armeabi-v7a-android-21
5150
licenses:
5251
- '.+'
5352

53+
before_install:
54+
- sudo pip install --upgrade pip
55+
- sudo pip install six
56+
5457
install:
5558
- echo no | npm install -g nativescript
5659
- tns usage-reporting disable

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ iOS (9+)
2727

2828
## Installation
2929

30+
NativeScript 5.X
3031
```
3132
tns plugin add nativescript-braintree
3233
```
3334

35+
NativeScript 4.X
36+
```
37+
tns plugin add [email protected]
38+
```
39+
3440
## Usage
3541

3642
``` typescript

demo/package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,27 @@
33
"id": "org.nativescript.demo",
44
"tns-ios": {
55
"version": "4.2.0"
6+
},
7+
"tns-android": {
8+
"version": "5.0.0"
69
}
710
},
811
"dependencies": {
912
"nativescript-theme-core": "^1.0.4",
1013
"nativescript-unit-test-runner": "^0.3.4",
1114
"nativescript-braintree": "file:../src",
12-
"tns-core-modules": "^4.2.0"
15+
"tns-core-modules": "^5.0.2"
1316
},
1417
"devDependencies": {
1518
"jasmine-core": "^2.5.2",
1619
"karma": "^1.3.0",
1720
"karma-jasmine": "^1.0.2",
1821
"karma-nativescript-launcher": "^0.4.0",
1922
"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",
2427
"typescript": "~2.8.2"
2528
},
2629
"scripts": {

src/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "nativescript-braintree",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Braintree Payments (Drop-in) plugin for NativeScript.",
55
"main": "braintree",
66
"typings": "index.d.ts",
77
"nativescript": {
88
"platforms": {
9-
"android": "4.2.0",
10-
"ios": "4.2.0"
9+
"android": "5.0.0",
10+
"ios": "5.0.0"
1111
}
1212
},
1313
"scripts": {
@@ -44,14 +44,14 @@
4444
"homepage": "https://github.com/jibon57/nativescript-braintree",
4545
"readmeFilename": "README.md",
4646
"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",
4949
"typescript": "~2.8.2",
5050
"prompt": "^1.0.0",
5151
"rimraf": "^2.6.2",
5252
"tslint": "^5.11.0",
53-
"semver": "^5.5.0"
53+
"semver": "^5.6.0"
5454
},
5555
"dependencies": {},
5656
"bootstrapper": "nativescript-plugin-seed"
57-
}
57+
}

src/platforms/android/include.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ repositories {
99
}
1010
}
1111
dependencies {
12-
implementation "com.braintreepayments.api:drop-in:3.6.1"
12+
implementation "com.braintreepayments.api:drop-in:3.+"
1313
implementation 'io.card:android-sdk:5.+'
1414
}
5.49 KB
Binary file not shown.

0 commit comments

Comments
 (0)