2018-06-05 21:51:08 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-06-05 23:08:46 +02:00
|
|
|
package="net.osmand.telegram">
|
2018-06-05 21:51:08 +02:00
|
|
|
|
2018-06-09 11:20:21 +02:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
2019-07-15 16:09:28 +02:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
|
2018-06-06 13:06:56 +02:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
2018-06-05 21:51:08 +02:00
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2018-06-16 18:28:39 +02:00
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
2018-10-19 15:03:10 +02:00
|
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
2019-11-06 11:01:55 +01:00
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
2018-06-05 21:51:08 +02:00
|
|
|
|
|
|
|
<application
|
2018-06-06 13:06:56 +02:00
|
|
|
android:name="net.osmand.telegram.TelegramApplication"
|
2018-06-05 21:51:08 +02:00
|
|
|
android:allowBackup="true"
|
2018-08-06 12:38:30 +02:00
|
|
|
android:icon="@mipmap/ic_launcher"
|
2020-01-27 11:23:36 +01:00
|
|
|
android:label="@string/app_name_short"
|
2018-06-05 21:51:08 +02:00
|
|
|
android:launchMode="singleTask"
|
|
|
|
android:screenOrientation="unspecified"
|
|
|
|
android:supportsRtl="true"
|
2021-01-11 18:04:51 +01:00
|
|
|
android:theme="@style/AppTheme"
|
|
|
|
android:hasFragileUserData="true"
|
|
|
|
android:requestLegacyExternalStorage="true">
|
|
|
|
|
2020-10-05 20:43:08 +02:00
|
|
|
<activity android:name=".ui.TrackerLogcatActivity" />
|
2018-06-06 13:06:56 +02:00
|
|
|
<activity
|
2018-06-20 12:34:20 +02:00
|
|
|
android:name=".ui.MainActivity"
|
2018-06-06 13:06:56 +02:00
|
|
|
android:configChanges="orientation|screenSize"
|
2018-06-11 12:41:43 +02:00
|
|
|
android:launchMode="singleTask"
|
2018-06-06 13:06:56 +02:00
|
|
|
android:windowSoftInputMode="adjustResize">
|
2018-06-05 21:51:08 +02:00
|
|
|
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
2018-06-06 13:06:56 +02:00
|
|
|
|
2018-07-30 14:43:32 +02:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
|
|
|
<data
|
|
|
|
android:host="main_activity"
|
|
|
|
android:scheme="osmand_telegram" />
|
|
|
|
</intent-filter>
|
|
|
|
|
2018-06-05 21:51:08 +02:00
|
|
|
</activity>
|
|
|
|
|
2018-06-09 11:20:21 +02:00
|
|
|
<service
|
2018-06-11 18:57:33 +02:00
|
|
|
android:name=".TelegramService"
|
|
|
|
android:label="@string/process_service"
|
2021-01-11 18:04:51 +01:00
|
|
|
android:foregroundServiceType="location"
|
2018-06-11 12:41:43 +02:00
|
|
|
android:stopWithTask="false">
|
2018-06-09 11:20:21 +02:00
|
|
|
<intent-filter>
|
2018-06-11 18:57:33 +02:00
|
|
|
<action android:name="net.osmand.telegram.TelegramService" />
|
2018-06-09 11:20:21 +02:00
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
|
2018-09-06 14:54:47 +02:00
|
|
|
<receiver
|
|
|
|
android:name=".InitAppBroadcastReceiver"
|
|
|
|
android:enabled="true"
|
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="net.osmand.telegram.InitApp"/>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2018-06-14 20:01:10 +02:00
|
|
|
<provider
|
2020-03-04 15:12:06 +01:00
|
|
|
android:name="androidx.core.content.FileProvider"
|
2018-06-14 20:01:10 +02:00
|
|
|
android:authorities="net.osmand.telegram.fileprovider"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:exported="false">
|
|
|
|
<meta-data
|
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
android:resource="@xml/paths" />
|
|
|
|
</provider>
|
|
|
|
|
2018-06-05 21:51:08 +02:00
|
|
|
</application>
|
|
|
|
|
|
|
|
</manifest>
|