Conflict with activity tags on android manifest: Unity Facebook and Vuforia in Unity3d

佐手、 提交于 2019-12-13 02:09:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!