Closed Abenezer closed 6 years ago
We use a wrapper which imitates xhr request in node. That might be the issue, because it tries to use browser xhr functions? Not sure how NativeScript works, but Nodify could be a way of doing it.
yeah i am trying to edited the file to use axios (http request plugin for javacript). since it works on node and browser it would be best if you use it too. or the best option will be to leave the implementation to the user (make the request service dynamic)
throws
n.on is not a function
error.i dont know if this plugin is wired only to work on browsers or if it has such dependencies . or should i use Nodify