i would like to change default name of the installation package from default com.ionicframework.starter
to com.something.something
, how can i do it safely please? What i should to edit?
Thanks for any advice.
Change the id to whatever you wish your package to be and it will work for the entire project, Android and iOS. However, if you've already submitted to the app store with a package name, you cannot change the package name at this point.
Step 1: To rename package name in Android studio open your project in Android mode first as shown in the below image. Step 2: Now click on the setting gear icon and deselect Compact Middle Packages. Step 3: Now the packages folder is broken into parts as shown in the below image.
starter" by going to Edit > Find > Replace in Files … Then in Android Studio I searched for files with 'config' in them and looked for "io. ionic. starter" and replaced it there manually.
The developers choose Cordova because of its plugins, excellent community support, and the ability to use JavaScript for mobile development. In contrast, developers choose Ionic for its rapid prototyping, great designs, and hybrid mobile style.
You should make this change in the config.xml found at the root of your project. For example you might have something like this:
<widget id="com.ionicframework.exampleproject223738" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
Change the id to whatever you wish your package to be and it will work for the entire project, Android and iOS.
However, if you've already submitted to the app store with a package name, you cannot change the package name at this point. Not unless you want to submit a new project. Updates must be made with matching package names.
Regards,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With