Skip to main content

How can I update the Luciq SDK?

Each platform has a different method of updating. You can find the details here.

Yasmin avatar
Written by Yasmin
Updated this week

You can easily update the Luciq SDK for each platform by following the instructions below:

iOS

  • If you are using Cocoapods, use the following command in the terminal of your project:

    pod update Luciq

  • If you are using Carthage, use the following command:
    ​​carthage update

Android

To update the Luciq Android SDK, you simply have to change the version number In the examples below, we will upgrade to v xx.x.x (replace with desired version):

  • In your Gradle file:

    implementation 'ai.luciq.library:luciq:xx.x.x'

  • Using Maven instead, you would enter the new SDK version within the version tag:

<dependency>
<groupId>ai.luciq.library</groupId>
<artifactId>luciq</artifactId>
<version>xx.x.x</version>
</dependency>

React Native

  • If you're using NPM, Simply use the following command :

npm install @luciq/react-native
  • If you prefer Yarn, you can run the following command instead:

yarn upgrade @luciq/react-native

Flutter

To update the Luciq Flutter SDK, you need to modify the version number in the pubspec.yaml file to reflect the latest SDK version. In the example below, we will upgrade to the version xx.x.x (replace with desired version):

luciq_flutter: ^xx.x.x

Once you've made this change, run the following command:

flutter pub get


​

Did this answer your question?