Hi,
I have been following the tutorial on this site: http://www.gajotres.net/accessing-image-galery-using-ionic-and-ngcordova/
I am getting stuck when installing the plugins as there is an error when installing the contacts plugin. Here is the error I am getting:
C:\Users\leosc\workspace\POC\IonicImagePickerDemo>cordova plugin add org.apache.cordova.contacts
Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.contacts
C:\Users\leosc\workspace\POC\IonicImagePickerDemo>cordova plugin add https://github.com/hazemhagrass/phonegap-base64
Fetching plugin “https://github.com/hazemhagrass/phonegap-base64” via git clone
Repository “https://github.com/hazemhagrass/phonegap-base64” checked out to git ref “master”.
Installing “com-badrit-base64” for android
ANDROID_HOME=C:\Users\leosc\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101
Subproject Path: CordovaLib
Incremental java compilation is an incubating feature.
:clean
:CordovaLib:clean
I am not sure what the problem is but I am unable to add org.apache.cordova.contacts. I have just updated my version using:
npm update -g cordova ionic
but I am still getting the same problem. installing the other plugins seems to be ok. Any ideas?