AndroidManifest.xml (5291B)
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.NFC" /> 28 29 <uses-feature 30 android:name="android.hardware.telephony" 31 android:required="false" /> 32 <uses-feature 33 android:name="android.hardware.nfc.hce" 34 android:required="false" /> 35 36 <application 37 android:name=".WalletApp" 38 android:allowBackup="true" 39 android:fullBackupContent="@xml/backup_descriptor" 40 android:icon="@mipmap/ic_launcher" 41 android:label="@string/app_name" 42 android:networkSecurityConfig="@xml/network_security_config" 43 android:roundIcon="@mipmap/ic_launcher_round" 44 android:supportsRtl="true" 45 android:theme="@style/AppTheme" 46 android:enableOnBackInvokedCallback="true" 47 android:usesCleartextTraffic="true" 48 tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"> 49 50 <property 51 android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY" 52 android:value="true" /> 53 54 <activity 55 android:name=".main.MainActivity" 56 android:exported="true" 57 android:launchMode="singleInstance" 58 android:theme="@style/AppTheme.NoActionBar" 59 android:windowSoftInputMode="adjustResize" 60 android:configChanges="keyboardHidden|orientation|screenSize|uiMode"> 61 <intent-filter> 62 <action android:name="android.intent.action.MAIN" /> 63 <category android:name="android.intent.category.LAUNCHER" /> 64 </intent-filter> 65 <intent-filter> 66 <action android:name="android.intent.action.VIEW" /> 67 <action android:name="android.nfc.action.NDEF_DISCOVERED"/> 68 69 <category android:name="android.intent.category.DEFAULT" /> 70 <category android:name="android.intent.category.BROWSABLE" /> 71 72 <data android:scheme="taler" /> 73 <data 74 android:scheme="TALER" 75 tools:ignore="AppLinkUrlError" /> 76 <data android:scheme="ext+taler" /> 77 <data 78 android:scheme="EXT+TALER" 79 tools:ignore="AppLinkUrlError" /> 80 <data android:scheme="payto" /> 81 </intent-filter> 82 <intent-filter> 83 <action android:name="android.intent.action.SEND" /> 84 <category android:name="android.intent.category.DEFAULT" /> 85 <data android:mimeType="text/plain" /> 86 </intent-filter> 87 </activity> 88 89 <activity 90 android:name="com.journeyapps.barcodescanner.CaptureActivity" 91 android:screenOrientation="fullSensor" 92 tools:replace="screenOrientation" /> 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>