From 3b36b9674cbaf68e38605e994d784f014b80619b Mon Sep 17 00:00:00 2001 From: Zdravko Branzov Date: Fri, 1 Nov 2019 11:55:07 +0200 Subject: [PATCH 1/3] chore: bump version to 4.2.1 --- src/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package.json b/src/package.json index a10e6f9..d214858 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-background-http", - "version": "4.2.0", + "version": "4.2.1", "main": "background-http", "typings": "index.d.ts", "nativescript": { From a931cb97e9b99cd40dabb531b9d6ffe19fb52532 Mon Sep 17 00:00:00 2001 From: Zdravko Branzov Date: Fri, 1 Nov 2019 11:56:32 +0200 Subject: [PATCH 2/3] fix: vue demo traffic permission issue on Android --- demo-vue/app/App_Resources/Android/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/demo-vue/app/App_Resources/Android/AndroidManifest.xml b/demo-vue/app/App_Resources/Android/AndroidManifest.xml index 9961000..b70b530 100644 --- a/demo-vue/app/App_Resources/Android/AndroidManifest.xml +++ b/demo-vue/app/App_Resources/Android/AndroidManifest.xml @@ -19,6 +19,7 @@ Date: Fri, 1 Nov 2019 11:58:21 +0200 Subject: [PATCH 3/3] chore: user markingMode none --- demo-angular/app/package.json | 7 +++++-- demo-vue/app/components/Home.vue | 4 +++- demo-vue/app/package.json | 5 ++++- demo/app/home/home-view-model.ts | 2 ++ demo/app/package.json | 7 +++++-- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/demo-angular/app/package.json b/demo-angular/app/package.json index ee8642e..8d72b14 100644 --- a/demo-angular/app/package.json +++ b/demo-angular/app/package.json @@ -1,7 +1,10 @@ { "android": { "v8Flags": "--expose_gc", - "requireModules": ["nativescript-background-http"] + "requireModules": [ + "nativescript-background-http" + ], + "markingMode": "none" }, "main": "main.js" -} \ No newline at end of file +} diff --git a/demo-vue/app/components/Home.vue b/demo-vue/app/components/Home.vue index d740a2c..cdd6984 100644 --- a/demo-vue/app/components/Home.vue +++ b/demo-vue/app/components/Home.vue @@ -93,7 +93,9 @@ export default { if (isMulti) { const params = [ { name: "test", value: "value" }, - { name: "fileToUpload", filename: this.file, mimeType: "image/jpeg" } + { name: "testInt", value: 10 }, + { name: "bool", value: true }, + { name: "fileToUpload", filename: this.file, mimeType: 'image/jpeg' } ]; task = this.session.multipartUpload(params, request); } else { diff --git a/demo-vue/app/package.json b/demo-vue/app/package.json index d3ec06f..af93d02 100644 --- a/demo-vue/app/package.json +++ b/demo-vue/app/package.json @@ -2,6 +2,9 @@ "main": "app.js", "android": { "v8Flags": "--expose_gc", - "requireModules": ["nativescript-background-http"] + "requireModules": [ + "nativescript-background-http" + ], + "markingMode": "none" } } diff --git a/demo/app/home/home-view-model.ts b/demo/app/home/home-view-model.ts index 8dbef2e..07fc797 100644 --- a/demo/app/home/home-view-model.ts +++ b/demo/app/home/home-view-model.ts @@ -68,6 +68,8 @@ export class HomeViewModel extends Observable { if (isMulti) { const params = [ { name: "test", value: "value" }, + { name: "testInt", value: 10 }, + { name: "bool", value: true }, { name: "fileToUpload", filename: this.file, mimeType: 'image/jpeg' } ]; task = this.session.multipartUpload(params, request); diff --git a/demo/app/package.json b/demo/app/package.json index a7511e3..1e162ea 100644 --- a/demo/app/package.json +++ b/demo/app/package.json @@ -1,7 +1,10 @@ { "android": { "v8Flags": "--expose_gc", - "requireModules": ["nativescript-background-http"] + "requireModules": [ + "nativescript-background-http" + ], + "markingMode": "none" }, "main": "app.js" -} \ No newline at end of file +}