I have set up a Work Manager to send a notification on my device. Currently notifications are shown only when my app is started. How would i achieve getting those notifications while application is not created?
Asked
Active
Viewed 204 times
1 Answers
1
You need to use a service to run your application in background. And you need to edit your Manifest to auto-launch it at startup.
Have a look at this other Stack Overflow post for a complete example.
Also I suggest you read these restrictions about starting activities from the background.

Zekovski
- 301
- 1
- 10
-
You're welcome. If you feel satisfied with the answer, please consider accepting it. Thank you. – Zekovski Apr 26 '21 at 14:08