Warning, /pim/itinerary/src/app/android/AndroidManifest.xml is written in an unsupported language. File is not indexed.

0001 <?xml version='1.0' encoding='utf-8'?>
0002 <!--
0003     SPDX-FileCopyrightText: 2018-2020 Volker Krause <vkrause@kde.org>
0004     SPDX-FileCopyrightText: 2019 Nicolas Fella <nicolas.fella@gmx.de>
0005     SPDX-FileCopyrightText: 2020 Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
0006     SPDX-License-Identifier: CC0-1.0
0007 -->
0008 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
0009           package="org.kde.itinerary"
0010           android:versionName="${versionName}"
0011           android:versionCode="${versionCode}"
0012           android:installLocation="auto">
0013 
0014     <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
0015 
0016     <!-- manual permission management, the Qt automatism would add too much here -->
0017     <uses-permission android:name="android.permission.READ_CALENDAR"/>
0018     <uses-permission android:name="android.permission.INTERNET"/>
0019     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <!-- from Qt, do we really need that? -->
0020     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <!-- for onboard API -->
0021     <uses-permission android:name="android.permission.CAMERA"/> <!-- barcode scanner -->
0022     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <!-- onboard API, navigation -->
0023     <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> <!-- for Android >= 33 -->
0024     <!-- %%INSERT_FEATURES -->
0025 
0026     <application android:name="org.qtproject.qt.android.bindings.QtApplication" android:label="@string/application_name_full" android:icon="@mipmap/ic_launcher">
0027         <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation"
0028                   android:name="org.kde.itinerary.Activity"
0029                   android:label="@string/application_name_short"
0030                   android:windowSoftInputMode="adjustResize"
0031                   android:launchMode="singleTop"
0032                   android:exported="true">
0033 
0034             <intent-filter>
0035                 <action android:name="android.intent.action.MAIN"/>
0036                 <category android:name="android.intent.category.LAUNCHER"/>
0037             </intent-filter>
0038             <intent-filter>
0039                 <action android:name="android.intent.action.VIEW"/>
0040                 <category android:name="android.intent.category.BROWSABLE" />
0041                 <category android:name="android.intent.category.DEFAULT"/>
0042                 <data android:scheme="content" android:host="*" android:mimeType="application/vnd.apple.pkpass"/>
0043             </intent-filter>
0044             <intent-filter>
0045                 <action android:name="android.intent.action.VIEW"/>
0046                 <category android:name="android.intent.category.BROWSABLE" />
0047                 <category android:name="android.intent.category.DEFAULT"/>
0048                 <data android:scheme="content" android:host="*" android:mimeType="application/json"/>
0049             </intent-filter>
0050             <intent-filter>
0051                 <action android:name="android.intent.action.VIEW"/>
0052                 <category android:name="android.intent.category.BROWSABLE" />
0053                 <category android:name="android.intent.category.DEFAULT"/>
0054                 <data android:scheme="content" android:host="*" android:mimeType="text/calendar"/>
0055             </intent-filter>
0056             <intent-filter>
0057                 <action android:name="android.intent.action.VIEW"/>
0058                 <category android:name="android.intent.category.BROWSABLE" />
0059                 <category android:name="android.intent.category.DEFAULT"/>
0060                 <data android:scheme="content" android:host="*" android:mimeType="text/html"/>
0061             </intent-filter>
0062             <intent-filter>
0063                 <action android:name="android.intent.action.VIEW"/>
0064                 <category android:name="android.intent.category.BROWSABLE" />
0065                 <category android:name="android.intent.category.DEFAULT"/>
0066                 <data android:scheme="content" android:host="*" android:mimeType="message/rfc822"/>
0067             </intent-filter>
0068             <intent-filter>
0069                 <action android:name="android.intent.action.VIEW"/>
0070                 <category android:name="android.intent.category.BROWSABLE" />
0071                 <category android:name="android.intent.category.DEFAULT"/>
0072                 <data android:scheme="content" android:host="*" android:mimeType="application/pdf"/>
0073             </intent-filter>
0074             <intent-filter>
0075                 <action android:name="android.intent.action.VIEW"/>
0076                 <category android:name="android.intent.category.BROWSABLE" />
0077                 <category android:name="android.intent.category.DEFAULT"/>
0078                 <data android:scheme="http" android:host="*" android:pathPattern=".*\\.pkpass"/>
0079             </intent-filter>
0080             <intent-filter>
0081                 <action android:name="android.intent.action.VIEW"/>
0082                 <category android:name="android.intent.category.BROWSABLE" />
0083                 <category android:name="android.intent.category.DEFAULT"/>
0084                 <data android:scheme="https" android:host="*" android:pathPattern=".*\\.pkpass"/>
0085             </intent-filter>
0086             <intent-filter>
0087                 <action android:name="android.intent.action.VIEW"/>
0088                 <category android:name="android.intent.category.BROWSABLE" />
0089                 <category android:name="android.intent.category.DEFAULT"/>
0090                 <data android:scheme="content" android:host="*" android:pathPattern=".*\\.itinerary" android:mimeType="*/*"/>
0091             </intent-filter>
0092             <intent-filter>
0093                 <action android:name="android.intent.action.VIEW"/>
0094                 <category android:name="android.intent.category.BROWSABLE" />
0095                 <category android:name="android.intent.category.DEFAULT"/>
0096                 <data android:scheme="content" android:host="*" android:pathPattern=".*\\.eml" android:mimeType="*/*"/>
0097             </intent-filter>
0098             <intent-filter>
0099                 <action android:name="android.intent.action.SEND"/>
0100                 <category android:name="android.intent.category.DEFAULT"/>
0101                 <data android:mimeType="*/*"/>
0102             </intent-filter>
0103             <intent-filter>
0104                 <action android:name="android.intent.action.SEND_MULTIPLE"/>
0105                 <category android:name="android.intent.category.DEFAULT"/>
0106                 <data android:mimeType="*/*"/>
0107             </intent-filter>
0108 
0109             <meta-data android:name="android.app.lib_name" android:value="itinerary-app"/>
0110             <meta-data android:name="android.app.repository" android:value="default"/>
0111             <meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
0112             <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
0113             <meta-data android:name="android.app.extract_android_style" android:value="minimal"/>
0114 
0115             <!-- Deploy Qt libs as part of package -->
0116             <meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
0117             <!-- Run with local libs -->
0118             <meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
0119             <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
0120             <meta-data android:name="android.app.load_local_libs" android:value="-- %%INSERT_LOCAL_LIBS%% --"/>
0121             <meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>
0122             <meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
0123             <meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
0124             <!--  Messages maps -->
0125             <meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
0126             <meta-data android:value="@string/unsupported_android_version" android:name="android.app.unsupported_android_version"/>
0127 
0128             <!-- Splash screen -->
0129             <meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splash"/>
0130 
0131             <!-- Background running -->
0132             <meta-data android:name="android.app.background_running" android:value="false"/>
0133 
0134             <!-- auto screen scale factor -->
0135             <meta-data android:name="android.app.auto_screen_scale_factor" android:value="true"/>
0136 
0137              <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
0138         </activity>
0139 
0140         <provider
0141             android:name="androidx.core.content.FileProvider"
0142             android:authorities="org.kde.itinerary.documentprovider"
0143             android:exported="false"
0144             android:grantUriPermissions="true">
0145             <meta-data
0146                 android:name="android.support.FILE_PROVIDER_PATHS"
0147                 android:resource="@xml/file_paths"/>
0148         </provider>
0149     </application>
0150 </manifest>