26a0630393
* Add uncaught exception handler that saves stacktraces to local crash log files * Show a Compose crash dialog with stacktrace toggle and share action * Register crash handler activity in a separate process with dialog theme * Remove ACRA dependencies and configuration * Add crash dialog strings and ignore `.hotswan/`
78 lines
3.0 KiB
XML
78 lines
3.0 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.INTERNET" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
|
|
|
<application
|
|
android:name="dev.meloda.fast.common.AppGlobal"
|
|
android:allowBackup="true"
|
|
android:appCategory="social"
|
|
android:enableOnBackInvokedCallback="true"
|
|
android:fullBackupOnly="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:localeConfig="@xml/locales_config"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
tools:targetApi="tiramisu">
|
|
|
|
<activity
|
|
android:name="dev.meloda.fast.presentation.MainActivity"
|
|
android:exported="true"
|
|
android:windowSoftInputMode="adjustResize">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
<category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
|
|
|
|
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="dev.meloda.fast.presentation.CrashActivity"
|
|
android:exported="false"
|
|
android:process=":error_handler"
|
|
android:theme="@style/CrashDialogTheme" />
|
|
|
|
<service
|
|
android:name="dev.meloda.fast.service.longpolling.LongPollingService"
|
|
android:enabled="true"
|
|
android:exported="false"
|
|
android:foregroundServiceType="dataSync" />
|
|
|
|
<service
|
|
android:name="dev.meloda.fast.service.OnlineService"
|
|
android:enabled="true"
|
|
android:exported="false"
|
|
android:foregroundServiceType="dataSync" />
|
|
|
|
<service
|
|
android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
|
|
android:enabled="false"
|
|
android:exported="false">
|
|
<meta-data
|
|
android:name="autoStoreLocales"
|
|
android:value="true" />
|
|
</service>
|
|
|
|
<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>
|
|
</application>
|
|
</manifest>
|