u/DayanaJabif

AMA - What would you like to know/understand about building mobile apps with Capacitor?
▲ 22 r/ionic+2 crossposts

AMA - What would you like to know/understand about building mobile apps with Capacitor?

Been using Capacitor and Ionic since the early days, built and shipped multiple production apps with it. Ionic Developer Expert. Currently working as a Developer Advocate at Capawesome.
Ask me anything about building, shipping, plugins, app store releases, OTA updates, native integrations, etc.

u/DayanaJabif — 3 days ago

AI agents and Capacitor: how to actually make them work together (not just for web layers)

I've been experimenting with AI agents in Capacitor projects and ran into this wall: the agent is great for the web layer but produces confidently wrong output the moment you touch anything native, wrong Gradle config, outdated iOS entitlement steps, invented CLI flags.

After some trial and error, the setup that actually works for me requires two things:

1. Domain-specific knowledge, not just a general model
General-purpose agents don't have reliable up-to-date context for Capacitor's native side. The pattern that helped me was using agent skills, structured procedural files (following the agentskills.io spec) that you load into your agent runtime. They're model-agnostic, so they work with Claude Code, Cursor, Windsurf, Copilot, etc. The idea is the agent follows a verified, step-by-step procedure instead of guessing.

2. A way to actually execute native tasks
Knowing the steps isn't enough, the agent also needs to be able to run iOS builds, handle signing, and push updates. Without execution capability, it's just suggestions.

Some concrete things this unlocks:

  • Correct plugin installation on both platforms (entitlements, manifests, Info.plist) without manual review
  • iOS builds from Windows/Linux — useful if your team doesn't have everyone on Mac
  • Debugging iOS build failures by iterating on local working tree without committing to git
  • Pushing web-layer hotfixes directly to devices without App Store review cycles (OTA updates)
  • CocoaPods → Swift Package Manager migration as a guided conversation instead of a half-day manual process

The part I found most interesting: the agent never touches credentials directly. Signing certs stay encrypted and the agent references them by name. That makes it viable to give an agent build/deploy tasks without opening up your machine or CI with broad permissions.

Has anyone else found patterns for making agents more reliable on the native side? Curious what's working for other Capacitor devs.

reddit.com
u/DayanaJabif — 12 days ago
▲ 20 r/ionic+1 crossposts

Handling OAuth in Mobile Apps the Correct Way

If you’re building a Capacitor app and need enterprise authentication or SSO, this tutorial is for you.

Learn how to integrate OAuth 2.0 / OpenID Connect using the OAuth plugin.

Using auth0 for the demo, but the flow is very similar for other providers.

I also published a demo app so you can explore the integration code directly: https://github.com/capawesome-team/capacitor-oauth-demo

Let me know your feedback and if you have any questions 🙌🏽

youtube.com
u/DayanaJabif — 16 days ago
▲ 15 r/ionic+2 crossposts

Hey everyone 👋

As you may know, I work as a DevRel at Capawesome, and a big part of my job is building demo apps to help developers understand how to use Capacitor plugins to create great mobile experiences.

Since Capacitor is framework-agnostic, every time I start a new demo app I run into the same question:
Should I build it with a framework (Angular/React/Vue/etc.) or keep it vanilla JS?

In my experience, using a framework makes the project easier to structure and follow. At the same time, I worry that choosing a specific framework might discourage people who don’t use it from even checking out the demo—even though the plugin integration itself is framework-agnostic.

So I’d really love your input:

  • What do you prefer for demo apps?
  • Do you actually use demo apps when evaluating tools?
  • What makes a demo app truly useful for you?

Thanks a lot, I really appreciate any feedback 🙌

reddit.com
u/DayanaJabif — 17 days ago
▲ 11 r/ionic+2 crossposts

The other day I helped a dev set up share target capabilities in their Ionic + Capacitor app using the Capawesome Share Target plugin.

That made me realize the setup can be a bit tricky, especially because of the native configuration, so I decided to record a step-by-step video showing the full installation and setup process in case it helps other devs.

👉 Video: https://youtu.be/a64fF_q69po

I also built a small demo app to show how it works in practice: receiving content from other apps, like links, text, images, or files.

It opens up some really nice use cases, like:

  • saving links from the browser or social apps
  • collecting images/files inside your app
  • building a “things I like” tracker

What kind of use cases would you build with this capability?
Are you using it on your apps?

u/DayanaJabif — 23 days ago
▲ 12 r/ionic+3 crossposts

Hey, after the feedback from my previous post, I put together a tutorial showing how you can take a regular Angular web app and turn it into a real mobile app (iOS + Android) using Capacitor + Firebase.

The idea is not to build something complex, but to show a clean, realistic setup you can actually reuse in a real project.

It covers things like:

  • Wrapping an existing Angular app with Capacitor
  • Running it on iOS and Android
  • Generate icons and splash screen
  • Setting up Firebase (web + native)
  • Using Capacitor Firebase plugins (storage, firestore)

👉 Tutorial

👉 Repo with the full working example

The repo is a simple Ionic + Angular app using Capacitor and Firebase plugins so you can clone it and play with it directly.

If there’s interest, I’d love to keep evolving this repo into a solid starter for anyone building mobile apps with Angular.

A few ideas I have in mind: adding authentication (social, email, biometrics), a simple onboarding flow, or features like sharing a trip and inviting others to collaborate on expenses. But I’m definitely open to suggestions.

Curious how you’d approach it or what you’d like to see added 🙏🏻

u/DayanaJabif — 26 days ago
▲ 8 r/ionic+1 crossposts

If you're building a Capacitor app and need a solid way to handle local data, I put together a practical SQLite tutorial.

SQLite gives you a much more robust alternative to things like localStorage or IndexedDB:

  • Structured queries, filtering, and relationships
  • Fast and predictable performance
  • Transactions for data consistency
  • Same API across iOS, Android, and Web

In the video I focus on the fundamentals with a simple demo:

  • CRUD operations
  • Transactions (how to use them properly)
  • Structuring your data layer in a Capacitor app

I also included free starter apps so you don’t have to start from scratch:

🎥 Full tutorial:
https://www.youtube.com/watch?v=JJg2r1UIxlk

⚡ Demo app screencast:
https://www.youtube.com/shorts/fL4NMJTvMlw

Would love feedback or to hear how you’re handling local data in your apps 🙌

The project uses capacitor-sqlite plugin which is only available to Capawesome Insiders.

u/DayanaJabif — 29 days ago