Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230059

This app requires a webview to work

$
0
0

Hey, how are you?

I noticed that Ionic Angular 19 is not working. What I found is that when the www folder is created, it has a different architecture:

WWW

  • prerendered-routes.json
  • Browser Folder: (Assets, Audio, Icons, etc).

The problem is that Capacitor doesn’t work with this structure. I tried updating the Capacitor config, and it works, but then the mobile phone or the emulator gives us an error: “WebView is required.” However, the app, using the www structure created by Angular 18, works.

const config: CapacitorConfig = {
appId: ‘com.example.app’,
appName: ‘IonicAngularTest’,
webDir: ‘www/browser’
};

Does anyone know how I can avoid the new www folder structure in Angular 19?
Thank you guys!


Viewing all articles
Browse latest Browse all 230059

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>