I followed your advice, and now two things are happening: if I set www
in the Capacitor config, the app shows up, but it doesn’t recognize the plugin. If I set dist
, the plugin detects something, but the app doesn’t show up.
Here’s my Capacitor config:
json
Copiar código
{
"appId": "com.testCapacitor.app",
"appName": "app-nativa",
"webDir": "dist",
"bundledWebRuntime": false
}
However, if I remove the routes in the Vite config, the app doesn’t show up in the web version. I’ve tried setting the output path to ./dist
, ../dist
, and dist
, but all of them cause issues.