# Package Name

### **Step 1**

1. Open **Gradle Scripts → build.gradle (Module: app)**
2. Change the application ID with your own id name
3. Standard naming procedure : **com.yourdomainname.yourappname**
4. Click **Sync Now**.
5. Change the id as unique as possible, because application id is very important used if you want to publish the application to the google play.

{% hint style="info" %}
**Important :** your applicationId or package name must same with your package name that you’ve create on firebase console when you generate **google-services.json**
{% endhint %}

<div align="left"><img src="https://3466937862-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ll2TidqqejuF7I9qFn7%2F-Ll2_bNPKecgiz5-zNxP%2F-Ll2_nkwIIEp5UaYr4nv%2Fpackage1.jpg?alt=media&#x26;token=51c17f49-3312-4bc8-bef4-44c2d1bc7f14" alt=""></div>

### **Step 2**

1. Click once on your package and then click setting icon on Android Studio.
2. Close / Unselect **Compact Empty Middle Packages**
3. Right click your package and rename it.

![](https://3466937862-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ll2TidqqejuF7I9qFn7%2F-Ll2_bNPKecgiz5-zNxP%2F-Ll2_qsVjJcSyZVQtEKU%2Fpackage2.jpg?alt=media\&token=587380b3-2ba4-4069-863c-c41db17d3798)

### **Step 3**

If you use OneSignal for sending push notification, you must manually change the NotificationServiceExtension value in the **AndroidManifest.xml** according to your package name

```markup
<meta-data
    android:name="com.onesignal.NotificationServiceExtension"
    android:value="<your_package_name>.notification.NotificationServiceExtension" />
```
