Eric Elliott
Jul 30, 2017 · 1 min read

Yes, I would wrap the PWA with Cordova if I needed native device capabilities not supplied by the target platform.

Cordova also has a polyfill for Service Worker on iOS, which is a better alternative than an App Cache fallback for iOS if you need native stuff anyway.

A new third alternative is React Native, but I have doubts about its ability to target all platforms with a single codebase, one of the two major benefits of a PWA.

Keep your Cordova layer thin — only stuff you can’t do with the PWA, and you’ll have a good universal JS experience.

Eric Elliott

Written by

Make some magic. #JavaScript