79797284

Date: 2025-10-22 23:09:58
Score: 0.5
Natty:
Report link

If you're using WorkManager, you may also need to specifically add the Foreground Service Type to the third parameter of the ForegroundInfo method:

ForegroundInfo(INSERT NOTIFICATION ID HERE, INSERT NOTIFICATION OBJECT HERE, ServiceInfo.FOREGROUND_SERVICE_TYPE_LOCATION)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user16118981