fix: foreground service start crashes

Attempt to fix startForegrounService causing crashes on some devices by not meeting the 5 second notification rule. Add notification to onCreate of services.

Limit startForeground to only be called where it is truly necessary in the TileService to allow starting the VPN while app is not running.

Attempt to manually initialize mlkit for QR code scanning to remediate some crashes caused by config scanning.
This commit is contained in:
Zane Schepke
2023-09-10 00:22:36 -04:00
parent c1b560e822
commit 64bb9f3b82
10 changed files with 61 additions and 20 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ android {
val versionMajor = 2
val versionMinor = 4
val versionPatch = 2
val versionPatch = 3
val versionBuild = 0
defaultConfig {