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

Commit 374f2ca

Browse files
authored
Merge pull request #151 from NativeScript/lini/update-4-2-0
chor: update demo apps for NativeScript 4.2.0
2 parents bcf3963 + dcbc50d commit 374f2ca

File tree

2 files changed

+11
-23
lines changed

2 files changed

+11
-23
lines changed

demo/app/background-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ if (application.android) {
3636
onBind: function (intent) {
3737
console.log("on Bind Services");
3838
},
39-
onUnbind: function(intent){
39+
onUnbind: function (intent) {
4040
console.log('UnBind Service');
4141
},
42-
onDestroy: function() {
42+
onDestroy: function () {
4343
console.log('service onDestroy');
4444
geolocation.clearWatch(this.id);
4545
}

demo/package.json

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,33 @@
22
"nativescript": {
33
"id": "org.nativescript.demo",
44
"tns-android": {
5-
"version": "4.1.1"
5+
"version": "4.2.0"
66
},
77
"tns-ios": {
8-
"version": "4.1.0"
8+
"version": "4.2.0"
99
}
1010
},
1111
"dependencies": {
1212
"nativescript-geolocation": "../src",
1313
"nativescript-theme-core": "^1.0.4",
1414
"nativescript-toast": "^1.4.6",
1515
"nativescript-unit-test-runner": "^0.3.4",
16-
"tns-core-modules": "4.1.0"
16+
"tns-core-modules": "^4.2.0"
1717
},
1818
"devDependencies": {
19-
"babel-traverse": "6.12.0",
20-
"babel-types": "6.11.1",
21-
"babylon": "6.8.4",
22-
"filewalker": "0.1.2",
2319
"jasmine-core": "^2.5.2",
2420
"karma": "^1.3.0",
2521
"karma-jasmine": "^1.0.2",
2622
"karma-nativescript-launcher": "^0.4.0",
27-
"lazy": "1.0.11",
2823
"nativescript-css-loader": "~0.26.0",
29-
"nativescript-dev-typescript": "~0.7.1",
30-
"nativescript-dev-webpack": "~0.14.0",
31-
"tns-platform-declarations": "^3.2.0",
32-
"tslint": "~5.4.3",
33-
"typescript": "~2.7.2"
24+
"nativescript-dev-typescript": "~0.7.2",
25+
"nativescript-dev-webpack": "~0.15.1",
26+
"tns-platform-declarations": "^4.2.0",
27+
"tslint": "~5.11.0",
28+
"typescript": "~2.8.2"
3429
},
3530
"scripts": {
3631
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'",
37-
"ns-bundle": "ns-bundle",
38-
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
39-
"generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install",
40-
"build.plugin": "cd ../src && npm run build",
41-
"start-android-bundle": "npm run ns-bundle --android --run-app",
42-
"start-ios-bundle": "npm run ns-bundle --ios --run-app",
43-
"build-android-bundle": "npm run ns-bundle --android --build-app",
44-
"build-ios-bundle": "npm run ns-bundle --ios --build-app"
32+
"build.plugin": "cd ../src && npm run build"
4533
}
4634
}

0 commit comments

Comments
 (0)