Skip to content Skip to sidebar Skip to footer

While Parseloginui Loading Spinner Is Working Activity Is Visible At Background

For my project, I am using ParseLoginUI with a dispatcher as shown here: https://github.com/ParsePlatform/ParseUI-Android/tree/master/ParseLoginSampleWithDispatchActivity However,

Solution 1:

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:

<activityandroid:name="com.facebook.LoginActivity">

Add NoDisplay as Theme to it, so it doesn't show up on screen:

<activityandroid:name="com.facebook.LoginActivity"android:theme="@android:style/Theme.NoDisplay">

Solution 2:

With update of new facebook sdk it is now works like this

<activityandroid:name="com.facebook.FacebookActivity"android:theme="@android:style/Theme.NoDisplay"tools:replace="android:theme"
        />

Post a Comment for "While Parseloginui Loading Spinner Is Working Activity Is Visible At Background"