1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
4 package="net.minetest.minetest"
5 android:installLocation="auto">
7 <uses-permission android:name="android.permission.INTERNET" />
8 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
9 <uses-feature android:glEsVersion="0x00020000" />
12 `android:requestLegacyExternalStorage="true"` is workaround for using `/sdcard`
13 instead of the `getFilesDir()` patch for assets. Check link below for more information:
14 https://developer.android.com/training/data-storage/compatibility
18 android:allowBackup="false"
19 android:icon="@mipmap/ic_launcher"
20 android:label="@string/label"
21 android:requestLegacyExternalStorage="true"
22 android:resizeableActivity="false"
23 tools:ignore="UnusedAttribute">
26 android:name="android.max_aspect"
27 android:value="3.0" />
30 android:name=".MainActivity"
31 android:configChanges="orientation|keyboardHidden|navigation|screenSize"
32 android:maxAspectRatio="3.0"
33 android:screenOrientation="sensorLandscape"
34 android:theme="@style/AppTheme"
35 android:exported="true">
37 <action android:name="android.intent.action.MAIN" />
38 <category android:name="android.intent.category.LAUNCHER" />
43 android:name=".GameActivity"
44 android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize"
45 android:hardwareAccelerated="true"
46 android:launchMode="singleTask"
47 android:maxAspectRatio="3.0"
48 android:screenOrientation="sensorLandscape"
49 android:theme="@style/AppTheme"
50 android:exported="true">
52 <action android:name="android.intent.action.MAIN" />
55 android:name="android.app.lib_name"
56 android:value="Minetest" />
60 android:name=".UnzipService"
61 android:enabled="true"
62 android:exported="false" />
65 android:name="androidx.core.content.FileProvider"
66 android:authorities="net.minetest.minetest.fileprovider"
67 android:grantUriPermissions="true"
68 android:exported="false">
70 android:name="android.support.FILE_PROVIDER_PATHS"
71 android:resource="@xml/filepaths" />