# 인앱메시지

인앱 메시지는 푸시 알림과 달리 앱이 켜진 상태에서 동작하므로 유저를 덜 방해하면서 콘텐츠를 보여줄 수 있습니다. DFINERY의 인앱메시지는 이벤트 기반으로 동작하며 자동으로 표시됩니다.

{% tabs %}
{% tab title="Android" %}

### 인앱메시지 하드웨어 가속

[하드웨어 가속 향상](https://developer.android.com/topic/performance/hardware-accel)을 설정해야 콘솔에서 보이는 모습과 동일하게 표시할 수 있으며, 애니메이션을 부드럽게 동작시킬 수 있습니다.

#### Application 수준

`AndroidManifest.xml` 파일에서 다음 속성을 태그에 추가하고 전체 애플리케이션에 하드웨어 가속을 사용 설정합니다.

```xml
<application android:hardwareAccelerated="true">
```

#### Activity 수준

개별 Activity에 맞게 제어할 수도 있습니다. Activity 수준에서 하드웨어 가속을 사용 또는 중지하려면 요소의 `android:hardwareAccelerated` 속성을 사용할 수 있습니다.

```xml
<application>
    <activity  />
    <activity android:hardwareAccelerated="true" />
</application>
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dfinery.ai/developer-guide/platform/flutter/action/inappmessage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
