I want to use Coroutine worker with with hilt dependency injection.
Worker is running if constructor has only two parameters. context and workerParams;
When I add another dependency it is throwing an exception.
Below my code:
App:
Worker:
After a bit research, I find an answer. I should add the dependency
After adding that dependency. The worker is running fine