Over-The-Air (OTA) Updates

This page explains how to configure the Luciq SDK to track over-the-air (OTA) updates for your React Native application, including support for EAS Update and the legacy CodePush service.

Overview

Over-the-air (OTA) updates are a great way to deliver new code to your users without requiring a full app store release. To ensure your bug and crash reports are correctly associated with the right code version, Luciq needs to be made aware of these OTA updates.

Configuring Your OTA Version

We provide a single, unified API to track your OTA updates, whether you are using EAS Update or CodePush.

EAS Update

Luciq provides support for apps using EAS Update. This allows you to see a specific EAS Update's build ID in all your reports, helping you track issues with precision.

Setup

To track your EAS Update, pass the overAirVersion object with the service and version parameters during SDK initialization.

JavaScript
import Luciq, { OverAirUpdateServices } from '@luciq/react-native';

// First, initialize the SDK
Luciq.init({
  token: '<YOUR_APP_TOKEN>',
  invocationEvents: [InvocationEvent.shake],
});

// Then, set your OTA version
Luciq.setOverAirVersion({ 
  service: OverAirUpdateServices.expo, 
  version: '<Your-Build-ID>' 
});

The service parameter accepts two enum values:

  • OverAirUpdateServices.expo: For teams using EAS Update.

  • OverAirUpdateServices.codePush: For teams using CodePush.

Character Limit

Uploading Sourcemaps

CodePush (Legacy)

For teams still using the older codePushVersion parameter within the Luciq.init method, it will continue to be supported.

We recommend migrating to the new, unified setOverAirVersion API for a more consistent approach.

API Precedence

Last updated