jaychang0917 / SimpleAuth

A easy to use social authentication android library. (Facebook, Google, Twitter, Instagram)
224 stars 51 forks source link

google account issue #23

Closed khem88 closed 5 years ago

khem88 commented 6 years ago

val scopes = Arrays.asList( "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.upload" )

    com.jaychang.sa.google.SimpleAuth.connectGoogle(scopes,object :AuthCallback{
        override fun onSuccess(socialUser: SocialUser?) {
            loginStatusListener.onLoginSuccess(socialUser)
                         Log.e("======","Success")
        }

        override fun onCancel() {
            Log.e("======","cancel")
        }

        override fun onError(error: Throwable?) {
            Log.e("======","Google=="+error!!.message)
        }

    })

It return the onCancel() and print the cancel msg

wildfiregt commented 5 years ago

I have the same issue while using Java and latest version of this library

sergio11 commented 5 years ago

Hi, I have the same problem.

nthreads commented 5 years ago

Does anybody manage to resolve this issue?

tperraut-geronimo commented 5 years ago

I create a pull request for it #25