diff --git a/app/build.gradle b/app/build.gradle index a0272058..718f4d98 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -18,12 +18,12 @@ android { minSdkVersion 21 targetSdkVersion 35 - versionCode 34 - versionName "1.17.1" + versionCode 35 + versionName "1.17.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - /* Required for Room schema migrations */ + /* Required for Room schema migrations */ javaCompileOptions { annotationProcessorOptions { arguments += ["room.schemaLocation": "$projectDir/schemas".toString()] diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d0c1a5e4..10c52034 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -94,6 +94,11 @@ android:exported="false"> + + + = Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { - startForeground(NOTIFICATION_SERVICE_ID, serviceNotification!!, ServiceInfo.FOREGROUND_SERVICE_TYPE_SPECIAL_USE) + startForeground(NOTIFICATION_SERVICE_ID, serviceNotification!!, ServiceInfo.FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING) } else { startForeground(NOTIFICATION_SERVICE_ID, serviceNotification) }