223 lines
8.4 KiB
XML
223 lines
8.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
<uses-permission android:name="android.permission.NFC" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
|
|
|
|
<uses-feature android:name="android.hardware.camera" />
|
|
<uses-feature android:name="android.hardware.camera.autofocus" />
|
|
<uses-feature
|
|
android:name="android.hardware.nfc"
|
|
android:required="true" />
|
|
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.intent.action.SENDTO" />
|
|
<data android:scheme="mailto" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.support.customtabs.action.CustomTabsService" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<application
|
|
android:name="com.tangem.tap.TangemHiltApplication"
|
|
android:allowBackup="false"
|
|
android:fullBackupContent="false"
|
|
android:hardwareAccelerated="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/tangem_app_name"
|
|
android:largeHeap="@bool/largeHeap"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:resizeableActivity="@bool/resizeable_activity"
|
|
android:roundIcon="@mipmap/ic_launcher"
|
|
android:supportsRtl="true"
|
|
android:enableOnBackInvokedCallback="true"
|
|
tools:ignore="GoogleAppIndexingWarning"
|
|
tools:replace="android:allowBackup, android:fullBackupContent, android:label">
|
|
|
|
<meta-data
|
|
android:name="com.google.android.gms.wallet.api.enabled"
|
|
android:value="true" />
|
|
|
|
<activity
|
|
android:name="com.tangem.tap.MainActivity"
|
|
android:configChanges="uiMode"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:screenOrientation="portrait"
|
|
android:theme="@style/SplashTheme"
|
|
android:windowSoftInputMode="adjustResize">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:scheme="http" />
|
|
<data android:host="www.tangem.com" />
|
|
<data android:pathPrefix="/ndef" />
|
|
|
|
<data android:scheme="https" />
|
|
<data android:host="www.tangem.com" />
|
|
<data android:pathPrefix="/ndef" />
|
|
|
|
<data android:scheme="http" />
|
|
<data android:host="tangem.com" />
|
|
<data android:pathPrefix="/ndef" />
|
|
|
|
<data android:scheme="https" />
|
|
<data android:host="tangem.com" />
|
|
<data android:pathPrefix="/ndef" />
|
|
|
|
<data android:scheme="https" />
|
|
<data android:host="app.tangem.com" />
|
|
<data android:pathPrefix="/ndef" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:scheme="wc" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:host="wc" />
|
|
<data android:scheme="tangem" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="redirect"
|
|
android:scheme="tangem" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="onramp"
|
|
android:scheme="tangem" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="redirect_sell"
|
|
android:scheme="tangem" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="referral"
|
|
android:scheme="tangem" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="main"
|
|
android:scheme="tangem" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="token"
|
|
android:scheme="tangem" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="staking"
|
|
android:scheme="tangem" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Disable android.startup completely. Used for Worker according doc -->
|
|
<!--https://developer.android.com/jetpack/androidx/releases/work#version_260_3-->
|
|
<provider
|
|
android:name="androidx.startup.InitializationProvider"
|
|
android:authorities="${applicationId}.androidx-startup"
|
|
tools:node="remove" />
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.provider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/provider_paths" />
|
|
</provider>
|
|
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_icon"
|
|
android:resource="@drawable/ic_tangem_24" />
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_color"
|
|
android:resource="@color/white" />
|
|
|
|
<service
|
|
android:name="com.tangem.tap.common.pushes.TangemPushNotificationService"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
</intent-filter>
|
|
</service>
|
|
</application>
|
|
</manifest>
|