Skip to content

Commit

Permalink
chore: user markingMode none
Browse files Browse the repository at this point in the history
  • Loading branch information
Zdravko Branzov authored and Zdravko Branzov committed Nov 1, 2019
1 parent a931cb9 commit f69d12f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
7 changes: 5 additions & 2 deletions demo-angular/app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"android": {
"v8Flags": "--expose_gc",
"requireModules": ["nativescript-background-http"]
"requireModules": [
"nativescript-background-http"
],
"markingMode": "none"
},
"main": "main.js"
}
}
4 changes: 3 additions & 1 deletion demo-vue/app/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 4 additions & 1 deletion demo-vue/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"main": "app.js",
"android": {
"v8Flags": "--expose_gc",
"requireModules": ["nativescript-background-http"]
"requireModules": [
"nativescript-background-http"
],
"markingMode": "none"
}
}
2 changes: 2 additions & 0 deletions demo/app/home/home-view-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
7 changes: 5 additions & 2 deletions demo/app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"android": {
"v8Flags": "--expose_gc",
"requireModules": ["nativescript-background-http"]
"requireModules": [
"nativescript-background-http"
],
"markingMode": "none"
},
"main": "app.js"
}
}

0 comments on commit f69d12f

Please sign in to comment.