I seem to be running into issues with socket.io on Oculus Quest. I see others in this thread have had similar issues and I’m assuming have managed to get them running. Currently, I am able to connect to my Heroku app when running the headset from my computer. However, when I build the project and run it on the headset using Oculus Developer Hub it can no longer connect to the server. I have set the internet to true in my manifest file. Although, I’m having no luck any ideas? I’ve included my manifest below.
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.epicgames.MyProject" android:installLocation="internalOnly" android:versionCode="1" android:versionName="1.0">
<!-- Application Definition -->
<application android:label="@string/app_name" android:icon="@drawable/icon" android:hardwareAccelerated="true" android:extractNativeLibs="true" android:name="com.epicgames.unreal.GameApplication" android:requestLegacyExternalStorage="true" android:hasCode="true">
<activity android:name="com.epicgames.unreal.GameActivity" android:exported="true" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:configChanges="mcc|mnc|uiMode|density|screenSize|smallestScreenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|touchscreen|locale|fontScale|layoutDirection" android:resizeableActivity="false" android:launchMode="singleTask" android:screenOrientation="sensorLandscape" android:debuggable="true">
<meta-data android:name="android.app.lib_name" android:value="Unreal" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="com.oculus.intent.category.VR" />
</intent-filter>
<meta-data android:name="com.oculus.vr.focusaware" android:value="true" />
</activity>
<activity android:name=".DownloaderActivity" />
<meta-data android:name="com.epicgames.unreal.GameActivity.EngineVersion" android:value="5.0.2" />
<meta-data android:name="com.epicgames.unreal.GameActivity.EngineBranch" android:value="++UE5+Release-5.0" />
<meta-data android:name="com.epicgames.unreal.GameActivity.ProjectVersion" android:value="1.0.0.0" />
<meta-data android:name="com.epicgames.unreal.GameActivity.DepthBufferPreference" android:value="0" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bPackageDataInsideApk" android:value="true" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bVerifyOBBOnStartUp" android:value="false" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bShouldHideUI" android:value="true" />
<meta-data android:name="com.epicgames.unreal.GameActivity.ProjectName" android:value="MyProject" />
<meta-data android:name="com.epicgames.unreal.GameActivity.AppType" android:value="" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bHasOBBFiles" android:value="true" />
<meta-data android:name="com.epicgames.unreal.GameActivity.BuildConfiguration" android:value="Development" />
<meta-data android:name="com.epicgames.unreal.GameActivity.CookedFlavors" android:value="ASTC" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bValidateTextureFormats" android:value="true" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bUseExternalFilesDir" android:value="true" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bPublicLogFiles" android:value="false" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bUseDisplayCutout" android:value="false" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bAllowIMU" android:value="true" />
<meta-data android:name="com.epicgames.unreal.GameActivity.bSupportsVulkan" android:value="true" />
<meta-data android:name="com.epicgames.unreal.GameActivity.StartupPermissions" android:value="android.permission.WRITE_EXTERNAL_STORAGE" />
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/app_id" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<service android:name="OBBDownloaderService" />
<receiver android:name="AlarmReceiver" />
<receiver android:name="com.epicgames.unreal.LocalNotificationReceiver" />
<receiver android:name="com.epicgames.unreal.MulticastBroadcastReceiver" android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<meta-data android:name="android.max_aspect" android:value="2.10" />
<meta-data android:name="com.oculus.supportedDevices" android:value="quest|delmar" />
<meta-data android:name="com.oculus.handtracking.frequency" android:value="LOW" />
<receiver android:name="com.epicgames.unreal.RemoteFileManagerReceiver" android:exported="true">
<intent-filter>
<action android:name="com.epicgames.unreal.RemoteFileManager.intent.COMMAND" />
</intent-filter>
</receiver>
<meta-data android:name="com.epicgames.unreal.RemoteFileManager.bAllowNetworkConnection" android:value="true" />
</application>
<!-- Requirements -->
<uses-feature android:glEsVersion="0x00030002" android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.android.vending.BILLING" />
<!-- Supported texture compression formats (cooked) -->
<supports-gl-texture android:name="GL_KHR_texture_compression_astc_ldr" />
<uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" />
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />
<uses-feature android:name="oculus.software.handtracking" android:required="false" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.usb.host" />
</manifest>