Skip to content

Commit

Permalink
Merge pull request #255 from NativeScript/zbranzov/bump-4.2.1
Browse files Browse the repository at this point in the history
Zbranzov/bump 4.2.1
  • Loading branch information
Zdravko committed Nov 1, 2019
2 parents d770a2b + f69d12f commit 7a69d5a
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 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"
}
}
1 change: 1 addition & 0 deletions demo-vue/app/App_Resources/Android/AndroidManifest.xml
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:usesCleartextTraffic="true"
android:name="com.tns.NativeScriptApplication"
android:allowBackup="true"
android:icon="@drawable/icon"
Expand Down
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"
}
}
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-background-http",
"version": "4.2.0",
"version": "4.2.1",
"main": "background-http",
"typings": "index.d.ts",
"nativescript": {
Expand Down

0 comments on commit 7a69d5a

Please sign in to comment.