Questions tagged [nativescript-background-http]

6 questions
0
votes
2 answers

How to send image as a 'File' inside of http post body

I need to send an image up to my server as a 'File' but I can't figure out how to do this. I'm using the nativescript-camera-plus and nativescript-background-http plugin to send the request. This is the code. …
0
votes
0 answers

Image upload with Nativescript and PHP

I've tried many examples posted online about uploading images via Nativescript (this part I seem to be getting right bar one or two issues), but my PHP server isn't responding with anything and I don't know how to access the file being uploaded to…
0
votes
1 answer

How to clear upload notification after upload is completed in nativescript

I'm using nativescript plugin nativescript-background-http to upload files in background. Writing only for Android. Plugin works fine. Plugin displays upload progress in the notification, as required in API26+. When upload is completed (success or…
Lorraine R.
  • 1,545
  • 1
  • 14
  • 39
0
votes
0 answers

nativescript-background-http demo-server upload isn't correct

I'm using the demo-server from nativescript-background-http and have setup a demo app which sends an image captured by the phones camera to the backend. sendPicture(filepath) { var url = "http://192.168.200.4:8080"; // Demo server,…
map7
  • 5,096
  • 6
  • 65
  • 128
-1
votes
1 answer

How to get total upload size with nativescript-background-http

I have created file upload using angular and antivescript. When i am uploading single file currentBytes and totalBytes works ok - meaning: totalBytes does not change and currentBytes increasing. Situation is different with multi upload. When…
-1
votes
1 answer

nativescript-background-http detaches view

ai am creating application with naticescript and angular. I have implemented progress indicator with messages. While testing from angular components everything works fine however when i start using real nativescript-background-http progress…