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

not working with ionic #3

Open
hatim-haffane opened this issue Oct 17, 2015 · 7 comments
Open

not working with ionic #3

hatim-haffane opened this issue Oct 17, 2015 · 7 comments

Comments

@hatim-haffane
Copy link

i try to use that with my ionic app , but it not working i get nothing on the accounts array ???

window.plugins.DeviceAccounts.get(function(accounts){
// accounts is an array with objects containing name and type attributes
console.log('account registered on this device:', accounts);
}, function(error){
console.log('Fail to retrieve accounts, details on exception:', error);
});

@loicknuchel
Copy link
Owner

are you waiting for the device ready event ?

@hatim-haffane
Copy link
Author

yes i wait for the device ready event

@sandeepinno
Copy link

it's not working for me also...

@Purus
Copy link

Purus commented Mar 13, 2016

It works for me without issues in Ionic.

@mohamedRhaiem
Copy link

you can resolve this by changing the sdk version of android in the manifest file from 23 to 22 as below

but I didn't recommend this plugin for production environment.

@davidecampello
Copy link

Hi, why you don't recommend? Thanks

@loicknuchel
Copy link
Owner

As explained in the project description, this plugin is not maintained anymore...
I can merge PR and transfer ownership if needed but I will not have the time to work on it.

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

6 participants