occasionally, I get a crash report with the following text
I actually have a foreground service of type dataSync where I've put the following code
where 99 is the id used for StartForegound, but still getting the crash.
This exception is not even caught by the Application_Error sub in the Starter service.
Is there a way to trap it?
B4X:
android.app.RemoteServiceException$ForegroundServiceDidNotStopInTimeException: A foreground service of type dataSync did not stop within its timeout:
I actually have a foreground service of type dataSync where I've put the following code
B4X:
Private Sub Service_Timeout(Params As Map)
Service.StopForeground(99)
End Sub
where 99 is the id used for StartForegound, but still getting the crash.
This exception is not even caught by the Application_Error sub in the Starter service.
Is there a way to trap it?