Nice you found the problem.

Cheers!

--
Douglas Drumond
*GDG Campinas <http://www.gdg-campinas.org/>
 –
**eee19.com* <http://eee19.com/>
*gplus.to/douglasdrumond

* – *@douglasdrumond <https://twitter.com/douglasdrumond>*



2013/9/20 FReDD <[email protected]>

> Well, here's an update : you actually solved my problem. The key part here
> is what you mentioned : *unless they signed out*.
> I had implemented an automatic sign out on leaving the game, I mixed up
> Google+ sign in and Games Client connection.
>
> A big thank you,
>
> FReDD
>
> Le vendredi 20 septembre 2013 23:45:22 UTC+2, FReDD a écrit :
>
>> Ok, thanks for the insight. I must be doing something wrong, then, that
>> would also explain why I didn't find any results relating to this.
>> I don't know what, though, because the connection code is pretty
>> straightforward.
>> Anyway, thanks !
>>
>> Le vendredi 20 septembre 2013 03:41:09 UTC+2, Douglas Drumond a écrit :
>>>
>>> After the user signed in, unless they signed out, this should be
>>> automatic. At least on my phone (4.3), when I signed in my app, I had to
>>> manually sign out to test login with Google+ again because it already used
>>> the last account to login the second time I launched the app. I have three
>>> accounts on this device.
>>>
>>>
>>> --
>>> Douglas Drumond
>>> *GDG Campinas <http://www.gdg-campinas.org/>
>>> –
>>> **eee19.com* <http://eee19.com/>
>>> *gplus.to/douglasdrumond
>>> * – *@douglasdrumond <https://twitter.com/douglasdrumond>*
>>>
>>>
>>>
>>> 2013/9/19 FReDD <[email protected]>
>>>
>>>> Hi everyone,
>>>>
>>>> sorry if this topic has been discussed before, I didn't find a
>>>> definitive answer.
>>>> I am developing a game with Google Play Game capabilities (leaderboards
>>>> & achievements).
>>>> I implemented Google+ sign-in, following the tutorial and the provided
>>>> code examples.
>>>>
>>>> Everything is working fine, but the problem I am currently facing
>>>> occurs in the following scenario,
>>>> at least on an Android 2.2 device :
>>>>
>>>>    - I have two Google accounts, both of them are declared and syncing
>>>>    on my device
>>>>    - I start my game, and a dialog (of my own) asks me whether I want
>>>>    to use Google Play Game capabilities,
>>>>    and therefore if I want to sign in to Google+
>>>>    - I click 'Yes' and my code starts calling the Google+ sign-in API
>>>>    - Android Google+ API kicks in and asks me to choose one of my two
>>>>    accounts to sign in
>>>>
>>>> What I'd like for my future players is allow them to do this once, and
>>>> never bother to sign in again (if they
>>>> allow it, of course). Is there a way to tell the Google+ API to use one
>>>> account in particular and use it to
>>>> sign in automatically ?
>>>> I can understand that a completely silent sign-in can be a privacy
>>>> concern, but is there a way to store
>>>> which account was used and use it later ?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> android-developers+**[email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to android-developers+**[email protected].
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>
>>>
>>>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to