Home > front end >  how to install ionic capacitor contact native plugin
how to install ionic capacitor contact native plugin

Time:12-15

When i try to install "npm install @awesome-cordova-plugins/contacts" in ionic 6, am getting error as follows

npm ERR! 404 Not Found - GET https://registry.npmjs.org/@awesome-cordova-plugins/contacts - Not found
npm ERR! 404
npm ERR! 404  '@awesome-cordova-plugins/contacts@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url. ```

how can i resolve this issue. same issue is happening for uid also.

CodePudding user response:

According to the cordova-contacts-plugin repo here, the cordova-contacts-plugin is deprecated since Nov 27, 2017.

As there is deprecation notice on it's npm repository.

The plugin that is currently in the ionic docs is abandoned but it seems like ionic docs is not updated since then.

CodePudding user response:

I think u have to use this one now:

https://github.com/capacitor-community/contacts

https://www.npmjs.com/package/@capacitor-community/contacts

  • Related