> 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/react-native-expopuraguin.md).

# React Native Expoプラグイン

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

### Android要件

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

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

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

{% hint style="warning" %}
**Androidビルドツールチェーン（React Native SDK 1.7+）**

同梱されているネイティブAndroid SDKは `androidx.core` 1.17に依存しており、Kotlin 2.2のメタデータを含むため、利用側プロジェクトは一致するツールチェーンでビルドする必要があります:

* Kotlin 2.2以上
* Android Gradle Plugin 8.9.1以上
* `compileSdk` 36
* `minSdk` 24
* JDK 17〜21

Expo SDKのAndroidデフォルト値がこれらより低い場合は、次を使用して引き上げてください [<mark style="color:青;">expo-build-properties</mark>](https://docs.expo.dev/versions/latest/sdk/build-properties/).
{% endhint %}

### 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 15.1以上のデバイス（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 15.1以上がインストールされた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 by asking a question.

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

```
GET https://documentation.pushly.com/pushly-ja/integration/implementation-steps/react-native-expopuraguin.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.
