Idrees Khan

Results 16 comments of Idrees Khan

I also needed to upload image as multipart/form-data so i created a plugin at https://github.com/dotnetdreamer/nativescript-http-formdata

@aleixfargas i need todo the same. What I had luckily a static injector. You can check [this](https://stackoverflow.com/a/43695820) stackoverflow. Then you can inject the service statically like so: ``` @Injectable({providedIn: 'root'})...

I am having same issue

I was facing same issue. My web was working but not Android. So here is what i did: - In addition to creating credentials (OAuth Client ID) for web [https://console.cloud.google.com/apis/credentials](https://console.cloud.google.com/apis/credentials),...

Can u make a sample so we can check it out ?

i also need this feature. It would be great to have this...

@SumanSingh4 check the browser cache maybe. Try selecting different photo next time.

@SumanSingh4 this is not this plugin issue as i said. You need to set the value of file input to null when value is changed. Check this https://stackoverflow.com/questions/12030686/html-input-file-selection-event-not-firing-upon-selecting-the-same-file

I think this could work then. ``` onResponse: (call, response) => { let body = response.body().string(); try { body = JSON.parse(body); //error with parse JSON } catch (e) { //ignore...