App bundle id does not get changed when run cordova

My svelte App has cordova added,
in config.xml
<widget id="io.framework7.myapp" is set by default

I changed app id in app.js as below and I ran npm run build-prod-cordova, but this does not seem to be working, widget id is still "io.framework7.myapp" in config.xml
So can someone help me how do I use the id param in app.js

// Mount Svelte App
const app = new App({
  target: document.getElementById('app'),
  id: 'com.devstudio.pricelist',
});

You change it in config.xml as well

1 Like