# 通知のテスト

***

アプリ内の設定やユーザーフローに応じて、これをテストする方法はさまざまです。以下はその1つの例ですが、ユーザーが通知を受け取っていることを確認するために複数のシナリオをテストすることが重要です。

*スキルレベル: 中級*

## 開始前の準備

* テスト用にアプリ内に2つのユーザーを設定します。1人は送信者で、もう1人は受信者になります。
  * 通知は、別のデバイスにログインしている別のユーザーにのみトリガーできます。
    * *例: 通知をトリガーしたログインユーザーは、アプリ内でトリガーした通知を受信できません。*
* アプリ内で[通知許可のリクエスト](/ja/action-basics/notifications/request-notification-permission-in-your-app.md)が正しく設定されていることを確認します。
* テストの前にアプリの最新バージョンを公開します。
* テストするデバイスにアプリをインストールします。

### 通知のテスト

* 1つのデバイスで送信ユーザーと別のデバイスで受信ユーザーにログインします。
  * これを行う方法の1つは、送信者がデスクトップにログインし、受信者がモバイルデバイスにログインすることです。
* 通知を受信するユーザーが、デバイスにログインした後に通知許可を受け入れていることを確認します。
* 通知を送信者から受信者にトリガーします。
  * *例: デスクトップユーザーからモバイルユーザーに通知をトリガーします。*
* 受信ユーザーのデバイスで通知が受信されたことを確認します。

## ヘルプ

通知の設定に追加のヘルプが必要な場合は、いつでも[Troubleshooting Notifications](/ja/action-basics/notifications/troubleshooting-notifications.md)のドキュメントを参照するか、[コミュニティフォーラム](https://forum.adalo.com/)で質問してください！投稿にこの記事へのリンクを貼り付けることも忘れないでください！


---

# 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://help.adalo.com/ja/action-basics/notifications/testing-notifications.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.
