Hey looking for some insight,
So I've never used Ionic before and was trying to give myself a reason to use it. However, from what I've been reading -- depending on the usecase of the project, one may be more suitable than the other. I am trying to build an application that doesn't use alot of native features. Thus, I am wondering if Angular6/MD + PWA would be a better approach, and will I still be able to use things such as camera, and geolocation without ionic? Would I have to use something like cordova if I go the angular6/MD route?
I'm assuming use ionic if I want to publish apps on the app store etc and tap into more native features?
Because Ionic Apps are built with web technologies, they can run just as well as a Progressive Web App as they can a native app.
As the definition goes – Ionic is an absolute open-source (100% free) SDK for hybrid mobile app development.
Ionic React is web-first, meaning that it implements native iOS and Android UI patterns using cross-platform, standards-based web technology instead of accessing platform UI controls directly. In contrast, React Native provides an abstraction through React that controls platform UI controls directly.
Adding a service worker to an Angular application is one of the steps for turning an application into a Progressive Web App (also known as a PWA). At its simplest, a service worker is a script that runs in the web browser and manages caching for an application. Service workers function as a network proxy.
It depends on what you want to achieve.
It looks like PWAs are becoming more and more popular, but they still have some restrictions. For instance, you cannot use geolocation if your PWA app is in the background, and you cannot use local notifications (AFAIK) if you app is in the background as well. If these scenarios are requirements in your project, you probably have to use cordova hybrid app.
You also have limitations on storage when using PWAs. Besides, on iOS PWA support is quite recent and there are still some bugs/unimplemented features
If you want to quickly check what your device can do using only pwa, have a look at this website (using your device's browser)
http://whatwebcando.today
If you choose to go with PWAs and you don't need your app to look like a native app, then using ionic might not provide such a great benefit to you.
On a side note, as indicated here, you can submit PWAs through app/play stores.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With