64 lines
2.4 KiB
XML
64 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2017 Google Inc. All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<!--
|
|
Important Notes
|
|
-==============
|
|
1. If your project contains a custom AndroidManifest.xml file, copy the below <uses-feature>
|
|
section. Otherwise, copy this file to this location in your project:
|
|
Assets/Plugins/Android/AndroidManifest.xml.
|
|
|
|
2. In the uses-feature tag for "headtracking", Replace "false" with "true" if 6DOF tracking is
|
|
absolutely required.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<supports-screens
|
|
android:anyDensity="true"
|
|
android:largeScreens="true"
|
|
android:normalScreens="true"
|
|
android:smallScreens="true"
|
|
android:xlargeScreens="true" />
|
|
<application
|
|
android:icon="@drawable/app_icon"
|
|
android:label="@string/app_name"
|
|
android:debuggable="false"
|
|
android:isGame="true"
|
|
android:banner="@drawable/app_banner"
|
|
android:theme="@style/VrActivityTheme">
|
|
|
|
<activity
|
|
android:label="@string/app_name"
|
|
android:name="com.unity3d.player.UnityPlayerActivity"
|
|
android:screenOrientation="landscape"
|
|
android:launchMode="singleTask"
|
|
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale"
|
|
android:enableVrMode="@string/gvr_vr_mode_component"
|
|
android:resizeableActivity="false">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
<!-- This is the key feature that enables 6DOF in your app: -->
|
|
<uses-feature
|
|
android:name="android.hardware.vr.headtracking"
|
|
android:version="1"
|
|
android:required="false" />
|
|
</manifest>
|