I am using the $httpProvider to push an interceptor, which displays a loading screen, whenever $http is used - pretty standard stuff.
Now I want to incorporate the downloadFile and uploadFile function of ngCordova’s $cordovaFile. So that overtime I upload something, the loading screen is shown as well.
The two functions are based on the cordova plugin function fileTransfer.
How can I get it to work with my interceptor? Is it possible?
Having the same issue! And I’m using the interceptor for more things such as if it comes back with an unauthorized, do something ,etc… anyone found a way?
Having the same problem as well. I need to incorporate my basic oauth mechanism for authorization. Has anyone found a solution ?