How to remove Android permissions in Unreal Engine?
Android12GooglePlayFix plugin doesn't seem to work I added (xmlns:tools="http://schemas.android.com/tools") to the "extra tags for <manifest> node" slot, and made a new 'ManifestRequirementsOverride.txt' file in MyProject/Build/Android which seems to get ignored This is my manifest in Intermediate/Android <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.UNLAWFUL.Applab" android:installLocation="auto" android:versionCode="2" android:versionName="0.5"> <queries> <intent> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" /> </intent> <intent> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="https" /> </intent> </queries> <!-- Application Definition --> <application android:label="@string/app_name" android:icon="@drawable/icon" android:allowBackup="False" android:usesCleartextTraffic="False" android:hardwareAccelerated="true" android:extractNativeLibs="true" android:name="com.epicgames.ue4.GameApplication" android:requestLegacyExternalStorage="true" android:hasCode="true"> <activity android:name="com.epicgames.ue4.GameActivity" 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" android:resizeableActivity="false" android:launchMode="singleTask" android:screenOrientation="landscape" android:excludeFromRecents="true" android:taskAffinity="" android:debuggable="true"> <meta-data android:name="android.app.lib_name" android:value="UE4" /> <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.ue4.GameActivity.EngineVersion" android:value="4.27.2" /> <meta-data android:name="com.epicgames.ue4.GameActivity.EngineBranch" android:value="++UE4+Release-4.27" /> <meta-data android:name="com.epicgames.ue4.GameActivity.ProjectVersion" android:value="1" /> <meta-data android:name="com.epicgames.ue4.GameActivity.DepthBufferPreference" android:value="0" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bPackageDataInsideApk" android:value="true" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bVerifyOBBOnStartUp" android:value="false" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bShouldHideUI" android:value="true" /> <meta-data android:name="com.epicgames.ue4.GameActivity.ProjectName" android:value="March" /> <meta-data android:name="com.epicgames.ue4.GameActivity.AppType" android:value="" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bHasOBBFiles" android:value="true" /> <meta-data android:name="com.epicgames.ue4.GameActivity.BuildConfiguration" android:value="Shipping" /> <meta-data android:name="com.epicgames.ue4.GameActivity.CookedFlavors" android:value="ASTC" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bValidateTextureFormats" android:value="true" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bUseExternalFilesDir" android:value="false" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bPublicLogFiles" android:value="false" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bUseDisplayCutout" android:value="false" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bAllowIMU" android:value="true" /> <meta-data android:name="com.epicgames.ue4.GameActivity.bSupportsVulkan" android:value="true" /> <meta-data android:name="com.epicgames.ue4.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.ue4.LocalNotificationReceiver" /> <receiver android:name="com.epicgames.ue4.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" /> </application> <!-- Requirements --> <uses-feature android:glEsVersion="0x00030001" 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="android.permission.READ_EXTERNAL_STORAGE" /> <uses-feature android:name="android.hardware.usb.host" /> </manifest>735Views0likes0CommentsAndroid Permission Request Screen Text Not Appearing
We are using a less common Android permission request (REQUEST_IGNORE_BATTERY_OPTIMIZATIONS) in order to support downloading multiple large 360 videos to the Quest 2 (total ~30GB). This permission request appears in a different UI to the standard permissions, and we are finding that it only appears correctly approx 50% of the time. The other 50% of the time the permission prompt background appears, but without the text or buttons. This is causing issues as without accepting this permission, our downloads will fail. Looks like this when text doesn't appear: Should look like this: Given the size of the download, the user will take the headset off whilst the download completes. We require this permission in order to prevent the device from entering doze or app standby and killing the app/download manager. There is no error or log message shown in logcat when the dialogue does not display correctly. We’ve attempted various methods of requesting this permission and it still only appears 50% of the time. It also seems to open the Oculus Dashboard menu, so the app can’t be interacted with until the Oculus button is pressed to close the dash. Ideally, we'd like it to appear in the standard permissions screen shown below, or to appear in the current UI but with the text showing every time. Any ideas?975Views1like0CommentsMicrophone permission prompt not showing up
I am developing on Quest 2. I am using the Agora RTC SDK which would access the microphone for voice input. I specified the permission in the AndroidManifest.xml file, and also ask it in the Unity code for access. However, the prompt isn't showing up on Quest 2 like it did on other Android devices. Is there something missing here? How does the others voice related app do this?1KViews2likes0CommentsNothing happen but charging when I connect Oculus Quest 2 to Windows PC
It used to work well when I connect my Oculus Quest 2 to my Windows 11 PC. But today I found that my PC cannot detect the device all of sudden. OQ2 is charging though, but no adb permission dialog is promoted. And on the PC side I cannot find the device in the Device Management window, not even in the unknown devices. I try to use the same cable and usb port to connect to my Nokia Android phone and it just works normally: the PC detects the mobile device and a adb permission dialog is popped up on the phone. So I believe it is not the problem of cable or USB port but the OQ2 itself. I don't know how to fix this. Please help.592Views0likes0CommentsLocation permission restricted for app lab publishing
i'm trying to implement a P2P connection between a smartphone and a quest, one of the solutions that may work for my app is using bluetooth, but it seems that ACCESS_COARSE_LOCATION permission is needed (which is marked as not supported while uploading with Oculus Hub). There is a way to workaround the permissions needed to work with bluetooth connections or they are definitely restricted and can't be used in any way to use it with Oculus quest?? Thanks in advance for your replies!841Views0likes0Comments