> For the complete documentation index, see [llms.txt](https://docs.hackle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackle.io/development-guide/android/android-push-message-setup/android-push-message-customization.md).

# 푸시 아이콘과 채널 설정

## 푸시 메시지 아이콘 변경 <a href="#change-push-icon" id="change-push-icon"></a>

{% hint style="info" %}
Android SDK 2.57.0 버전 이상에서 지원하는 기능입니다.
{% endhint %}

핵클 푸시 메시지는 푸시 아이콘 변경을 지원합니다.\
`AndroidManifest.xml`에 미리 예약된 key에 리소스를 할당하면 앱 내 로컬 리소스를 이용해서 푸시 아이콘을 변경할 수 있습니다.

{% hint style="warning" %}
구글 정책으로 일반 안드로이드 스마트폰에서는 색상이 포함된 아이콘을 푸시 아이콘으로 설정할 수 없습니다.
{% endhint %}

{% hint style="info" %}
small\_icon, large\_icon, color에 대한 자세한 사항은 [안드로이드 푸시 디자인 가이드](https://developer.android.com/design/ui/mobile/guides/home-screen/notifications?hl=ko#notification-header) 에서 확인 가능합니다.
{% endhint %}

<table><thead><tr><th width="451.35546875">key</th><th>설명</th></tr></thead><tbody><tr><td><code>io_hackle_android_default_notification_small_icon</code></td><td>small icon을 설정합니다.</td></tr><tr><td><code>io_hackle_android_default_notification_large_icon</code></td><td>large icon을 설정합니다.</td></tr><tr><td><code>io_hackle_android_default_notification_color</code></td><td>small icon background 색상을 설정합니다.</td></tr></tbody></table>

### Example

```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
    <application
        android:name=".MainApplication"
        >
       ...
       <meta-data
            android:name="io_hackle_android_default_notification_small_icon"
            android:resource="@drawable/ic_push_small"/>

       <meta-data
            android:name="io_hackle_android_default_notification_large_icon"
            android:resource="@drawable/ic_push_large"/>

       <meta-data
            android:name="io_hackle_android_default_notification_color"
            android:resource="@color/pie" />
       ...
    </application>
</manifest>
```

### 대시보드에서 푸시 메시지 아이콘 수정 <a href="#edit-push-icon-in-dashboard" id="edit-push-icon-in-dashboard"></a>

대시보드에서 푸시 아이콘을 설정 한 경우 푸시의 large icon을 수정합니다.

* 로컬 리소스로 푸시 아이콘을 설정하고 대시보드에서도 푸시 아이콘을 송신 한 경우 대시보드에 설정 한 아이콘을 사용합니다.

## 푸시 채널 지원 <a href="#push-channel-support" id="push-channel-support"></a>

{% hint style="info" %}
Android SDK 2.58.0 버전 이상에서 지원하는 기능입니다.
{% endhint %}

핵클 푸시 메시지를 이용하면 앱 내 미리 선언한 채널로 푸시를 수신받을 수 있습니다.\
앱에 존재하지 않는 채널 ID로 푸시 수신 시 핵클에서 제공하는 기본 채널로 푸시를 수신받습니다.

{% hint style="info" %}
앱에 푸시 채널을 추가하는 방법은 [안드로이드 개발자 문서](https://developer.android.com/develop/ui/views/notifications/channels?hl=ko) 에서 확인 가능합니다.

만약 iOS와 같이 푸시 수신 시 알림 팝업을 띄우고 싶다면 푸시 채널의 중요도를 `IMPORTANCE_HIGH`로 설정해주세요.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hackle.io/development-guide/android/android-push-message-setup/android-push-message-customization.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
