问题
Both Unity Facebook and Vuforia(AR) plugins require that I use android.intent.action.MAIN and android.intent.action.LAUNCHER in the Android Manifest.
I had tried Brain's Brain's solution, but my problem can't be solved. The application can't receive the FB.Login callback.
And the status of FB is OPENING.
In my situation, I am using Vuforia and Unity Facebook plugin. And the Vuforia require that use android.intent.action.MAIN and android.intent.action.LAUNCHER.
<activity android:name="com.qualcomm.QCARUnityPlayer.QCARPlayerProxyActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Anyone have any idea to solve that?
I think the coming Unity-Facebook plugin will support break this limitation. As I find other 3rd party like Prime31. Their FB plugin for android is not required use android.intent.action.MAIN
Thanks!!
来源:https://stackoverflow.com/questions/19172455/conflict-with-activity-tags-on-android-manifest-unity-facebook-and-vuforia-in-u