Our PWA is completely build using new Angular. We have implemented all optimizations such as tree shaking, uglify, AOT, service worker, etc. It works very well and behaves as the mobile app. If users add it to their home screen it's hard to tell difference.
We are running into few big limitations with PWA:
We looked into NativeScript and Ionic. Both provides an ability to develop Angular app but they all "seems" to designed around writing apps specifically for mobile (...or starting from scratch with them).
I might have missed something but what would be the best practise when we just want to put wrapper around our progressive web app so it can be installed as "hybrid" app. The app simply navigates to our public URL, it supports service workers and also allows us to access some native functions.
I understand I might be missing the point of PWA here but writing another "native" app is not really option for us.
What would be the best way to expose our progressive web as an app in Google Play Store or Apple App Store?
By publishing your PWA to the iOS App Store, you broaden your audience. Additionally, using our iOS platform, your PWA becomes a first-class citizen on iOS devices. Your app shows up on the user's homescreen without clunky Safari “Add to Home Screen” flows.
Open the menu next to the URL bar. Depending on whether you're using Chrome or Android you'll see a menu option "Install" or "Install App". This is the "Add to Home screen" option displayed for any site that has the necessary features in place.
A big advantage of PWAs is how easy they are to install, and the process continues to get simpler for the PWA-supporting web browsers such as Chrome and Edge. Apple is in a peculiar position when it comes to PWAs: You can install a PWA on macOS except in Safari; on iOS, you can install PWAs only in Safari.
A great place to get started with a Hosted Web App is PWABuilder.com. This tool can be used online or from the CLI. Part of it creates a service worker and stuff, but it also creates the Cordova projects for Android and iOS.
I have used PWABuilder just to create a starting point. Eventually combining the generated iOS and Android projects into one for iOS, Android and Windows. Because it is Cordova you can use plugins as well.
Update 2019
Now Google is open to PWA apps on Google Playstore,hence one could use tools like PWA2APK inorder to convert existing PWA's to Google Playstore ready Apps. The Android APK (PWApk) generated by the tool can be uploaded to Playstore.
This tool has been tweeted out by Alex Russel, one of the inventors of PWA.
https://twitter.com/slightlylate/status/1093681791297187840
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