WindSekirun / RxSocialLogin

An Android Library that provides social login for 15 platforms within by RxJava2, Kotlin and Firebase Authentication.
Apache License 2.0
125 stars 19 forks source link

Not getting result after login #34

Closed dkk009 closed 5 years ago

dkk009 commented 5 years ago

For facebook login not getting result RxSocialLogin.result(this).subscribe({ Timber.d { "FirstName: ${it.firstName}" } }, { Timber.e(it.cause)}) After onActivityResult.

WindSekirun commented 5 years ago

I find some missing point in README. you should do 'RxSocialLogin.initialize(this)' before 'RxSocialLogin.result(this)` It will be fine.

I updated some sample related of your issue. please run the sample app and let me know if the problem recurs. (I tested it on my own device, but it seems to work.)

WindSekirun commented 5 years ago

One more thing, if you doesn't enable 'behaviorOnCancel' on Config in Application, please enable on. somethimes facebook return onCancel() in their callback.

If none of the situations seem appropriate, please provide code to reproduce the issue.

dkk009 commented 5 years ago

Issue is fixed

WindSekirun commented 5 years ago

thanks for fast response, i'll update readme as soon as possible.