# Package Name ( app id )

The package name of an Android app uniquely identifies your app on the device Play Store.

### **Step 1 - Application ID**

1. Open **Gradle Scripts → app/build.gradle**
2. Change the application ID with your own id name
3. Standard naming procedure : **`com.company.appname`**
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** must will use to generate google-services.json on firebase console configuration
{% endhint %}

<figure><img src="https://1754850590-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR01z1bkknOgnMgqZM3kZ%2Fuploads%2FkaQFIwx9IxRX30K3lPPc%2Fimage.png?alt=media&#x26;token=5a32bf48-a737-4444-9140-305fdb91d2b2" alt=""><figcaption></figcaption></figure>

### **Step 2 - Package Name (Optional)**

This step is optional, because unique id for app identifier already configure at Step 1 above, you can go without change package folder name, but if you want to change id here the step

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.

<figure><img src="https://1754850590-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR01z1bkknOgnMgqZM3kZ%2Fuploads%2FXoZCNMyxGEarADRSwl2R%2Fimage.png?alt=media&#x26;token=ae1bdb4c-f018-4ccf-b4cb-7b1c0728a743" alt=""><figcaption></figcaption></figure>

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

{% code title="AndroidManifest.xml" %}

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

{% endcode %}

<figure><img src="https://1754850590-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR01z1bkknOgnMgqZM3kZ%2Fuploads%2FpnDriD574R07sKJJ8KDc%2Fimage.png?alt=media&#x26;token=c2b5843b-12db-40e0-bb3c-bc5b6232e3fb" alt=""><figcaption></figcaption></figure>
