taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

AndroidManifest.xml (3357B)


      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 
     23     <uses-feature
     24         android:name="android.hardware.nfc.hce"
     25         android:required="false" />
     26     <uses-feature
     27         android:name="android.hardware.telephony"
     28         android:required="false" />
     29     <uses-feature
     30         android:name="android.hardware.camera"
     31         android:required="false" />
     32 
     33     <application
     34         android:allowBackup="true"
     35         android:fullBackupContent="@xml/backup_descriptor"
     36         android:icon="@mipmap/ic_taler_logo"
     37         android:label="@string/app_name"
     38         android:roundIcon="@mipmap/ic_taler_logo_round"
     39         android:supportsRtl="true"
     40         android:theme="@style/AppTheme"
     41         android:enableOnBackInvokedCallback="false"
     42         tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">
     43 
     44         <property
     45             android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY"
     46             android:value="true" />
     47 
     48         <activity
     49             android:name=".MainActivity"
     50             android:exported="true"
     51             android:label="@string/app_name"
     52             android:screenOrientation="landscape"
     53             android:theme="@style/AppTheme.NoActionBar"
     54             tools:ignore="LockedOrientationActivity">
     55             <intent-filter>
     56                 <action android:name="android.intent.action.MAIN" />
     57 
     58                 <category android:name="android.intent.category.LAUNCHER" />
     59             </intent-filter>
     60 
     61             <intent-filter>
     62                 <action android:name="android.intent.action.VIEW" />
     63                 <category android:name="android.intent.category.DEFAULT" />
     64                 <category android:name="android.intent.category.BROWSABLE" />
     65                 <data android:scheme="taler-pos" />
     66             </intent-filter>
     67         </activity>
     68 
     69         <service
     70             android:name="net.taler.lib.android.TalerNfcService"
     71             android:exported="true"
     72             android:permission="android.permission.BIND_NFC_SERVICE"
     73             tools:ignore="MissingClass">
     74             <intent-filter>
     75                 <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" />
     76             </intent-filter>
     77 
     78             <meta-data
     79                 android:name="android.nfc.cardemulation.host_apdu_service"
     80                 android:resource="@xml/apduservice" />
     81         </service>
     82 
     83     </application>
     84 
     85 </manifest>