Skip to content

Commit 7a69d5a

Browse files
author
Zdravko
authored
Merge pull request #255 from NativeScript/zbranzov/bump-4.2.1
Zbranzov/bump 4.2.1
2 parents d770a2b + f69d12f commit 7a69d5a

File tree

7 files changed

+21
-7
lines changed

7 files changed

+21
-7
lines changed

demo-angular/app/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"android": {
33
"v8Flags": "--expose_gc",
4-
"requireModules": ["nativescript-background-http"]
4+
"requireModules": [
5+
"nativescript-background-http"
6+
],
7+
"markingMode": "none"
58
},
69
"main": "main.js"
7-
}
10+
}

demo-vue/app/App_Resources/Android/AndroidManifest.xml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<uses-permission android:name="android.permission.INTERNET"/>
2020

2121
<application
22+
android:usesCleartextTraffic="true"
2223
android:name="com.tns.NativeScriptApplication"
2324
android:allowBackup="true"
2425
android:icon="@drawable/icon"

demo-vue/app/components/Home.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ export default {
9393
if (isMulti) {
9494
const params = [
9595
{ name: "test", value: "value" },
96-
{ name: "fileToUpload", filename: this.file, mimeType: "image/jpeg" }
96+
{ name: "testInt", value: 10 },
97+
{ name: "bool", value: true },
98+
{ name: "fileToUpload", filename: this.file, mimeType: 'image/jpeg' }
9799
];
98100
task = this.session.multipartUpload(params, request);
99101
} else {

demo-vue/app/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"main": "app.js",
33
"android": {
44
"v8Flags": "--expose_gc",
5-
"requireModules": ["nativescript-background-http"]
5+
"requireModules": [
6+
"nativescript-background-http"
7+
],
8+
"markingMode": "none"
69
}
710
}

demo/app/home/home-view-model.ts

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ export class HomeViewModel extends Observable {
6868
if (isMulti) {
6969
const params = [
7070
{ name: "test", value: "value" },
71+
{ name: "testInt", value: 10 },
72+
{ name: "bool", value: true },
7173
{ name: "fileToUpload", filename: this.file, mimeType: 'image/jpeg' }
7274
];
7375
task = this.session.multipartUpload(params, request);

demo/app/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"android": {
33
"v8Flags": "--expose_gc",
4-
"requireModules": ["nativescript-background-http"]
4+
"requireModules": [
5+
"nativescript-background-http"
6+
],
7+
"markingMode": "none"
58
},
69
"main": "app.js"
7-
}
10+
}

src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-background-http",
3-
"version": "4.2.0",
3+
"version": "4.2.1",
44
"main": "background-http",
55
"typings": "index.d.ts",
66
"nativescript": {

0 commit comments

Comments
 (0)