Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chor: update dependencies for NativeScript 5.0 #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.js.map
*.log
*.esm.json
*.tns.json
src/*.d.ts
!src/index.d.ts
!src/references.d.ts
Expand Down
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ matrix:
- tns build android --bundle --env.uglify --env.aot
- language: android
env:
- BuildAndroid="26"
- BuildAndroid="28"
os: linux
jdk: oraclejdk8
before_install: nvm install 8.11.4
Expand All @@ -61,12 +61,10 @@ matrix:

android:
components:
- tools
- tools
- platform-tools
- build-tools-27.0.3
- android-26
- android-23
- build-tools-28.0.2
- android-28
- extra-android-m2repository

before_install:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<uses-permission android:name="android.permission.INTERNET"/>

<application
android:networkSecurityConfig="@xml/network_security_config"
android:name="com.tns.NativeScriptApplication"
android:allowBackup="true"
android:icon="@drawable/icon"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">10.0.2.2</domain>
</domain-config>
</network-security-config>
14 changes: 7 additions & 7 deletions demo-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"nativescript": {
"id": "org.nativescript.demoangular",
"tns-android": {
"version": "4.2.0"
"version": "5.0.0"
},
"tns-ios": {
"version": "4.2.0"
"version": "5.0.0"
}
},
"scripts": {
Expand All @@ -26,18 +26,18 @@
"@angular/platform-browser": "~6.1.0",
"@angular/platform-browser-dynamic": "~6.1.0",
"@angular/router": "~6.1.0",
"nativescript-angular": "~6.1.0",
"nativescript-angular": "~6.2.0",
"nativescript-background-http": "../src",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.10",
"rxjs": "~6.2.0",
"tns-core-modules": "^4.2.0",
"tns-platform-declarations": "^4.2.0",
"tns-core-modules": "^5.0.1",
"tns-platform-declarations": "^5.0.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"nativescript-dev-typescript": "^0.7.2",
"nativescript-dev-webpack": "~0.15.1",
"nativescript-dev-typescript": "~0.7.4",
"nativescript-dev-webpack": "~0.17.0",
"typescript": "~2.8.2",
"tslint": "~5.11.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<uses-permission android:name="android.permission.INTERNET"/>

<application
android:networkSecurityConfig="@xml/network_security_config"
android:name="com.tns.NativeScriptApplication"
android:allowBackup="true"
android:icon="@drawable/icon"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">10.0.2.2</domain>
</domain-config>
</network-security-config>
12 changes: 6 additions & 6 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"nativescript": {
"id": "org.nativescript.demo",
"tns-android": {
"version": "4.2.0"
"version": "5.0.0"
},
"tns-ios": {
"version": "4.2.0"
"version": "5.0.0"
}
},
"scripts": {
Expand All @@ -19,12 +19,12 @@
"dependencies": {
"nativescript-background-http": "../src",
"nativescript-theme-core": "~1.0.4",
"tns-core-modules": "^4.2.0",
"tns-platform-declarations": "^4.2.0"
"tns-core-modules": "^5.0.1",
"tns-platform-declarations": "^5.0.0"
},
"devDependencies": {
"nativescript-dev-typescript": "^0.7.2",
"nativescript-dev-webpack": "^0.15.1",
"nativescript-dev-typescript": "~0.7.4",
"nativescript-dev-webpack": "~0.17.0",
"typescript": "~2.8.2",
"tslint": "~5.11.0"
}
Expand Down
12 changes: 6 additions & 6 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
"license": "Apache-2.0",
"homepage": "https://github.com/NativeScript/nativescript-background-http/issues",
"devDependencies": {
"tns-core-modules": "^3.0.0 || ^4.0.0",
"tns-platform-declarations": "^3.0.0 || ^4.0.0",
"typescript": "~2.7.2",
"rimraf": "^2.5.0",
"tslint": "^5.0.0",
"semver": "^5.5.0"
"tns-core-modules": "^5.0.1",
"tns-platform-declarations": "^5.0.0",
"typescript": "~2.8.2",
"rimraf": "~2.6.2",
"tslint": "~5.11.0",
"semver": "~5.6.0"
},
"bootstrapper": "nativescript-plugin-seed"
}
1 change: 1 addition & 0 deletions src/platforms/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
Expand Down