mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-17 11:28:01 -05:00
223 lines
9.7 KiB
XML
223 lines
9.7 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">
|
|
|
|
<permission
|
|
android:description="@string/permissionReadCardsDescription"
|
|
android:icon="@drawable/ic_launcher_foreground"
|
|
android:label="@string/permissionReadCardsLabel"
|
|
android:name="${applicationId}.READ_CARDS"
|
|
android:protectionLevel="dangerous" />
|
|
|
|
<uses-sdk tools:overrideLibrary="com.google.zxing.client.android" />
|
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="23" />
|
|
|
|
<uses-feature
|
|
android:name="android.hardware.camera"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.hardware.camera.autofocus"
|
|
android:required="false" />
|
|
|
|
<application
|
|
android:name=".LoyaltyCardLockerApplication"
|
|
android:allowBackup="true"
|
|
android:enableOnBackInvokedCallback="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
android:localeConfig="@xml/locales_config">
|
|
|
|
<receiver
|
|
android:name=".ListWidget"
|
|
android:label="@string/card_list_widget_name"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/list_widget_info" />
|
|
</receiver>
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.App.Starting">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:scheme="content"/>
|
|
<data android:host="*"/>
|
|
<data android:mimeType="image/*" />
|
|
<data android:mimeType="application/pdf" />
|
|
<data android:mimeType="application/vnd.apple.pkpass" />
|
|
<data android:mimeType="application/vnd-com.apple.pkpass" />
|
|
<data android:mimeType="application/vnd.espass-espass" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="text/plain" />
|
|
<data android:mimeType="image/*" />
|
|
<data android:mimeType="application/pdf" />
|
|
<data android:mimeType="application/vnd.apple.pkpass" />
|
|
<data android:mimeType="application/vnd-com.apple.pkpass" />
|
|
<data android:mimeType="application/vnd.espass-espass" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".AboutActivity"
|
|
android:label="@string/about"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".ManageGroupsActivity"
|
|
android:label="@string/groups"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".ManageGroupActivity"
|
|
android:label="@string/group_edit"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize"/>
|
|
<activity
|
|
android:name=".LoyaltyCardViewActivity"
|
|
android:exported="true"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".LoyaltyCardEditActivity"
|
|
android:exported="true"
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize">
|
|
<intent-filter
|
|
android:autoVerify="true"
|
|
android:label="@string/app_name">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<!-- Main card sharing URIs -->
|
|
<data android:scheme="http" />
|
|
<data android:scheme="https" />
|
|
<data
|
|
android:host="@string/intent_import_card_from_url_host_catima_app"
|
|
android:pathPrefix="@string/intent_import_card_from_url_path_prefix_catima_app" />
|
|
</intent-filter>
|
|
<intent-filter android:label="@string/app_name">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<!-- Old card sharing URIs -->
|
|
<data android:scheme="http" />
|
|
<data android:scheme="https" />
|
|
<data
|
|
android:host="@string/intent_import_card_from_url_host_thelastproject"
|
|
android:pathPrefix="@string/intent_import_card_from_url_path_prefix_thelastproject" />
|
|
<data
|
|
android:host="@string/intent_import_card_from_url_host_brarcher"
|
|
android:pathPrefix="@string/intent_import_card_from_url_path_prefix_brarcher" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".ScanActivity"
|
|
android:label="@string/scanCardBarcode"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".BarcodeSelectorActivity"
|
|
android:label="@string/selectBarcodeTitle"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".preferences.SettingsActivity"
|
|
android:label="@string/settings"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<!-- FIXME: locked screenOrientation is a workaround for https://github.com/CatimaLoyalty/Android/issues/1715, remove when https://github.com/CatimaLoyalty/Android/issues/513 is fixed -->
|
|
<activity
|
|
android:name=".ImportExportActivity"
|
|
android:label="@string/importExport"
|
|
android:exported="true"
|
|
android:screenOrientation="locked"
|
|
android:theme="@style/AppTheme.NoActionBar">
|
|
|
|
<!-- ZIP Intent Filter -->
|
|
<intent-filter
|
|
android:label="@string/importCards">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="application/zip" />
|
|
<data android:scheme="content"/>
|
|
<data android:host="*"/>
|
|
</intent-filter>
|
|
|
|
<!-- JSON Intent Filter -->
|
|
<intent-filter
|
|
android:label="@string/importCards">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="application/json" />
|
|
<data android:scheme="content"/>
|
|
<data android:host="*"/>
|
|
</intent-filter>
|
|
|
|
<!-- CSV Intent Filter -->
|
|
<intent-filter
|
|
android:label="@string/importCards">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:scheme="content"/>
|
|
<data android:host="*" />
|
|
<data android:mimeType="text/comma-separated-values" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".CardShortcutConfigure"
|
|
android:exported="true"
|
|
android:label="@string/cardShortcut"
|
|
android:theme="@style/AppTheme.NoActionBar">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".UCropWrapper"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
|
|
<provider
|
|
android:name=".contentprovider.CardsContentProvider"
|
|
android:authorities="${applicationId}.contentprovider.cards"
|
|
android:exported="true"
|
|
android:readPermission="${applicationId}.READ_CARDS"/>
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_provider_paths" />
|
|
</provider>
|
|
<service android:name=".CardsOnPowerScreenService" android:label="@string/app_name"
|
|
android:permission="android.permission.BIND_CONTROLS" android:exported="true"
|
|
tools:targetApi="r">
|
|
<intent-filter>
|
|
<action android:name="android.service.controls.ControlsProviderService" />
|
|
</intent-filter>
|
|
</service>
|
|
</application>
|
|
</manifest>
|