Closed ArielAleksandrus closed 1 year ago
Surrounding that line of code with a try/catch has successfully prevented my app from crashing with no other unexpected behaviour. Seems that it can cause a RuntimeException, so it's better to surround it with try/catch. @DavidBriglio do you think we can update the project?
I have merged this in, thank you for taking the time to contribute!
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior A foreground service started
Smartphone (please complete the following information):
Additional context I managed to fix the problem by using a try/catch
ForegroundService.java:34