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

Commit a95468d

Browse files
Bump demo-ng's NativeScript, Angular, and Webpack dependencies #743
1 parent 184c17a commit a95468d

7 files changed

Lines changed: 54 additions & 29 deletions

File tree

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ android:
33
- tools
44
- platform-tools
55
- build-tools-26.0.2
6+
- android-23
67
- android-26
78
- extra-android-m2repository
89
- sys-img-armeabi-v7a-android-21
@@ -47,26 +48,26 @@ matrix:
4748
before_install:
4849
- gem install cocoapods
4950
- pod repo update
50-
script: tns build ios --bundle
51+
script: travis_wait travis_retry tns build ios --bundle
5152
- language: android
5253
os: linux
5354
env:
5455
- Webpack="Android"
5556
jdk: oraclejdk8
5657
before_install: nvm install 6.10.3
57-
script: tns build android --bundle
58+
script: travis_wait travis_retry tns build android --bundle
5859
- stage: "Build"
5960
env:
60-
- BuildAndroid="25"
61+
- BuildAndroid="26"
6162
language: android
6263
os: linux
6364
jdk: oraclejdk8
6465
before_install: nvm install 6.10.3
6566
script:
66-
- tns build android
67+
- travis_wait travis_retry tns build android
6768
- os: osx
6869
env:
69-
- BuildiOS="10.3"
70+
- BuildiOS="11"
7071
- Xcode="9.2"
7172
osx_image: xcode9.2
7273
language: node_js
@@ -76,4 +77,4 @@ matrix:
7677
- gem install cocoapods
7778
- pod repo update
7879
script:
79-
- tns build ios
80+
- travis_wait travis_retry tns build ios

demo-ng/app/app.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In many cases you may want to use the NativeScript core theme instead
99
of writing your own CSS rules. For a full list of class names in the theme
1010
refer to http://docs.nativescript.org/ui/theme.
1111
*/
12-
@import 'nativescript-theme-core/css/core.light.css';
12+
@import '~nativescript-theme-core/css/core.light.css';
1313

1414
.tab-content {
1515
margin: 8;
@@ -117,11 +117,11 @@ Label.mlkit-result {
117117
}
118118

119119
@keyframes swingAnimation {
120-
0% {
121-
transform: translate(0, 0);
120+
0% {
121+
transform: translate(0, 0);
122122
}
123-
50% {
124-
transform: translate(0, 300);
123+
50% {
124+
transform: translate(0, 300);
125125
}
126126
100% {
127127
transform: translate(0, 0);

demo-ng/app/tabs/firestore/firestore.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, NgZone } from "@angular/core";
22
import { firestore } from "nativescript-plugin-firebase";
3-
import { Observable } from "rxjs/Observable";
3+
import { Observable } from "rxjs";
44
import { City } from "~/model/City";
55

66
const firebase = require("nativescript-plugin-firebase/app");

demo-ng/package.json

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,54 @@
66
"nativescript": {
77
"id": "org.nativescript.firebasedemo.firestore",
88
"tns-android": {
9-
"version": "4.0.0-rc-2018.4.2.1"
9+
"version": "4.1.1"
1010
},
1111
"tns-ios": {
12-
"version": "4.0.1"
12+
"version": "4.1.0"
1313
}
1414
},
1515
"dependencies": {
16-
"@angular/animations": "5.2.10",
17-
"@angular/common": "5.2.10",
18-
"@angular/compiler": "5.2.10",
19-
"@angular/core": "5.2.10",
20-
"@angular/forms": "5.2.10",
21-
"@angular/http": "5.2.10",
22-
"@angular/platform-browser": "5.2.10",
23-
"@angular/platform-browser-dynamic": "5.2.10",
24-
"@angular/router": "5.2.10",
25-
"nativescript-angular": "~5.3.0",
16+
"@angular/animations": "~6.0.0",
17+
"@angular/common": "~6.0.0",
18+
"@angular/compiler": "~6.0.0",
19+
"@angular/core": "~6.0.0",
20+
"@angular/forms": "~6.0.0",
21+
"@angular/http": "~6.0.0",
22+
"@angular/platform-browser": "~6.0.0",
23+
"@angular/platform-browser-dynamic": "~6.0.0",
24+
"@angular/router": "~6.0.0",
25+
"nativescript-angular": "^6.0.0",
2626
"nativescript-camera": "^4.0.2",
2727
"nativescript-imagepicker": "^6.0.1",
2828
"nativescript-plugin-firebase": "^6.0.0",
2929
"nativescript-theme-core": "~1.0.4",
3030
"reflect-metadata": "~0.1.10",
31-
"rxjs": "~5.5.0",
32-
"tns-core-modules": "~4.0.0",
33-
"zone.js": "~0.8.18"
31+
"rxjs": "~6.0.0 || >=6.1.0",
32+
"tns-core-modules": "~4.1.0",
33+
"zone.js": "~0.8.26"
3434
},
3535
"devDependencies": {
36+
"@angular-devkit/core": "~0.6.3",
37+
"@angular/compiler-cli": "~6.0.0",
38+
"@ngtools/webpack": "~6.0.3",
3639
"babel-traverse": "6.26.0",
3740
"babel-types": "6.26.0",
3841
"babylon": "6.18.0",
42+
"clean-webpack-plugin": "~0.1.19",
43+
"copy-webpack-plugin": "~4.5.1",
44+
"css-loader": "~0.28.11",
45+
"extract-text-webpack-plugin": "~3.0.2",
3946
"lazy": "1.0.11",
4047
"nativescript-dev-typescript": "~0.7.1",
41-
"typescript": "~2.8.0"
48+
"nativescript-dev-webpack": "^0.12.0",
49+
"nativescript-worker-loader": "~0.9.0",
50+
"raw-loader": "~0.5.1",
51+
"resolve-url-loader": "~2.3.0",
52+
"typescript": "~2.7.2",
53+
"uglifyjs-webpack-plugin": "~1.2.5",
54+
"webpack": "~4.6.0",
55+
"webpack-bundle-analyzer": "~2.13.0",
56+
"webpack-cli": "~2.1.3",
57+
"webpack-sources": "~1.1.0"
4258
}
4359
}

demo-ng/tsconfig.esm.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"module": "es2015",
5+
"moduleResolution": "node"
6+
}
7+
}

src/firebase.android.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2118,6 +2118,7 @@ firebase.subscribeToTopic = topicName => {
21182118
return;
21192119
}
21202120

2121+
// TODO since Cloud Messaging 17.0.0 this returns a Task instead of void (so we can resolve onSuccess)
21212122
com.google.firebase.messaging.FirebaseMessaging.getInstance().subscribeToTopic(topicName);
21222123
resolve();
21232124
} catch (ex) {

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-plugin-firebase",
3-
"version": "6.0.2",
3+
"version": "6.1.0",
44
"description": "Fire. Base. Firebase!",
55
"main": "firebase",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)