Ionic Angular 19 > Not working

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!

I have the same issue… Updated to Angular 19. Now even when I try and revert back to 18 still doesnt work. The app built in Android Studio after sync comes up on my phone saying "This app requires a WebView to work… :frowning:

1 Like

webDir: ‘www/browser’,

Hey, I did that. Hoever, it dosent work.

I have a similar issue after upgrading. IOS app will not load or run in xcode.
To reproduce:
Create a new ionic project, say angular with tabs
Add ios via capacitor
run cap build ios
Project will not load in xcode