These are chat archives for ReactiveX/RxJava

27th
Sep 2017
David Karnok
@akarnokd
Sep 27 2017 08:12
You could add a doOnEvent({ println(it) }) before the last flatMap to see what events reach that point. Then start moving it up the chain and into the inner lambda.
Viktor Sinelnikov
@asinel
Sep 27 2017 08:39
I did, and there is no events
but if it.requiresCaptcha is false, everything is ok
David Karnok
@akarnokd
Sep 27 2017 13:07
That means something gets lost inside RxActivityResult. I can't help you with that as it is a 3rd party component.
Viktor Sinelnikov
@asinel
Sep 27 2017 13:22
I exlored code of this library, used debugger, and I see that it calls subject.onNext(), the same as in first example.
David Karnok
@akarnokd
Sep 27 2017 14:28
What type of subject? If its a PublishSubject, then it is possible a signal happens before the top flatMap even subscribes to it.
Viktor Sinelnikov
@asinel
Sep 27 2017 14:29
Yes, it's PublishSubject
David Karnok
@akarnokd
Sep 27 2017 16:09
You can debug RxActivityResult and see if there is a subscriber to PublishSubject at that point or not.