CodePush for React Native

Enables adding your CodePush version to all Luciq reports (bug reports, crash reports, etc.).

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("")

Character Limit

Last updated