For the complete documentation index, see llms.txt. This page is also available as Markdown.

CodePush for React Native

Use Luciq with CodePush in your React Native app to monitor OTA updates. Track crashes and performance issues across CodePush update channels.

Initialization

To integrate Luciq with CodePush, pass the codePushVersion to allow you to change the reported versions.

JavaScript
Luciq.init({
  token: '<User-App-token>',
  codePushVersion: '<Code-push-version>',
  invocationEvents: [<Invocation-events>],
  // ...  Other optional arguments here
});

Make sure to replace "User-App-token", "Code-push-version", and "Invocation-events" with your actual Luciq token, CodePush version, and invocation events.

Native Initialization

To send the CodePush version from your native side, use the APIs for your platform:

//This should be called before startingWithToken.

Luciq.setCodePushVersion("")
//This should be called before startingWithToken.

[Luciq setCodePushVersion:@""];
new Luciq.Builder(application,"LUCIQ_TOKEN")
    .setCodePushVersion("")
    .build()
Luciq.Builder(application, "LUCIQ_TOKEN")
	.setCodePushVersion("")
	.build()

Character Limit

Last updated