> For the complete documentation index, see [llms.txt](https://documentation.pushly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.pushly.com/pushly-ja/integration/implementation-steps/flutter.md).

# Flutter

{% hint style="info" %}
ネイティブアプリのPush連携は現在クローズドベータです。ベータパートナーになる方法については、アカウントマネージャーにお問い合わせください。
{% endhint %}

## ステップ1: 前提条件

### Androidの要件

すべてのアプリには、サブスクリプションを取得して通知を送信するためのFirebaseプロジェクトと一致する認証情報が必要です。以下のリンクからアプリ用のFirebaseプロジェクトを作成し、認証情報を当社プラットフォームに追加してください。

SDKをアプリに統合する前に、以下の要件を満たす必要があります:

* Google Play開発者サービスがインストールされた、API 19以上（Android 4.4）を実行しているAndroidデバイスまたはエミュレーター。
* 以下を使用するアプリ： [<mark style="color:青;">Jetpack（AndroidX）</mark>](https://developer.android.com/jetpack/androidx/migrate)
* Firebase Sender ID と Server API Key、またはサービスアカウント。まだお持ちでない場合は、以下に従ってください [<mark style="color:青;">ドキュメント</mark>](/pushly-ja/integration/implementation-steps/android/firebaseapuri.md) を参照して生成してください。
* SDKキー: Pushlyプラットフォームの `ドメイン設定` ページの `詳細` > `ドメイン情報` セクション内で取得します。

### iOSの要件

ユーザーの通知購読を開始するには、P8キー（推奨）またはP12証明書のいずれかが必要です。どちらもApple Developersポータルから生成できます。

* 1つの [<mark style="color:青;">Apple Developerアカウント</mark>](https://developer.apple.com/account/) 管理者権限を持つ
* アプリケーションのApp Bundle ID（例： `com.pushly.example`)
* Push Notifications機能が追加されたiOSアプリケーションまたはXcodeプロジェクト

上記に加えて、以下の要件を満たす必要があります:

* 開発およびテスト用のiOS 11以上のデバイス（iPhone、iPad、またはiPod touch）、または以下の要件を満たすシミュレーター [<mark style="color:青;">シミュレーターでのテスト</mark>](/pushly-ja/integration/implementation-steps/apple-ios/sdk-swift-obj-c.md#testing-on-a-simulator).
* Xcode 13以上がインストールされたMac OSデバイス。
* iOS P12 Push証明書またはP8キー。まだお持ちでない場合は、以下に従ってください [<mark style="color:青;">ドキュメント</mark>](/pushly-ja/integration/implementation-steps/apple-ios/p8kmatahap12no.md) を参照して生成してください。
* SDKキー: Pushlyプラットフォームの `ドメイン設定` ページの `詳細` > `ドメイン情報` セクション内で取得します。


---

# 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 dynamically by asking a question.

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

```
GET https://documentation.pushly.com/pushly-ja/integration/implementation-steps/flutter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
