rohfosho / CordovaCallNumberPlugin

Call a number directly from your cordova application.
MIT License
185 stars 151 forks source link

Wrong package id after plugin install #48

Open azakusilo opened 7 years ago

azakusilo commented 7 years ago

Hello. After intalling the plugin in config.xml appear line this your plugin. But the record is wrong because the id is mx.ferreya.callnumber and must be call-number. Please fix it.

krlozadan commented 6 years ago

Could you please fix this issue? It is very annoying. I would really appreciate it. :)

darwiin commented 6 years ago

The plugin.xml file seems to be correct already. Do you plan to deploy a new release with this fix ?

dalezak commented 6 years ago

I'm still having this issue, running the command ionic cordova plugin add call-number adds mx.ferreyra.callnumber to my package.json.

theHellyar commented 6 years ago

anybody have a fix for this.....going crazy here!

...update I fixed my issue....

this fixed my issues of always wanting to install the 'mx.ferreyra.callnumber'

just remove all plugins 'mx.ferreyra.callnumber' and 'call-number'

then past this in your config file: <plugin name="call-number" spec="1.0.4" />

then run ionic cordova prepare and it will install the latest version and the console will never try to install 'mx.ferreyra.callnumber ' again.... happy days!

alexandre-pereira commented 6 years ago

Any update on this?

filippodicostanzo commented 6 years ago

@theHellyar I tried your solution but i have this error:

Failed to restore plugin "call-number" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin call-number@1.0.4 via registry.Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL.

And the plugin doens't work with normal installation

ihahachi commented 6 years ago

@theHellyar You can solve the problem by changing the version from <plugin name="call-number" spec="1.0.4" /> to <plugin name="call-number" spec="1.0.1" /> Because NPM is still in the old version

see : https://www.npmjs.com/package/call-number