feat(android): Create custom application class for notification channels

This commit is contained in:
cogwheel0
2025-12-01 11:51:56 +05:30
parent fa3c65cb25
commit ca0bd3caf3
3 changed files with 167 additions and 23 deletions

View File

@@ -31,9 +31,12 @@
</intent>
</queries>
<!-- Custom Application class creates notification channels at startup to prevent
ForegroundServiceDidNotStartInTimeException. This ensures channels exist before
any foreground service attempts to use them. -->
<application
android:label="Conduit"
android:name="${applicationName}"
android:name=".ConduitApplication"
android:icon="@mipmap/ic_launcher"
android:allowBackup="false"
android:fullBackupContent="false"