Building Luciq
API reference for building Luciq in your project. Pass your app token and invocation events to initialise the SDK before invoking it.
You can use these methods to build Luciq in your project so that you can invoke it. This method takes a string token and any number of invocation events as an argument. This method will require that you have Luciq already installed. For more information on how to fully install and integrate Luciq, please refer to the relevant documentation sections here:
Luciq.start(withToken: "YOUR-TOKEN-HERE", invocationEvents: [.shake, .screenshot]);[Luciq startWithToken:@"YOUR-TOKEN-HERE" invocationEvents: LCQInvocationEventShake | LCQInvocationEventScreenshot]new Luciq.Builder(this, "APP_TOKEN")
.setInvocationEvents(LuciqInvocationEvent.SHAKE, LuciqInvocationEvent.SCREENSHOT)
.build();Luciq.Builder(this, "APP_TOKEN")
.setInvocationEvents(LuciqInvocationEvent.SHAKE, LuciqInvocationEvent.SCREENSHOT)
.build()//iOS
Luciq.startWithToken('IOS_APP_TOKEN', [Luciq.invocationEvent.shake]);
//Android
new RNLuciqReactnativePackage.Builder("TOKEN",MainApplication.this)
.build();//iOS
Luciq.start('APP_TOKEN', [InvocationEvent.shake]);
//Android
ArrayList<String> invocationEvents = new ArrayList<>();
invocationEvents.add(LuciqFlutterPlugin.INVOCATION_EVENT_SHAKE);
new LuciqFlutterPlugin().start(CustomFlutterApplication.this, "APP_TOKEN", invocationEvents);Invocation Event Parameters:
//No Trigger
.none
//Shake
.shake
//Screenshot
.screenshot
//Two Finger Swipe Left
.twoFingersSwipeLeft
//Right Edge Pan
.rightEdgePan
//Floating Button
.floatingButton//No Trigger
LCQInvocationEventNone
//Shake
LCQInvocationEventShake
//Screenshot
LCQInvocationEventScreenshot
//Two Finger Swipe Left
LCQInvocationEventTwoFingersSwipeLeft
//Right Edge Pan
LCQInvocationEventRightEdgePan
//Floating Button
LCQInvocationEventFloatingButtonLast updated