The package name of your Android app is the unique identifier that allows it to be identified on Google Play and on your phone.
The package name of your application must be different from all the applications installed on an Android phone.
The package name appears in the URL of your application on Google Play.
When you follow the Android submission process, a default package name is assigned. The default package name is: com.ApolloApps.projectname.
However, you have the option to change the default package name.
1. Replace the default package name
During the process of building your Android application (menu Publish > Publication > Android), go to Step 2 - Package Name, to edit the package name.
Be sure to respect the naming rules when modifying the package name. The package name must:
- have at least 2 parts, ideally 3. Example: "com.mydomain.myapp"
- start with a lower case letter for each part of the package name
- the authorized keys are letters, numbers, and _
Recommended format = suffix.domain.app (Example: com.company.app )
Once this modification has been made, continue to the submission process.
2. Change the package name of an application already published on Google Play
Attention: If your application is already published on Google Play, it is not recommended to change its package name.
However, you can still do it, but keep in mind that if you change the package name of an application that is already online, you cannot perform updates on the existing application. Changing the package name of an application that is already published will make it no longer possible to run the application that is already installed on your users' phones.
If you decide to change the package name regardless of this, you will have to restart the app publication process from the beginning—you will have to start from step 0 in the menu Publish > Publication > Android.
It's very important to pay attention to steps 5 and 6 of the process, because you will have to generate and enter the new API keys in your back office that correspond to your new package name.
Finally, once the application has been reconstructed with the new package name, you will have to re-publish it in Google Play, as if it were a new application.
Your users will have to download the new application from Google Play.