Skip to content
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 and this plugin #2

Closed
vkocjancic opened this issue Mar 18, 2015 · 4 comments
Closed

Ionic and this plugin #2

vkocjancic opened this issue Mar 18, 2015 · 4 comments

Comments

@vkocjancic
Copy link

I have instlaled this plugin and am trying to use it with Ionic framework. When I call cordova.plugins.DeviceAccounts, I get undefined. Any ideas?

@vkocjancic
Copy link
Author

Solved it. you should call DaviceAccounts methods like this: plugins.DeviceAccounts.function and not cordova.plugins.DeviceAccounts.function.

@loicknuchel
Copy link
Owner

Sorry, I have one error on my README...

@vkocjancic
Copy link
Author

Why don't you just set plugin to use what all other plugins use cordova.plugins.xy?

@loicknuchel
Copy link
Owner

There is not much plugins using cordova.plugins.xxx but I think it's the best place to put the plugin API.
So, I should switch...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants