Help Setting up 3rd Party Plugin - cordova-plugin-filepath


I just started with Ionic and Anuglar, I have developed Android and IOS apps but for current project short on time want to have single code base.

For including modules like Camera and File I used awesome work you have done in form of ngCordova but I am stuck when trying to pull in

cordova plugin add cordova-plugin-filepath

This converts content:// path to file:// path so I can process the file and store it locally.

Its installed correctly and I can see it in Android config file as well but I window.FilePath.resolveNativePath doesn’t work. FilePath is not defined under windows. I tried it via service and controller both.

Please suggest on how to get it to work with Ionic project.


Please close this had to deploy apk to get it to work. Thanks to info at