-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem to send file #25
Comments
@njtnestor can you please pull this project and run the demo and check ? i havn't tested on JS... |
I can confirm that this happens to me too. I see that the POST request is made to the API, but |
the same here |
Had the same problem with a request getting stuck and therefore crushing the Android app.
When you call any methods on response object (i.e. body(), headers(), code() or message()) they are never resolved. Therefore, the solution that worked for me was to copy the whole class TNSHttpFormData (https://github.com/dotnetdreamer/nativescript-http-formdata/blob/master/src/TNSHttpFormData.android.ts) and 2 related imported files:
|
i can confirm that this is an issue. Any chance that this will be fixed, @dotnetdreamer? |
Hello I am using a Mediafilepicker to grab a file with nativescript, but as example to test I created a file of next way:
After i do this:
As result I got my app blocked and crashed without errors
P.D: I'm using javascript instead typescript
The text was updated successfully, but these errors were encountered: