> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# React Native SDK の統合

> MoEngage React Native プラグインをインストールし、Android と iOS を設定して、構成ファイルまたはコードから SDK を初期化します。

MoEngage React Native プラグインの統合は 2 つのステップで行います。プラグインとそのネイティブ依存関係をインストールし、次に SDK を初期化します。プロジェクトに合ったパス（**React Native** または **Expo**）を選択してください。

初期化には 2 つの方法があります。ファイルベースの初期化では構成をネイティブの構成ファイルに保持し、手動の初期化では各プラットフォームのコードで構成を設定します。

## React Native

### SDK のインストール

| ページ | 内容 |
| - | - |
| [フレームワークの依存関係](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-installation/framework-dependency.md) | npm でプラグインをインストールし、ネイティブ依存関係をリンクします。 |
| [Android のビルド構成](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-installation/android.md) | Android のビルド設定と依存関係を構成します。 |
| [iOS](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-installation/ios.md) | CocoaPods または Swift Package Manager で iOS の依存関係をセットアップします。 |

### ファイルベースの初期化

| ページ | 内容 |
| - | - |
| [ファイルベースの初期化](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-initialization/file-based-initialization/file-based-initialization.md) | ネイティブの構成ファイルを通じて SDK を構成します。 |
| [移行と優先順位](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-initialization/file-based-initialization/migration-and-precedence.md) | 手動の初期化からファイルベースの構成に移行します。 |

### 手動の初期化

| ページ | 内容 |
| - | - |
| [フレームワークの初期化](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-initialization/manual-initialization/framework-initialization.md) | コンポーネントのマウント後に `App.js` または `App.ts` でプラグインを初期化します。 |
| [Android](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-initialization/manual-initialization/android.md) | Android の `Application` クラスで SDK を初期化します。 |
| [iOS](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-initialization/manual-initialization/ios.md) | iOS の `AppDelegate` で SDK を初期化します。 |

## Expo

| ページ | 内容 |
| - | - |
| [インストール](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/expo/installation.md) | `npx expo install` で SDK を追加します。 |
| [MoEngage Expo SDK の設定](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/expo/configure-the-moengage-expo-sdk.md) | プラグインのパラメーターとプラットフォーム固有の初期化ファイルを設定します。 |
| [初期化](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/expo/initialization.md) | SDK を初期化して、トラッキングとメッセージングを有効にします。 |

## 高度な設定

| ページ | 内容 |
| - | - |
| [JWT 認証](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/advanced/jwt-authentication.md) | JWT で SDK のリクエストを認証して、データ収集を保護します。 |

> [!NOTE]
>
> 統合を計画する前に、[制限事項](https://moengage.com/docs/ja/developer-guide/react-native-sdk/sdk-integration/limitations.md)を確認してください。一部の機能はプラグインでサポートされていないか、ネイティブでの実装が必要です。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.