waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

accountManager.getAccounts() doesn't return account I inserted with Google Mirror API #606

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upload a Glass app to the gallery in app review mode
2. Attempt to insert mirror credentials into server and retrieve them on Glass
3. I'm attempting to insert mirror credentials for my App namespace supplied to 
the review team, but I cannot fetch those credentials through the Glassware 
AccountManager.
4. I believe the insertion process is working correctly because a Google 
engineer in the SO post told me it looked like it was succeeding and my Google 
Developer Console is increasing it's API call count for Mirror Insert.
5. I'm trying to fetch all accounts on the device with 
accountManager.getAccounts(); and I'm only getting one account of type 
"com.google". getAccountsByType("com.xxxxxx") with my app identified supplied 
during the review process is returning an empty array.

What is the expected output? What do you see instead?
Should be able to fetch an account with my application "Account Type".  The 
only account I can find in my Glassware app (debugging with Eclipse) is an 
account for "com.google" with the email that I have registered with under the 
MyGlass service.

What version of the product are you using? On what operating system?
Glass XE21

Please provide any additional information below:
See related SO Post: 
http://stackoverflow.com/questions/25818682/how-do-you-insert-google-glass-mirro
r-credentials-from-python-server-side-code

Need help: I need a way to verify the credentials are being put in correctly 
outside of Glass.

Original issue reported on code.google.com by nusi...@gmail.com on 22 Sep 2014 at 10:11

GoogleCodeExporter commented 9 years ago
There is a lack of good Python documentation for the Mirror API, but I think 
this issue can be closed.

I was able to fix this on my own.  I made sure that I was able to install the 
myglass beta version of my glassware on my Glass device before loading the dev 
version.  This allowed me to get the credentials on my Glass device running the 
development version.

Original comment by nusi...@gmail.com on 23 Sep 2014 at 9:32