Skip to content
2 changes: 2 additions & 0 deletions fusionApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ dependencies {
implementation("top.canyie.pine:core:0.3.0")
implementation("io.github.hexhacking:xdl:2.3.0")
implementation("androidx.annotation:annotation-jvm:1.9.1")
// fuck you too vr android yeah thanks
implementation("androidx.appcompat:appcompat:1.7.1")
}

android {
Expand Down
105 changes: 84 additions & 21 deletions fusionApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,66 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:installLocation="preferExternal">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:installLocation="preferExternal">
<supports-screens android:smallScreens="true" android:normalScreens="true"
android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-feature android:glEsVersion="0x00030000" />
<uses-feature android:name="android.hardware.vulkan.version" android:required="false" />
<uses-feature android:name="android.software.home_screen" android:required="true" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<!-- Quest VR markers: without these the Oculus runtime treats the package as a
2D app and the compositor refuses to display our frames in the headset
(InputFocusLost fires immediately after VrFocusAcquired). -->
<uses-feature android:name="android.hardware.vr.headtracking" android:required="true"
android:version="1" />
<uses-feature android:name="oculus.software.handtracking" android:required="false" />
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />
<queries>
<package android:name="com.innersloth.spacemafia" />
<package android:name="com.Earthkwak.Platformer" />
<package android:name="com.antiherostudios.misfitz" />
<package android:name="com.Radeon.RecRoom" />
<package android:name="com.abstractsoft.hybridanimals" />
<!--<package android:name="com.abstractsoft.humansversusai" />
<!--<package
android:name="com.abstractsoft.humansversusai" />
<package android:name="com.abstractsoft.animalsmash" />
<package android:name="com.abstractsoft.mashypets" />-->
<package android:name="com.StefMorojna.SpaceflightSimulator" />
<package android:name="com.DanVogt.DATAWING" />
<package android:name="com.AnotherAxiom.GorillaTag" />
<package android:name="com.oculus.os.cm" />
</queries>
<application android:label="@string/app_name" android:icon="@mipmap/app_icon" android:enableOnBackInvokedCallback="true" android:extractNativeLibs="true">
<application android:label="@string/app_name" android:icon="@mipmap/app_icon"
android:enableOnBackInvokedCallback="true" android:extractNativeLibs="true">
<meta-data android:name="unity.splash-mode" android:value="0" />
<meta-data android:name="unity.splash-enable" android:value="False" />
<meta-data android:name="unity.launch-fullscreen" android:value="True" />
<meta-data android:name="unity.render-outside-safearea" android:value="True" />
<meta-data android:name="notch.config" android:value="portrait|landscape" />
<meta-data android:name="unity.auto-report-fully-drawn" android:value="true" />
<meta-data android:name="com.google.android.gms.version" android:value="12451000" />
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:resizeableActivity="false" android:hardwareAccelerated="false" android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:process=":vr"
android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser"
android:launchMode="singleTask"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density"
android:resizeableActivity="false" android:hardwareAccelerated="false"
android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="notch_support" android:value="true" />
<intent-filter>
<category android:name="com.oculus.intent.category.VR" />
</intent-filter>
</activity>
<activity android:name="com.innersloth.spacemafia.EosUnityPlayerActivity" android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:resizeableActivity="false" android:hardwareAccelerated="false" android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<activity android:name="com.unity3d.player.UnityPlayerGameActivity"
android:process=":vr"
android:theme="@style/UnityThemeSelector"
android:screenOrientation="fullUser"
android:launchMode="singleTask"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density"
android:resizeableActivity="false"
android:hardwareAccelerated="false"
android:windowLayoutInDisplayCutoutMode="shortEdges"
android:exported="true">
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="notch_support" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.oculus.intent.category.VR" />
</intent-filter>
</activity>
<activity android:name="com.google.firebase.MessagingUnityPlayerActivity" android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:resizeableActivity="false" android:hardwareAccelerated="false" android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<activity android:name="com.innersloth.spacemafia.EosUnityPlayerActivity" android:process=":vr"
android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser"
android:launchMode="singleTask"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density"
android:resizeableActivity="false" android:hardwareAccelerated="false"
android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="notch_support" android:value="true" />
</activity>
<activity android:name="com.teamcuriosity.addons.ExtendedUnityActivity" android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:resizeableActivity="false" android:hardwareAccelerated="false" android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<activity android:name="com.google.firebase.MessagingUnityPlayerActivity" android:process=":vr"
android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser"
android:launchMode="singleTask"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density"
android:resizeableActivity="false" android:hardwareAccelerated="false"
android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="notch_support" android:value="true" />
</activity>
<activity android:name="dev.allofus.fusioncore.SelectorActivity" android:theme="@style/UnityThemeSelector" android:exported="true">
<activity android:name="com.teamcuriosity.addons.ExtendedUnityActivity" android:process=":vr"
android:theme="@style/UnityThemeSelector" android:screenOrientation="fullUser"
android:launchMode="singleTask"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density"
android:resizeableActivity="false" android:hardwareAccelerated="false"
android:windowLayoutInDisplayCutoutMode="shortEdges" android:exported="true">
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="notch_support" android:value="true" />
</activity>
<activity android:name="dev.allofus.fusioncore.SelectorActivity" android:theme="@style/AppTheme"
android:exported="true">
<intent-filter>
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity
android:name="dev.allofus.fusioncore.BootstrapActivity"
android:theme="@style/UnityThemeSelector"
android:launchMode="singleTask"
android:exported="false" />
android:name="dev.allofus.fusioncore.BootstrapActivity"
android:theme="@style/AppTheme"
android:launchMode="singleTask"
android:process=":vr"
android:exported="true">
<!-- Quest decides VR rendering at process-spawn time based on the launched
activity's intent-filter category. Putting Bootstrap in its own :vr
process and tagging it VR makes the new process start in VR mode while
the SelectorActivity (main process) stays 2D for clickable launcher UI. -->
<intent-filter>
<category android:name="com.oculus.intent.category.VR" />
</intent-filter>
</activity>
<activity
android:name="dev.allofus.fusioncore.SettingsActivity"
android:theme="@style/UnityThemeSelector"
android:exported="false" />
android:name="dev.allofus.fusioncore.SettingsActivity"
android:theme="@style/UnityThemeSelector"
android:exported="false" />
</application>
</manifest>
Loading