What is the right process to follow when it’s time to set the final value of our app’s package ID? What are all the places where it needs to be changed under the already-existing “ios” and “android” folders in our Ionic app’s folder hierarchy? We’re at the point where we’re going to start uploading builds to the Apple / Google portals, so this needs to be “right.”
I’ve read these documents multiple times:
- Android App Development Guide: Build Ionic Apps in Android Studio
- Building And Releasing Your Capacitor Android App - Ionic Blog
There’s very little in them about how to manage the “package ID” (a.k.a. bundle ID or application ID). There’s an implication that if I change the value in capacitor.config.json that it will make all the required changes for iOS and Android the next time I run “ionic capacitor sync”. But that doesn’t seem to be happening. For android, build.gradle and AndroidManifest.xml still have the default “io.ionic.starter” value.
Is this something that has to be managed manually once the initial “ionic capacitor copy” commands have been run? Or perhaps there’s someplace that explains the difference between “ionic capacitor copy” and “ionic capacitor sync” (the latter is what we’ve been using). (I’ve run each and don’t see differences in their effects.)
The apparent lack of documentation on something so fundamental to how mobile apps exist within the vendor portals / stores is surprising and frustrating.
Thanks.