AndroidManifest.xml (4265B)
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.NFC" /> 21 <uses-permission android:name="android.permission.CAMERA" /> 22 <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" /> 23 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 24 <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" /> 25 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" /> 26 <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" /> 27 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> 28 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 29 30 <uses-feature android:name="android.hardware.usb.host" android:required="false" /> 31 <uses-feature android:name="android.hardware.bluetooth_le" android:required="false" /> 32 33 <uses-feature 34 android:name="android.hardware.nfc.hce" 35 android:required="false" /> 36 <uses-feature 37 android:name="android.hardware.telephony" 38 android:required="false" /> 39 <uses-feature 40 android:name="android.hardware.camera" 41 android:required="false" /> 42 <application 43 android:name=".PosApplication" 44 android:allowBackup="true" 45 android:fullBackupContent="@xml/backup_descriptor" 46 android:icon="@mipmap/ic_taler_pos_logo" 47 android:label="@string/app_name" 48 android:roundIcon="@mipmap/ic_taler_pos_logo_round" 49 android:supportsRtl="true" 50 android:theme="@style/AppTheme" 51 android:enableOnBackInvokedCallback="false" 52 tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"> 53 54 <property 55 android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY" 56 android:value="true" /> 57 58 <activity 59 android:name=".MainActivity" 60 android:exported="true" 61 android:label="@string/app_name" 62 android:screenOrientation="fullUser" 63 android:windowSoftInputMode="adjustResize" 64 android:theme="@style/AppTheme.NoActionBar" 65 tools:ignore="LockedOrientationActivity"> 66 <intent-filter> 67 <action android:name="android.intent.action.MAIN" /> 68 69 <category android:name="android.intent.category.LAUNCHER" /> 70 </intent-filter> 71 72 <intent-filter> 73 <action android:name="android.intent.action.VIEW" /> 74 <category android:name="android.intent.category.DEFAULT" /> 75 <category android:name="android.intent.category.BROWSABLE" /> 76 <data android:scheme="taler-pos" /> 77 </intent-filter> 78 </activity> 79 80 <service 81 android:name="net.taler.lib.android.TalerNfcService" 82 android:exported="true" 83 android:permission="android.permission.BIND_NFC_SERVICE" 84 tools:ignore="MissingClass"> 85 <intent-filter> 86 <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" /> 87 </intent-filter> 88 89 <meta-data 90 android:name="android.nfc.cardemulation.host_apdu_service" 91 android:resource="@xml/apduservice" /> 92 </service> 93 94 </application> 95 96 </manifest>