Skip to content

Commit

Permalink
fix(android-upload): Fix some params vars to be a string
Browse files Browse the repository at this point in the history
Convert param to string before send to Java method

Referenced in NativeScript#249
  • Loading branch information
romulowspp committed Oct 23, 2019
1 parent a626753 commit 128cfcf
Show file tree
Hide file tree
Showing 4 changed files with 6,477 additions and 9 deletions.
2 changes: 2 additions & 0 deletions demo-angular/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ export class HomeComponent {
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
Loading

0 comments on commit 128cfcf

Please sign in to comment.