O
O
Oleg2021-07-07 23:02:47
Android
Oleg, 2021-07-07 23:02:47

Foreground service. How to properly handle the MY_PACKAGE_REPLACED intent?

A simple solution doesn't come to mind.
Catch through a receiver.
Submit to service.
Remove notifications.
Schedule a task in 10-30 seconds.
To complete.

After the task is triggered, raise it again.

Is there an easier way? Not to contact a sheduler?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question