taler-android

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

AndroidManifest.xml (3364B)


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