Web view in Capacitor? #6779
-
I have a web app made with Nuxt.js and would like to build a native app (ios/android) from the same codebase as the web app. I tried Capacitor and successfully made native app builds for ios/android. But the problem is that on every single change, I have to build the whole app again, republish app and process verification procedure through app stores. And another issue is backend/client side compatibilities, for example someone who hasn’t updated app might receive incompatible front-end responses etc. I once used web view embedding the whole website within the native app, which helps integrate web-based functionalities and access native features. This way I didn't have to go through all hustle of releasing the app again. And there can't be backend/frontend incompatibility. Is there such a web view provided in Capacitor? Or any workaround using Capacitor? Cordova has a web view plugin but I can't find one for Capacitor. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Capactor is referred as a And Capacitor has live update service called |
Beta Was this translation helpful? Give feedback.
Capactor is referred as a
bridge
between web technologies (HTML, CSS, JavaScript) and native mobile platform and it uses webview (which is full-screen browser) for rendering web contents. So trying to use another web view (which loads website using its URL) in Capacitor doesn't make sense.And Capacitor has live update service called
Appflow
that can always fetch the latest web code bundle. If you're just making changes to the web assets,Appflow
can automate web deployments over-the-air to the users without needing to publish through the app stores.