-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ionic Native Uid plugin referencing wrong cordova plugin #3355
Comments
@jimlerza
npm ERR! A complete log of this run can be found in:
|
There are 3 ways to make the Native Uid plugin usable:
Only the third is within the Ionic Native team's control. I don't believe it's possible to contact NPM package maintainers, and |
Hi @jimlerza do you think this plugin will work now..
. " |
To the ionic native team: I was able to contact kuroshiropanda in accordance with NPM's dispute policy and they have agreed to add me as an owner of cordova-plugin-uid on NPM. Once this is done, I will be able to facilitate method 2 described in my comment above. |
@jimlerza congrats
Can you please update me after updating cordova-plugin-uid? |
@jimlerza Any updates on this? I can kind of make it work, but requires cleaning up crap after installation. In package.json, both in "dependencies" and "cordova.plugins" I reference "cordova-plugin-uid" not "cordova-plugin-dreamover-uid". In config.xml I reference "cordova-plugin-dreamover-uid", not "cordova-plugin-uid". So when I do "npm install" it works fine. When I do "ionic cordova prepare android", it works, but in the end it adds "cordova-plugin-dreamover-uid" to the package.json file, both in "dependencies" and "cordova.plugins". Then I have to clean that up manually, otherwise when I run "npm install" again it will fail, with an error: Far from ideal, but it seems to work. |
@jimlerza Any updates on this? |
I have suggested 3 possible ways to get this working, but I can't do any of them myself. Perhaps the owners of this repository will chime in with their suggestion or ultimately close this ticket. |
@jimlerza Any updates on this? |
There has been no recent activity and this issue has been marked inactive. |
Any update on this issue? |
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
Running
ionic cordova plugin add cordova-plugin-uid
actually installs a plugin calledcordova-plugin-dreamover-uid
.Any attempts to access the Uid plugin's properties result in the following error:
Native: tried calling Uid.IMEI, but the Uid plugin is not installed.
Install the Uid plugin: 'ionic cordova plugin add cordova-plugin-uid'
Expected behavior:
Running
ionic cordova plugin add cordova-plugin-uid
installscordova-plugin-uid
.Steps to reproduce:
Follow instructions from https://ionicframework.com/docs/native/uid
Other information:
Considering this pull request has been outstanding for almost a year, it may be time to consider
lionelhe/cordova-plugin-uid
abandoned and switch totxlopes/cordova-plugin-uid
instead.The text was updated successfully, but these errors were encountered: