Is it necessary to put foregroundServiceType - shortService in a Starter Service?
is necesary add SERVICE_TIMEOUT?
What value should be used for NotificationID?
B4X:
SetServiceAttribute(Starter, android:foregroundServiceType, shortService)
is necesary add SERVICE_TIMEOUT?
What value should be used for NotificationID?
B4X:
'This is only needed if you have declared the foreground service type to be shortService!
Private Sub Service_Timeout(Params As Map)
Service.StopForeground(NotificationId)
End Sub
Last edited: