> For the complete documentation index, see [llms.txt](https://docs.luciq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luciq.ai/react-native/setup-luciq-for-react-native/integrate-luciq-on-react-native/updating-the-sdk.md).

# Updating the SDK

Learn how to update the Luciq SDK in your React Native app. Follow migration steps to get the latest features, bug fixes, and performance improvements.

To update the package to the latest non-major version using the package manager of your choice, use one of the tabs below.

{% tabs %}
{% tab title="npm" %}
To update to the latest non-major (minor/patch) version:

```bash
npm install @luciq/react-native
```

For instance, if the current version is `13.2.0` and two newer versions, `13.4.0` and `14.0.0`, are available, running `npm install @luciq/react-native` will upgrade it to `13.4.0`, which is the latest minor/patch version.

To install the latest version regardless of the major version:

```bash
npm install @luciq/react-native@latest
```

This command will update the package to `14.0.0` in the example above.
{% endtab %}

{% tab title="Yarn" %}
Using Yarn, run:

```bash
yarn add @luciq/react-native
```

This will also update the package to the latest version.
{% endtab %}
{% endtabs %}


---

# 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://docs.luciq.ai/react-native/setup-luciq-for-react-native/integrate-luciq-on-react-native/updating-the-sdk.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.
