12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?xml version="1.0" encoding="utf-8"?>
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- package="com.gzshixiang.gxrsdk_android_plugin">
- <application android:hardwareAccelerated="false" android:requestLegacyExternalStorage="true">
- <!-- 沉浸式应用 -->
- <meta-data android:name="metadata.is3DApp" android:value="true" />
- <!--
- 不要直接修改 AndroidManifest.xml。
- 在Build的时候会使用 AndroidManifestPhone.xml 或者 AndroidManifestAndroidBox.xml 去替换 AndroidManifest.xml。
- -->
- <!-- 手机模式,手机显示主控界面,unity启动在副屏 -->
- <activity
- android:name="com.gzshixiang.gxrsdk_android_plugin.PhoneControlActivity"
- android:screenOrientation="portrait"
- android:theme="@style/AppTheme">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- <activity
- android:name="com.gzshixiang.gxrsdk_android_plugin.UnityPlayerActivity"
- android:launchMode="singleInstance"
- android:screenOrientation="reverseLandscape"
- tools:replace="android:launchMode"
- android:taskAffinity="unity.affinity"
- android:excludeFromRecents="true">
- <meta-data
- android:name="unityplayer.UnityActivity"
- android:value="true"/>
- </activity>
- <!-- 手机模式 -->
- </application>
- </manifest>
|