wulkanowy-mod/app/src/main/AndroidManifest.xml

199 lines
8.6 KiB
XML
Raw Normal View History

2017-03-09 21:29:23 +01:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2018-10-23 17:12:57 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="internalOnly">
2017-03-09 21:29:23 +01:00
2017-04-04 20:37:12 +02:00
<uses-permission android:name="android.permission.INTERNET" />
2017-09-10 12:50:28 +02:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
2021-04-03 11:56:07 +02:00
<uses-permission android:name="android.permission.WAKE_LOCK" />
2017-09-10 12:50:28 +02:00
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2018-11-03 15:21:29 +01:00
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
2017-04-04 20:37:12 +02:00
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="http" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
2021-01-31 17:12:38 +01:00
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="mailto" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="tel" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="geo" />
</intent>
</queries>
2017-03-09 21:29:23 +01:00
<application
2018-01-02 21:55:58 +01:00
android:name=".WulkanowyApp"
2018-05-07 17:44:28 +02:00
android:allowBackup="false"
android:dataExtractionRules="@xml/data_extraction_rules"
android:enableOnBackInvokedCallback="true"
2017-03-09 21:29:23 +01:00
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
2018-10-20 20:59:46 +02:00
android:supportsRtl="false"
2018-09-24 15:21:47 +02:00
android:theme="@style/WulkanowyTheme"
android:resizeableActivity="true"
tools:ignore="DataExtractionRules,UnusedAttribute">
<activity
2018-10-23 17:12:57 +02:00
android:name=".ui.modules.splash.SplashActivity"
2021-09-27 20:58:25 +02:00
android:exported="true"
2018-10-03 21:28:23 +02:00
android:screenOrientation="portrait"
2020-04-02 22:43:03 +02:00
android:theme="@style/WulkanowyTheme.SplashScreen"
tools:ignore="LockedOrientationActivity">
2017-03-09 21:29:23 +01:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2017-04-04 12:37:26 +02:00
<activity
android:name=".ui.modules.login.LoginActivity"
2017-07-22 17:19:10 +02:00
android:configChanges="orientation|screenSize"
2018-08-26 00:18:31 +02:00
android:label="@string/login_title"
android:theme="@style/WulkanowyTheme.Login"
2017-07-22 17:19:10 +02:00
android:windowSoftInputMode="adjustResize" />
2017-04-29 15:27:38 +02:00
<activity
android:name=".ui.modules.main.MainActivity"
2017-09-10 12:50:28 +02:00
android:configChanges="orientation|screenSize"
2018-08-26 00:18:31 +02:00
android:label="@string/main_title"
2020-05-20 14:12:32 +02:00
android:theme="@style/WulkanowyTheme.NoActionBar"
android:windowSoftInputMode="adjustPan" />
2019-03-17 21:02:41 +01:00
<activity
android:name=".ui.modules.message.send.SendMessageActivity"
android:configChanges="orientation|screenSize"
android:label="@string/send_message_title"
android:theme="@style/WulkanowyTheme.NoActionBar"
2020-02-22 21:24:06 +01:00
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".ui.modules.timetablewidget.TimetableWidgetConfigureActivity"
android:excludeFromRecents="true"
2021-09-27 20:58:25 +02:00
android:exported="true"
android:noHistory="true"
2019-04-29 14:33:33 +02:00
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"
2021-09-27 20:58:25 +02:00
android:exported="true"
android:noHistory="true"
2019-04-29 14:33:33 +02:00
android:theme="@style/WulkanowyTheme.WidgetAccountSwitcher">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
2017-12-27 21:49:09 +01:00
2018-11-02 17:38:20 +01:00
<service
android:name=".services.widgets.TimetableWidgetService"
android:permission="android.permission.BIND_REMOTEVIEWS" />
2021-09-25 14:02:38 +02:00
<service
android:name=".services.piggyback.VulcanNotificationListenerService"
2021-09-27 20:58:25 +02:00
android:exported="true"
2021-09-25 14:02:38 +02:00
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
2021-09-27 20:58:25 +02:00
<service
android:name=".services.messaging.AppMessagingService"
android:exported="false"
tools:ignore="MissingClass">
2021-09-27 20:58:25 +02:00
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
2018-11-02 17:38:20 +01:00
<receiver
android:name=".ui.modules.timetablewidget.TimetableWidgetProvider"
android:exported="true"
2018-11-02 17:38:20 +01:00
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>
2019-04-29 14:33:33 +02:00
<receiver
android:name=".ui.modules.luckynumberwidget.LuckyNumberWidgetProvider"
2021-09-27 20:58:25 +02:00
android:exported="true"
2019-04-29 14:33:33 +02:00
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.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
tools:node="remove" />
2020-02-22 21:24:06 +01:00
<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"
tools:ignore="MissingClass" />
2018-12-18 16:12:15 +01:00
<meta-data
android:name="install_channel"
android:value="${install_channel}" />
<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}" />
2018-01-11 21:57:41 +01:00
<meta-data
2018-12-14 00:20:54 +01:00
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}" />
2020-04-02 22:43:03 +02:00
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_stat_all" />
2020-04-02 22:43:03 +02:00
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="push_channel" />
2021-10-21 10:51:00 +02:00
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="${admob_project_id}" />
<meta-data
android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT"
android:value="true" />
2017-03-09 21:29:23 +01:00
</application>
</manifest>