zendesk/sunshine-conversations-javascript

Errors in decoding requests in cordova applications

Closed this issue · 1 comments

It seams that node-fetch has issues when used in cordova applications.
Spceifically I am meeting this problem:
https://stackoverflow.com/questions/19438884/incorrect-header-check-when-using-zlib-in-node-js.

It is due to incompatibility between node-fetch and cordova applications; moreover we met the same error ones in our applications and for this reason we are using isomorphic-fetch instead of node-fetch.

This PR addresses this problem: #103

We are not using the library anymore in the client