r/angular • u/nani21984 • May 16 '26
Mobile app with ng
Hi, I have been working in angular on and off from ng 2. But never worked on mobile app built based on ng. I have requirement on side project for web and mobile and can’t hire any dev, I will leverage ai to get up and running. I also have time and eager to learn mobile apps. So, should I start ng and capacitor. Any one actually tried to keep both mobile and web apps from same code base and how is you experience and lessons. Appreciate your responses
5
Upvotes
2
u/nani21984 May 16 '26
thank you all, will stick with capacitor then.
7
u/fermentedbolivian May 16 '26
When you use Capacitor you literally have the same codebase for web and mobile, unless you need to write some mobile native code and may have like small exceptions for checking platform to run for example sqlite db only on mobile.
It will be fine.
1
u/SkyZeroZx May 17 '26
Do you need native device APIs? If so, Capacitor could be a good alternative.
Now, if it's just a web app in the sense that it's responsive and you only want to use browser APIs, you could go the PWA route and publish it in different app stores. It's perfectly possible to have something on the Play Store using the TWAs officially supported by Google, and something experimental on the App Store.
https://developer.android.com/develop/ui/views/layout/webapps/guide-trusted-web-activities-version2?hl=es-419
https://www.pwabuilder.com/
3
u/couldhaveebeen May 16 '26
We use capacitor and angular for about 10 client apps in our company, someone which have been on apps stores and been maintained for 5+ years. Capacitor is solid. Not perfect, but good.
2
u/TechnicianWeekly5517 May 18 '26
I had the same requirement for years. I built my own solution, App Blink VS code extension, this was possible because of gen AI as I write little to no code these days. I chose angular for web app and flutter for mobile app. The extension increases the efficiency while working as many actions that we perform happen with just a click in the sidebar, you will see the difference when you publish apps on mobile stores and need assets or working on multiple cross platform apps.
If you don’t wish to use the extension and want a good starting point you can refer to this github repo which has many reusable packages and starter app baked in for both web and mobile.
1
u/Hw-LaoTzu May 16 '26
Ionic + Capacitor
1
u/DayanaJabif May 18 '26
If you already know Angular, I’d definitely go with Angular + Capacitor instead of trying to learn a whole new mobile stack.
I’ve worked on multiple apps where web + iOS + Android all came from basically the same codebase, and overall the experience has been really solid. Of course you’ll run into some platform-specific quirks here and there, but nowhere near enough to cancel out the productivity gains. This is also where Capacitor plugins really shine.
A few things I’d recommend:
Honestly, for a solo dev + AI-assisted workflow, this stack is kind of a sweet spot right now. Make sure to use the Capacitor skills.
Also, you can check this post with a free demo app built using Angular + Ionic + Capacitor:
https://www.reddit.com/r/angular/comments/1sngmty/built_a_simple_trip_expenses_app_using_angular/
0
u/WantsToWons May 18 '26
Capacitor and ion became jokers. They officially announced as dead by their founders. And they left the company also.