Commit 5a7fc06
Fix: Add onTimeout handler to android ForegroundService.kt
Might fix this:
RemoteServiceException$ForegroundServiceDidNotStopInTimeException
A foreground service of type dataSync did not stop within its timeout: ComponentInfo{com.example.myapp/com.pravera.flutter_foreground_task.service.ForegroundService}1 parent 67da414 commit 5a7fc06
File tree
1 file changed
+5
-0
lines changed- android/src/main/kotlin/com/pravera/flutter_foreground_task/service
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
| |||
0 commit comments