Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

"trySilentLogin" still not work after use "window.plugins.googleplus.login" (only in Android) #29

Closed
bau720123 opened this issue Dec 27, 2014 · 10 comments

Comments

@bau720123
Copy link

I am using Android 4.4.2
when I am not already use "window.plugins.googleplus.login",if I use "trySilentLogin",it will show the err callback,"no value token"
but..
when I am already use "window.plugins.googleplus.login" and got many information about JSON.stringify(obj)
this time if I use "trySilentLogin" again,it will show nothing (no any response),still not trigger the success callback

my code just as same as yours and use your 1.0.7 version on PGB,1.0.8 version not try yet on "plugins.cordova.io"

PS
so that will cause only the first time login can got the full JSON.stringify(obj),after it,it will no way to trigger it again,otherwise disconnect and login again

@nicholasareed
Copy link

Try the updated version, using the tag:

<gap:plugin name="nl.x-services.plugins.googleplus" version="1.0.8" source="plugins.cordova.io"/>

@bau720123
Copy link
Author

hi @EddyVerbruggen and @nicholasareed
I install 1.0.8 version with PGB 3.6.3
but still have the same situation

my code is as same as your sample code
https://github.com/EddyVerbruggen/cordova-plugin-googleplus

PS
Android 4.4.2 is not work
but iOS 8.1.2 is work well
is it because "trySilentLogin" only support iOS for now ?

@bau720123 bau720123 changed the title "trySilentLogin" still not work after use "window.plugins.googleplus.login" "trySilentLogin" still not work after use "window.plugins.googleplus.login" (only in Android) Jan 17, 2015
@bengtweisse
Copy link

+1

@bau720123
Copy link
Author

anything update or ... ?

@bengtweisse
Copy link

bengtweisse commented Feb 7, 2015 via email

@bau720123
Copy link
Author

hi @bengtweisse
I can't understand what you mean ?
you found a solution ?
how ?
any step ?

@bengtweisse
Copy link

The Plugin provides a logout Method. The Plugin does nothing if you are
already loggedin. So i am triggering logout before relogin.
Am 07.02.2015 13:13 schrieb "包四維" notifications@github.com:

hi @bengtweisse https://github.com/bengtweisse
I can't understand what you mean ?
you found a solution ?
how ?
any step ?


Reply to this email directly or view it on GitHub
#29 (comment)
.

@bau720123
Copy link
Author

hi @bengtweisse
in Android 4.4.2
well...
of course when you are in "already login success" situation that you can use "logout" again before "relogin" or "reSilentLogin"
but it is not the correct logical

because in the real situation
if users want to check his(her) information about GooglePlus "again"..
but you can't tell your users...(hi users...you must logout again that can use "relogin" or "reSilentLogin")

PS
in iOS,the logical is totally perfect

@bau720123
Copy link
Author

hi @bengtweisse
I made a detail explain right here
#45

@EddyVerbruggen
Copy link
Owner

Fixed in #45, thanks for your patience!

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

No branches or pull requests

4 participants