AndroidManifest.xml (5265B)
1 <?xml version="1.0" encoding="utf-8"?><!-- 2 ~ This file is part of GNU Taler 3 ~ (C) 2020 Taler Systems S.A. 4 ~ 5 ~ GNU Taler is free software; you can redistribute it and/or modify it under the 6 ~ terms of the GNU General Public License as published by the Free Software 7 ~ Foundation; either version 3, or (at your option) any later version. 8 ~ 9 ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 10 ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 ~ 13 ~ You should have received a copy of the GNU General Public License along with 14 ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 --> 16 17 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:tools="http://schemas.android.com/tools"> 19 20 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 21 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> 22 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 23 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 24 <uses-permission 25 android:name="android.permission.WRITE_EXTERNAL_STORAGE" 26 android:maxSdkVersion="28" /> 27 <uses-permission android:name="android.permission.CAMERA" /> 28 <uses-permission android:name="android.permission.NFC" /> 29 30 <uses-feature 31 android:name="android.hardware.camera" 32 android:required="false" /> 33 34 <uses-feature 35 android:name="android.hardware.telephony" 36 android:required="false" /> 37 <uses-feature 38 android:name="android.hardware.nfc.hce" 39 android:required="false" /> 40 41 <application 42 android:name=".WalletApp" 43 android:allowBackup="true" 44 android:fullBackupContent="@xml/backup_descriptor" 45 android:icon="@mipmap/ic_launcher" 46 android:label="@string/app_name" 47 android:networkSecurityConfig="@xml/network_security_config" 48 android:roundIcon="@mipmap/ic_launcher_round" 49 android:supportsRtl="true" 50 android:theme="@style/AppTheme" 51 android:enableOnBackInvokedCallback="true" 52 android:usesCleartextTraffic="true" 53 tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"> 54 55 <property 56 android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY" 57 android:value="true" /> 58 59 <activity 60 android:name=".main.MainActivity" 61 android:exported="true" 62 android:launchMode="singleInstance" 63 android:theme="@style/AppTheme.NoActionBar" 64 android:windowSoftInputMode="adjustResize" 65 android:configChanges="keyboardHidden|orientation|screenSize|uiMode"> 66 <intent-filter> 67 <action android:name="android.intent.action.MAIN" /> 68 <category android:name="android.intent.category.LAUNCHER" /> 69 </intent-filter> 70 <intent-filter> 71 <action android:name="android.intent.action.VIEW" /> 72 <action android:name="android.nfc.action.NDEF_DISCOVERED"/> 73 74 <category android:name="android.intent.category.DEFAULT" /> 75 <category android:name="android.intent.category.BROWSABLE" /> 76 77 <data android:scheme="taler" /> 78 <data 79 android:scheme="TALER" 80 tools:ignore="AppLinkUrlError" /> 81 <data android:scheme="ext+taler" /> 82 <data 83 android:scheme="EXT+TALER" 84 tools:ignore="AppLinkUrlError" /> 85 <data android:scheme="payto" /> 86 </intent-filter> 87 <intent-filter> 88 <action android:name="android.intent.action.SEND" /> 89 <category android:name="android.intent.category.DEFAULT" /> 90 <data android:mimeType="text/plain" /> 91 </intent-filter> 92 </activity> 93 94 <service 95 android:name="net.taler.lib.android.TalerNfcService" 96 android:exported="true" 97 android:permission="android.permission.BIND_NFC_SERVICE" 98 tools:ignore="MissingClass"> 99 <intent-filter> 100 <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" /> 101 </intent-filter> 102 103 <meta-data 104 android:name="android.nfc.cardemulation.host_apdu_service" 105 android:resource="@xml/apduservice" /> 106 </service> 107 108 <provider 109 android:name="androidx.core.content.FileProvider" 110 android:authorities="${applicationId}.fileprovider" 111 android:exported="false" 112 android:grantUriPermissions="true"> 113 <meta-data 114 android:name="android.support.FILE_PROVIDER_PATHS" 115 android:resource="@xml/file_paths" /> 116 </provider> 117 </application> 118 119 <queries> 120 <intent> 121 <data 122 android:host="iban" 123 android:scheme="payto" /> 124 <action android:name="android.intent.action.VIEW" /> 125 </intent> 126 </queries> 127 128 </manifest>