mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2024-11-10 13:20:32 -06:00
150 lines
6.4 KiB
XML
150 lines
6.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"
|
|
package="io.github.wulkanowy"
|
|
android:installLocation="internalOnly">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<application
|
|
android:name=".WulkanowyApp"
|
|
android:allowBackup="false"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="false"
|
|
android:theme="@style/WulkanowyTheme"
|
|
android:usesCleartextTraffic="true"
|
|
tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">
|
|
<activity
|
|
android:name=".ui.modules.splash.SplashActivity"
|
|
android:screenOrientation="portrait"
|
|
android:theme="@style/WulkanowyTheme.SplashScreen"
|
|
tools:ignore="LockedOrientationActivity">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".ui.modules.login.LoginActivity"
|
|
android:configChanges="orientation|screenSize"
|
|
android:label="@string/login_title"
|
|
android:theme="@style/WulkanowyTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".ui.modules.main.MainActivity"
|
|
android:configChanges="orientation|screenSize"
|
|
android:label="@string/main_title"
|
|
android:theme="@style/WulkanowyTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustPan" />
|
|
<activity
|
|
android:name=".ui.modules.message.send.SendMessageActivity"
|
|
android:configChanges="orientation|screenSize"
|
|
android:label="@string/send_message_title"
|
|
android:theme="@style/WulkanowyTheme.NoActionBar"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity
|
|
android:name=".ui.modules.timetablewidget.TimetableWidgetConfigureActivity"
|
|
android:excludeFromRecents="true"
|
|
android:noHistory="true"
|
|
android:theme="@style/WulkanowyTheme.WidgetAccountSwitcher">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".ui.modules.luckynumberwidget.LuckyNumberWidgetConfigureActivity"
|
|
android:excludeFromRecents="true"
|
|
android:noHistory="true"
|
|
android:theme="@style/WulkanowyTheme.WidgetAccountSwitcher">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".services.widgets.TimetableWidgetService"
|
|
android:permission="android.permission.BIND_REMOTEVIEWS" />
|
|
|
|
<receiver
|
|
android:name=".ui.modules.timetablewidget.TimetableWidgetProvider"
|
|
android:exported="true"
|
|
android:label="@string/timetable_title">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/provider_widget_timetable" />
|
|
</receiver>
|
|
<receiver
|
|
android:name=".ui.modules.luckynumberwidget.LuckyNumberWidgetProvider"
|
|
android:label="@string/lucky_number_title">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/provider_widget_lucky_number" />
|
|
</receiver>
|
|
|
|
<receiver android:name=".services.alarm.TimetableNotificationReceiver" />
|
|
|
|
<provider
|
|
android:name="androidx.work.impl.WorkManagerInitializer"
|
|
android:authorities="${applicationId}.workmanager-init"
|
|
android:exported="false"
|
|
tools:node="remove" />
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.fileprovider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/provider_paths" />
|
|
</provider>
|
|
|
|
<!-- workaround for https://github.com/firebase/firebase-android-sdk/issues/473 enabled:false -->
|
|
<!-- https://firebase.googleblog.com/2017/03/take-control-of-your-firebase-init-on.html -->
|
|
<provider
|
|
android:name="com.google.firebase.provider.FirebaseInitProvider"
|
|
android:authorities="${applicationId}.firebaseinitprovider"
|
|
android:enabled="${firebase_enabled}"
|
|
android:exported="false" />
|
|
|
|
<meta-data
|
|
android:name="firebase_analytics_collection_enabled"
|
|
android:value="${firebase_enabled}" />
|
|
|
|
<meta-data
|
|
android:name="google_analytics_adid_collection_enabled"
|
|
android:value="${firebase_enabled}" />
|
|
|
|
<meta-data
|
|
android:name="firebase_crashlytics_collection_enabled"
|
|
android:value="${firebase_enabled}" />
|
|
|
|
<meta-data
|
|
android:name="firebase_messaging_auto_init_enabled"
|
|
android:value="${firebase_enabled}" />
|
|
|
|
<meta-data
|
|
android:name="firebase_inapp_messaging_auto_data_collection_enabled"
|
|
android:value="${firebase_enabled}" />
|
|
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_icon"
|
|
android:resource="@drawable/ic_stat_push" />
|
|
|
|
<meta-data
|
|
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
|
android:value="push_channel" />
|
|
</application>
|
|
</manifest>
|