> ## 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.

# フレームワークの依存関係

> npm を使用して MoEngage React Native プラグインをインストールし、ネイティブの依存関係をリンクします。

> [!NOTE]
>
> IDE を [MoEngage docs MCP server](/docs/ja/developer-guide/connect-your-ide-to-moengage-docs.md) に接続すると、開発環境内で正確かつコンテキストに応じた SDK のガイダンスを得られます。アシスタントがこのドキュメントを直接検索するため、安心して統合作業を進めることができます。

npm パッケージマネージャーを使用して、MoEngage React Native プラグインをインストールします。

次のコードを使用して、ネイティブの依存関係をリンクします。

```shell Shell theme={null}

    $ npm install react-native-moengage
    # required only if you are using versions that do not support auto linking
    # This command is removed in version 0.69 of react-native
    $ react-native link react-native-moengage
```

> [!NOTE]
>
> 動作するサンプルアプリは[こちら](https://github.com/moengage/React-Native/tree/master/SampleApp)にあります。

プラグインをインストールしたら、以下のプラットフォーム固有の設定を行います。

* [Android](/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-installation/android.md)
* [iOS](/docs/ja/developer-guide/react-native-sdk/sdk-integration/react-native/sdk-installation/ios.md)


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