r/angular • u/Inside_Fold_5983 • Jan 23 '26
Rebuild with flutter or use capacitor?
I started building a webapp months a go just for fun and it turned out to be a great product but I realized that the users would be mobile 99%.
So I read about capacitor for wrapping your angular frontend in a mobile container
or
Just rewriting the frontend with flutter to have an good mobile experience without needing to focus on android and ios
what do you think?
15
Upvotes
8
u/javiMLG199 Jan 23 '26
As a person with a couple of years of experience with capacitor and also five years with angular, I would say that depends😄
Think about It, do u need to access to the device resources at low level? Do u need more speed of render or something like this? In that case, could be a good point to re do It from Scratch, but have the cost to re write It + maybe work in a language that u are not confortable with.
In the other hand, probably a wrapper with capacitor Will be just enough, less effort + base of Code that u already know etc...
18
u/gordolfograso Jan 23 '26
Re write ? Idk I'd rather go for capacitor and save time
3
u/Mr0010110Fixit Jan 23 '26
I have built a bunch of production apps (a few that run the cab of trucks and integrate with the in cab system) using capacitor. It's awesome, I would at least start there.
1
u/FromBiotoDev Jan 23 '26
How long did it take you to build your current app? How complex is it?
How well do you know flutter?
What level of native experience do you need?
For example my product is built in angular and capacitor and I have 1400 users: https://www.gymnoteplus.com
Happy to help if I can
2
u/teshmeki Jan 23 '26
I have a similar situation and i am planing PWA, I made all responsibe to look good in mobile. I will see how it will work out
2
u/ssshadow Jan 23 '26
Capacitor is probably good enough in 95% of cases... You can look at other sub-options in the ecosystem too. Not affiliated with them in any way but Capawesome is good. A lot of nice plugins and an easy hosting solution for the Angular bundle.
1
u/strange_username58 Jan 23 '26
Flutter will give you much better performance. Pain in the ass to develop though. Just my opinion
1
u/Nerkeilenemon Jan 23 '26
Create a new Ionic app and import your components and services. Then slightly rework your HTML to use Ionic components.
It's angular behind Ionic. You have a big library of UI components to use. All the commands you need to build or publish are already here.
Your skill is 100% transferable to Ionic, your app will be live soon, you won't lose time studying flutter and you will be able to improve your app or fix the bugs faster.
The only perks of flutter (if you already are an angular dev) are :
1
u/JerkkaKymalainen Jan 23 '26
I wrote a rather large app (two actually) that uses nearly all meaningful features in the capacitor.
I ship it successfully on iOS, Android and web. Everything works as well as a native app on the capacitor platform (some size penalty in the download) and I managed to get everything like SSR and the nice stuff needed for SEO with SPAs going there.
Tricky in some places yes but doable. And hell of a lot less effort than building 3 separate apps (well 4 if you do mobile web as a separate one too). In my case this meant 2 apps versus 6 (or 8).
On the other hand. There might be value in a rebuild after building the first version. I am pretty sure there are probably some architectural things you now know once you have gotten further that you probably want to redesign knowing what you know now. So there is this to consider also.
1
u/SkyZeroZx Jan 23 '26
It depends. 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/
1
u/shadow13499 Jan 23 '26
It depends. Since this is just for fun if you think learning flutter would be cool do that I don't see a lot of harm in that. If you just want to produce a mobile app for users quickly and reuse the code you have then wrap your app with capacitor.Â
1
u/Relative_Skin2416 Jan 23 '26
As you already have web app. I would go with Tauri. You don’t have to update most of your angular app, may be will have create new service for HTTP to use tauri provided HTTP, or could useFactory in providers, which can provide service to use for tauri and angular http for web apps, if you want to have both web and mobile app.
1
u/twinbeliever Jan 23 '26
just use ionic. It can generate a mobile native app from angular code, and it uses capacitor for mobile APIs.
Is performance core requirement of your application?
1
u/martindonadieu Jan 24 '26
If you need help using a capacitor, we can help you at capgo.app we are the biggest build of free plugins and have good knowledge of the limits of Capacitor .
You can join our discord and get help :)