Heya,
I'm looking into using the chrome.identity API for my extension:
http://developer.chrome.com/extensions/identity.htmlAt the bottom, it indicates that their should be a method,
chrome.identity.onSignInChanged.addListener(function callback), but I'm getting undefined when I try it:
http://i.imgur.com/sw6x136.png and it doesn't look like it is there.
console.log("Identity:", chrome.identity);
chrome.identity.onSignInChanged.addListener(function (account, signedIn) {
console.log("HELLO:", account, signedIn);
});
with identity requested in the permissions.
Either way, I'm wondering if it is possible to uniquely identify users signed into chrome who are using my extension. It looks like the account object returned from onSignInChanged is what I'm looking for -- something provided by Google and not generated by me and stored in localStorage.
Thanks
Sean