DEV Community

kisimedia.de
kisimedia.de

Posted on

How to Use iOS Live Activities in Capacitor Apps

📲 Ever tried using iOS Live Activities in a Capacitor app?

Spoiler: It’s not fun.

There’s no built-in Capacitor support, no official plugin, and you can’t call ActivityKit from JavaScript.

In my app EggTimer, I wanted to trigger a Live Activity from JS when a countdown starts.

I didn’t want to rewrite the whole app in Swift — so I built a plugin.

👉 In this Medium article, I explain:

  • Why Live Activities are tricky for web devs
  • How I built a Capacitor plugin (capacitor-live-activity) to solve it
  • What setup you still need to do in Xcode
  • How the JS API looks and works
  • A full working demo app (included)

🔗 Read the full article here:


If you're building with Capacitor and want to try native features like Live Activities — this is for you.

Would love your feedback, questions or ideas 🙌

Plugin is open-source on GitHub: kisimediaDE/capacitor-live-activity

Top comments (1)