# React Native

The ReferralHero React Native integration is a powerful tool for integrating referral & contest functionality into your mobile cross-platform (iOS/Android) application. It provides a seamless way for users to refer friends, track referrals, and incentivize user engagement. This repository contains all the necessary code and documentation to help you get started with integrating ReferralHero into your React Native project.

{% content-ref url="/pages/g2yzXxvn1U5s6jmYXkYa" %}
[Getting Started](/integrate/mobile-sdks/react-native/getting-started.md)
{% endcontent-ref %}

{% content-ref url="/pages/UE9xq9QNEOF96lh2SeTB" %}
[How to call API?](/integrate/mobile-sdks/react-native/how-to-call-api.md)
{% endcontent-ref %}

{% content-ref url="/pages/pBL430pQe5xN2p9X86T2" %}
[Public Methods](/integrate/mobile-sdks/react-native/public-methods.md)
{% endcontent-ref %}

{% content-ref url="/pages/CDpwWqtet4ciaEtKNh5f" %}
[Embedding ReferralHero Widget in React Native WebView](/integrate/mobile-sdks/react-native/embedding-referralhero-widget-in-react-native-webview.md)
{% endcontent-ref %}

{% content-ref url="/pages/6t6vL6nTi3b4GM9yhc2M" %}
[Mobile App Testing in Development Mode](/integrate/mobile-sdks/react-native/mobile-app-testing-in-development-mode.md)
{% endcontent-ref %}


---

# 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://support.referralhero.com/integrate/mobile-sdks/react-native.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.
