While ParseLoginUI loading spinner is working activity is visible at background

后端 未结 2 1747
一生所求
一生所求 2021-01-19 11:00

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

相关标签:
2条回答
  • 2021-01-19 11:10

    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">
    
    0 讨论(0)
  • 2021-01-19 11:33

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

    <activity android:name="com.facebook.FacebookActivity"
            android:theme="@android:style/Theme.NoDisplay"
            tools:replace="android:theme"
            />
    
    0 讨论(0)
提交回复
热议问题