-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foreground service types are required on targetSdk
34
#1421
Comments
same issue |
We might migrate to WorkManager. |
targetSdk
34
same issue |
<application>
<service android:name="com.liulishuo.filedownloader.services.FileDownloadService$SharedMainProcessService"
android:foregroundServiceType="shortService"
tools:node="replace"/>
<service
android:name="com.liulishuo.filedownloader.services.FileDownloadService$SeparateProcessService"
android:process=":filedownloader"
android:foregroundServiceType="shortService"
tools:node="replace"/>
</application> or you can try out my fork, see: |
same error check with both library change and manifest deceleration @Goooler
|
Try 1.7.9 |
请看这个 https://issuetracker.google.com/issues/307329994?pli=1 |
Invoke
Service.startForeground
on targetSdk 34 platforms, need to declared the service type, see https://developer.android.com/about/versions/14/changes/fgs-types-requiredThe text was updated successfully, but these errors were encountered: