Is it possible to have a separate app identifier (app ID) for Android vs iOS?

Hi everyone,

We’ve recently rewritten our mobile app, and are using Capacitor.

We want to replace our old app on the App Store and Google Play Store. The problem is that the identifiers for both of our old apps are slightly different.

As far as I can tell, Capacitor only lets me keep one AppId in the config file

Changing the package name in the AndroidManifest does not seem to work.

Is this even possible to do?

Of course it is. For example you can use Ionic’s newest Project Trapeze :blush:

1 Like

The app id is only used on npx cap add command, so you can set the id to the android id, run npx cap add android, then change it to the iOS id and run npx cap add ios.

Also, you can change the values from the native projects at any time, because, as I said, it’s only used on npx cap add command and once you add a platform it’s not updated in the native project.