For my project, I am using ParseLoginUI with a dispatcher as shown here: https://github.com/ParsePlatform/ParseUI-Android/tree/master/ParseLoginSampleWithDispatchActivity
However, when I click "Login with Facebook", Parse spinner starts spinning, also my activity which I should go "after" this step is also getting visible (it looks really ugly) and then it directs me to facebook login widget and to the activity.
It should look like this:
Yet, I also see this step:
Which is pretty disgusting. How can I stick with only first animation? I guess Activity is starting prematurely.
I found the solution. That dummy activity which starts unnecessarily is belong to Facebook. Which in our AndroidManifest.xml
Facebook's LoginActivity looks like this:
<activity android:name="com.facebook.LoginActivity">
Add NoDisplay as Theme to it, so it doesn't show up on screen:
<activity android:name="com.facebook.LoginActivity"
android:theme="@android:style/Theme.NoDisplay">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With