AndroidManifest.xml (4955B)
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 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=".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"> 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 </activity> 83 84 <activity 85 android:name="com.journeyapps.barcodescanner.CaptureActivity" 86 android:screenOrientation="fullSensor" 87 tools:replace="screenOrientation" /> 88 89 <service 90 android:name="net.taler.lib.android.TalerNfcService" 91 android:exported="true" 92 android:permission="android.permission.BIND_NFC_SERVICE" 93 tools:ignore="MissingClass"> 94 <intent-filter> 95 <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" /> 96 </intent-filter> 97 98 <meta-data 99 android:name="android.nfc.cardemulation.host_apdu_service" 100 android:resource="@xml/apduservice" /> 101 </service> 102 103 <provider 104 android:name="androidx.core.content.FileProvider" 105 android:authorities="${applicationId}.fileprovider" 106 android:exported="false" 107 android:grantUriPermissions="true"> 108 <meta-data 109 android:name="android.support.FILE_PROVIDER_PATHS" 110 android:resource="@xml/file_paths" /> 111 </provider> 112 </application> 113 114 <queries> 115 <intent> 116 <data 117 android:host="iban" 118 android:scheme="payto" /> 119 </intent> 120 </queries> 121 122 </manifest>