Closed khem88 closed 5 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
I have the same issue while using Java and latest version of this library
Hi, I have the same problem.
Does anybody manage to resolve this issue?
I create a pull request for it #25
val scopes = Arrays.asList( "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.upload" )
It return the onCancel() and print the cancel msg