Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular6/MD PWA vs Ionic 3 + Angular 6 PWA

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?

like image 442
Taranjit Kang Avatar asked Jul 27 '18 14:07

Taranjit Kang


People also ask

Is ionic good for PWA?

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.

Is ionic hybrid or PWA?

As the definition goes – Ionic is an absolute open-source (100% free) SDK for hybrid mobile app development.

What is the difference between React native and ionic?

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.

What is Angular PWA?

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.


1 Answers

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.

like image 98
David Avatar answered Oct 19 '22 02:10

David