Continue to run app even after swipping off the app (Android)

Using Capacitor, was wondering if you can continue to run the app even after you have swipped off the app, think about timer app, they continue to run even if you have swiped off the app. I want something similar, is this possible?

Sounds like you need to use a Foreground service. You can interact with it via Capacitor - Custom Native Android Code | Capacitor Documentation.

This looks like its suggesting to create your own plugin and use interactive native android code.

before I try this method, has anyone designed such a plugin?

Are you asking has anyone created a timer app or a plugin that uses an Android foreground service? If a foreground service, I created one for audio over here. It is a little more complicated than what you would need for a timer though :slight_smile: