AndroidManifest.xml (5268B)
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:extractNativeLibs="true" 40 android:fullBackupContent="@xml/backup_descriptor" 41 android:icon="@mipmap/ic_launcher" 42 android:label="@string/app_name" 43 android:networkSecurityConfig="@xml/network_security_config" 44 android:roundIcon="@mipmap/ic_launcher_round" 45 android:supportsRtl="true" 46 android:theme="@style/AppTheme" 47 android:enableOnBackInvokedCallback="false" 48 android:usesCleartextTraffic="true" 49 tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"> 50 51 <property 52 android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY" 53 android:value="true" /> 54 55 <activity 56 android:name=".main.MainActivity" 57 android:exported="true" 58 android:launchMode="singleInstance" 59 android:theme="@style/AppTheme.NoActionBar" 60 android:windowSoftInputMode="adjustResize" 61 android:configChanges="keyboardHidden|orientation|screenSize|uiMode"> 62 <intent-filter> 63 <action android:name="android.intent.action.MAIN" /> 64 <category android:name="android.intent.category.LAUNCHER" /> 65 </intent-filter> 66 <intent-filter> 67 <action android:name="android.intent.action.VIEW" /> 68 <action android:name="android.nfc.action.NDEF_DISCOVERED"/> 69 70 <category android:name="android.intent.category.DEFAULT" /> 71 <category android:name="android.intent.category.BROWSABLE" /> 72 73 <data android:scheme="taler" /> 74 <data 75 android:scheme="TALER" 76 tools:ignore="AppLinkUrlError" /> 77 <data android:scheme="ext+taler" /> 78 <data 79 android:scheme="EXT+TALER" 80 tools:ignore="AppLinkUrlError" /> 81 <data android:scheme="payto" /> 82 </intent-filter> 83 <intent-filter> 84 <action android:name="android.intent.action.SEND" /> 85 <category android:name="android.intent.category.DEFAULT" /> 86 <data android:mimeType="text/plain" /> 87 </intent-filter> 88 </activity> 89 90 <activity 91 android:name="com.journeyapps.barcodescanner.CaptureActivity" 92 android:screenOrientation="fullSensor" 93 tools:replace="screenOrientation" /> 94 95 <service 96 android:name="net.taler.lib.android.TalerNfcService" 97 android:exported="true" 98 android:permission="android.permission.BIND_NFC_SERVICE" 99 tools:ignore="MissingClass"> 100 <intent-filter> 101 <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" /> 102 </intent-filter> 103 104 <meta-data 105 android:name="android.nfc.cardemulation.host_apdu_service" 106 android:resource="@xml/apduservice" /> 107 </service> 108 109 <provider 110 android:name="androidx.core.content.FileProvider" 111 android:authorities="${applicationId}.fileprovider" 112 android:exported="false" 113 android:grantUriPermissions="true"> 114 <meta-data 115 android:name="android.support.FILE_PROVIDER_PATHS" 116 android:resource="@xml/file_paths" /> 117 </provider> 118 </application> 119 120 <queries> 121 <intent> 122 <data 123 android:host="iban" 124 android:scheme="payto" /> 125 </intent> 126 </queries> 127 128 </manifest>