@luciq/react-native 19.4.0-44237-SNAPSHOT → 19.4.0-47504-SNAPSHOT

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +0 -118
  2. package/RNLuciq.podspec +2 -6
  3. package/android/build.gradle +0 -25
  4. package/android/proguard-rules.txt +1 -1
  5. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqAPMModule.java +12 -3
  6. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqBugReportingModule.java +24 -28
  7. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqCrashReportingModule.java +7 -18
  8. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqFeatureRequestsModule.java +2 -1
  9. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqNetworkLoggerModule.java +56 -29
  10. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqReactnativeModule.java +47 -78
  11. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqRepliesModule.java +16 -4
  12. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqSessionReplayModule.java +16 -5
  13. package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqSurveysModule.java +15 -7
  14. package/android/src/main/java/ai/luciq/reactlibrary/utils/EventEmitterModule.java +7 -0
  15. package/dist/modules/BugReporting.js +3 -3
  16. package/dist/modules/Luciq.js +3 -2
  17. package/dist/modules/NetworkLogger.d.ts +0 -5
  18. package/dist/modules/NetworkLogger.js +9 -1
  19. package/dist/modules/Replies.js +1 -1
  20. package/dist/modules/Surveys.js +2 -2
  21. package/dist/native/NativeBugReporting.d.ts +4 -4
  22. package/dist/native/NativeCrashReporting.d.ts +2 -2
  23. package/dist/native/NativeLuciq.d.ts +3 -2
  24. package/dist/native/NativePackage.js +2 -25
  25. package/dist/native/NativeReplies.d.ts +1 -1
  26. package/dist/native/NativeSurveys.d.ts +2 -2
  27. package/dist/utils/Enums.js +1 -3
  28. package/dist/utils/FeatureFlags.d.ts +6 -0
  29. package/dist/utils/FeatureFlags.js +35 -0
  30. package/dist/utils/LuciqUtils.d.ts +1 -1
  31. package/dist/utils/LuciqUtils.js +9 -0
  32. package/dist/utils/XhrNetworkInterceptor.js +85 -53
  33. package/ios/RNLuciq/LuciqAPMBridge.h +5 -5
  34. package/ios/RNLuciq/{LuciqAPMBridge.mm → LuciqAPMBridge.m} +39 -48
  35. package/ios/RNLuciq/LuciqBugReportingBridge.h +6 -6
  36. package/ios/RNLuciq/LuciqBugReportingBridge.m +249 -0
  37. package/ios/RNLuciq/LuciqCrashReportingBridge.h +5 -16
  38. package/ios/RNLuciq/LuciqCrashReportingBridge.m +68 -0
  39. package/ios/RNLuciq/LuciqFeatureRequestsBridge.h +1 -1
  40. package/ios/RNLuciq/{LuciqFeatureRequestsBridge.mm → LuciqFeatureRequestsBridge.m} +16 -21
  41. package/ios/RNLuciq/LuciqNetworkLoggerBridge.h +30 -1
  42. package/ios/RNLuciq/{LuciqNetworkLoggerBridge.mm → LuciqNetworkLoggerBridge.m} +77 -46
  43. package/ios/RNLuciq/LuciqReactBridge.h +13 -13
  44. package/ios/RNLuciq/{LuciqReactBridge.mm → LuciqReactBridge.m} +34 -83
  45. package/ios/RNLuciq/LuciqRepliesBridge.h +3 -3
  46. package/ios/RNLuciq/LuciqRepliesBridge.m +80 -0
  47. package/ios/RNLuciq/LuciqSessionReplayBridge.h +5 -5
  48. package/ios/RNLuciq/{LuciqSessionReplayBridge.mm → LuciqSessionReplayBridge.m} +25 -35
  49. package/ios/RNLuciq/LuciqSurveysBridge.h +5 -5
  50. package/ios/RNLuciq/{LuciqSurveysBridge.mm → LuciqSurveysBridge.m} +35 -34
  51. package/package.json +1 -9
  52. package/scripts/get-github-app-token.sh +70 -0
  53. package/scripts/notify-github.sh +17 -8
  54. package/src/modules/BugReporting.ts +3 -3
  55. package/src/modules/Luciq.ts +4 -2
  56. package/src/modules/NetworkLogger.ts +26 -1
  57. package/src/modules/Replies.ts +1 -1
  58. package/src/modules/Surveys.ts +2 -2
  59. package/src/native/NativeBugReporting.ts +6 -3
  60. package/src/native/NativeCrashReporting.ts +2 -2
  61. package/src/native/NativeLuciq.ts +3 -2
  62. package/src/native/NativePackage.ts +2 -52
  63. package/src/native/NativeReplies.ts +1 -1
  64. package/src/native/NativeSurveys.ts +2 -2
  65. package/src/utils/Enums.ts +1 -4
  66. package/src/utils/FeatureFlags.ts +44 -0
  67. package/src/utils/LuciqUtils.ts +21 -1
  68. package/src/utils/XhrNetworkInterceptor.ts +128 -55
  69. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqAPMBaseSpec.java +0 -9
  70. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqBaseSpec.java +0 -33
  71. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqBugReportingBaseSpec.java +0 -33
  72. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqCrashReportingBaseSpec.java +0 -9
  73. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqFeatureRequestsBaseSpec.java +0 -9
  74. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqNetworkLoggerBaseSpec.java +0 -33
  75. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqRepliesBaseSpec.java +0 -33
  76. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqSessionReplayBaseSpec.java +0 -33
  77. package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqSurveysBaseSpec.java +0 -33
  78. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqAPMBaseSpec.java +0 -11
  79. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqBaseSpec.java +0 -22
  80. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqBugReportingBaseSpec.java +0 -22
  81. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqCrashReportingBaseSpec.java +0 -10
  82. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqFeatureRequestsBaseSpec.java +0 -10
  83. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqNetworkLoggerBaseSpec.java +0 -22
  84. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqRepliesBaseSpec.java +0 -22
  85. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqSessionReplayBaseSpec.java +0 -22
  86. package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqSurveysBaseSpec.java +0 -22
  87. package/dist/native/specs/NativeAPM.d.ts +0 -21
  88. package/dist/native/specs/NativeAPM.js +0 -2
  89. package/dist/native/specs/NativeBugReporting.d.ts +0 -29
  90. package/dist/native/specs/NativeBugReporting.js +0 -2
  91. package/dist/native/specs/NativeCrashReporting.d.ts +0 -12
  92. package/dist/native/specs/NativeCrashReporting.js +0 -2
  93. package/dist/native/specs/NativeFeatureRequests.d.ts +0 -8
  94. package/dist/native/specs/NativeFeatureRequests.js +0 -2
  95. package/dist/native/specs/NativeLuciq.d.ts +0 -80
  96. package/dist/native/specs/NativeLuciq.js +0 -2
  97. package/dist/native/specs/NativeNetworkLogger.d.ts +0 -16
  98. package/dist/native/specs/NativeNetworkLogger.js +0 -2
  99. package/dist/native/specs/NativeReplies.d.ts +0 -21
  100. package/dist/native/specs/NativeReplies.js +0 -2
  101. package/dist/native/specs/NativeSessionReplay.d.ts +0 -17
  102. package/dist/native/specs/NativeSessionReplay.js +0 -2
  103. package/dist/native/specs/NativeSurveys.d.ts +0 -18
  104. package/dist/native/specs/NativeSurveys.js +0 -2
  105. package/ios/RNLuciq/LuciqBugReportingBridge.mm +0 -234
  106. package/ios/RNLuciq/LuciqCrashReportingBridge.mm +0 -91
  107. package/ios/RNLuciq/LuciqRepliesBridge.mm +0 -86
  108. package/src/native/specs/NativeAPM.ts +0 -47
  109. package/src/native/specs/NativeBugReporting.ts +0 -53
  110. package/src/native/specs/NativeCrashReporting.ts +0 -23
  111. package/src/native/specs/NativeFeatureRequests.ts +0 -10
  112. package/src/native/specs/NativeLuciq.ts +0 -137
  113. package/src/native/specs/NativeNetworkLogger.ts +0 -31
  114. package/src/native/specs/NativeReplies.ts +0 -27
  115. package/src/native/specs/NativeSessionReplay.ts +0 -20
  116. package/src/native/specs/NativeSurveys.ts +0 -23
@@ -1,11 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
-
5
- import ai.luciq.reactlibrary.utils.EventEmitterModule;
6
-
7
- abstract class RNLuciqAPMBaseSpec extends EventEmitterModule {
8
- RNLuciqAPMBaseSpec(ReactApplicationContext context) {
9
- super(context);
10
- }
11
- }
@@ -1,22 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactMethod;
5
-
6
- import ai.luciq.reactlibrary.utils.EventEmitterModule;
7
-
8
- abstract class RNLuciqBaseSpec extends EventEmitterModule {
9
- RNLuciqBaseSpec(ReactApplicationContext context) {
10
- super(context);
11
- }
12
-
13
- @ReactMethod
14
- public void addListener(String event) {
15
- super.addListener(event);
16
- }
17
-
18
- @ReactMethod
19
- public void removeListeners(Integer count) {
20
- super.removeListeners(count);
21
- }
22
- }
@@ -1,22 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactMethod;
5
-
6
- import ai.luciq.reactlibrary.utils.EventEmitterModule;
7
-
8
- abstract class RNLuciqBugReportingBaseSpec extends EventEmitterModule {
9
- RNLuciqBugReportingBaseSpec(ReactApplicationContext context) {
10
- super(context);
11
- }
12
-
13
- @ReactMethod
14
- public void addListener(String event) {
15
- super.addListener(event);
16
- }
17
-
18
- @ReactMethod
19
- public void removeListeners(Integer count) {
20
- super.removeListeners(count);
21
- }
22
- }
@@ -1,10 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactContextBaseJavaModule;
5
-
6
- abstract class RNLuciqCrashReportingBaseSpec extends ReactContextBaseJavaModule {
7
- RNLuciqCrashReportingBaseSpec(ReactApplicationContext context) {
8
- super(context);
9
- }
10
- }
@@ -1,10 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactContextBaseJavaModule;
5
-
6
- abstract class RNLuciqFeatureRequestsBaseSpec extends ReactContextBaseJavaModule {
7
- RNLuciqFeatureRequestsBaseSpec(ReactApplicationContext context) {
8
- super(context);
9
- }
10
- }
@@ -1,22 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactMethod;
5
-
6
- import ai.luciq.reactlibrary.utils.EventEmitterModule;
7
-
8
- abstract class RNLuciqNetworkLoggerBaseSpec extends EventEmitterModule {
9
- RNLuciqNetworkLoggerBaseSpec(ReactApplicationContext context) {
10
- super(context);
11
- }
12
-
13
- @ReactMethod
14
- public void addListener(String event) {
15
- super.addListener(event);
16
- }
17
-
18
- @ReactMethod
19
- public void removeListeners(Integer count) {
20
- super.removeListeners(count);
21
- }
22
- }
@@ -1,22 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactMethod;
5
-
6
- import ai.luciq.reactlibrary.utils.EventEmitterModule;
7
-
8
- abstract class RNLuciqRepliesBaseSpec extends EventEmitterModule {
9
- RNLuciqRepliesBaseSpec(ReactApplicationContext context) {
10
- super(context);
11
- }
12
-
13
- @ReactMethod
14
- public void addListener(String event) {
15
- super.addListener(event);
16
- }
17
-
18
- @ReactMethod
19
- public void removeListeners(Integer count) {
20
- super.removeListeners(count);
21
- }
22
- }
@@ -1,22 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactMethod;
5
-
6
- import ai.luciq.reactlibrary.utils.EventEmitterModule;
7
-
8
- abstract class RNLuciqSessionReplayBaseSpec extends EventEmitterModule {
9
- RNLuciqSessionReplayBaseSpec(ReactApplicationContext context) {
10
- super(context);
11
- }
12
-
13
- @ReactMethod
14
- public void addListener(String event) {
15
- super.addListener(event);
16
- }
17
-
18
- @ReactMethod
19
- public void removeListeners(Integer count) {
20
- super.removeListeners(count);
21
- }
22
- }
@@ -1,22 +0,0 @@
1
- package ai.luciq.reactlibrary;
2
-
3
- import com.facebook.react.bridge.ReactApplicationContext;
4
- import com.facebook.react.bridge.ReactMethod;
5
-
6
- import ai.luciq.reactlibrary.utils.EventEmitterModule;
7
-
8
- abstract class RNLuciqSurveysBaseSpec extends EventEmitterModule {
9
- RNLuciqSurveysBaseSpec(ReactApplicationContext context) {
10
- super(context);
11
- }
12
-
13
- @ReactMethod
14
- public void addListener(String event) {
15
- super.addListener(event);
16
- }
17
-
18
- @ReactMethod
19
- public void removeListeners(Integer count) {
20
- super.removeListeners(count);
21
- }
22
- }
@@ -1,21 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface Spec extends TurboModule {
4
- setEnabled(isEnabled: boolean): void;
5
- networkLogAndroid(requestStartTime: number, requestDuration: number, requestHeaders: string, requestBody: string, requestBodySize: number, requestMethod: string, requestUrl: string, requestContentType: string, responseHeaders: string, responseBody: string | null, responseBodySize: number, statusCode: number, responseContentType: string, errorDomain: string, w3cExternalTraceAttributes: UnsafeObject, gqlQueryName: string | null, serverErrorMessage: string | null): void;
6
- setAppLaunchEnabled(isEnabled: boolean): void;
7
- endAppLaunch(): void;
8
- startFlow(name: string): void;
9
- endFlow(name: string): void;
10
- setFlowAttribute(name: string, key: string, value: string | null): void;
11
- setAutoUITraceEnabled(isEnabled: boolean): void;
12
- startUITrace(name: string): void;
13
- endUITrace(): void;
14
- lcqSleep(): void;
15
- setScreenRenderingEnabled(isEnabled: boolean): void;
16
- syncCustomSpan(name: string, startTimestamp: number, endTimestamp: number): Promise<void>;
17
- isCustomSpanEnabled(): Promise<boolean>;
18
- isAPMEnabled(): Promise<boolean>;
19
- }
20
- declare const _default: Spec;
21
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQAPM');
@@ -1,29 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- export interface Spec extends TurboModule {
3
- setEnabled(isEnabled: boolean): void;
4
- show(type: string, options: string[]): void;
5
- setInvocationEvents(events: string[]): void;
6
- setOptions(options: string[]): void;
7
- setExtendedBugReportMode(mode: string): void;
8
- setReportTypes(types: string[]): void;
9
- setDisclaimerText(text: string): void;
10
- setCommentMinimumCharacterCount(limit: number, reportTypes: string[]): void;
11
- setFloatingButtonEdge(edge: string, offset: number): void;
12
- setVideoRecordingFloatingButtonPosition(buttonPosition: string): void;
13
- setEnabledAttachmentTypes(screenshot: boolean, extraScreenshot: boolean, galleryImage: boolean, screenRecording: boolean): void;
14
- setAutoScreenRecordingEnabled(isEnabled: boolean): void;
15
- setAutoScreenRecordingDuration(maxDuration: number): void;
16
- setViewHierarchyEnabled(isEnabled: boolean): void;
17
- setShakingThresholdForiPhone(threshold: number): void;
18
- setShakingThresholdForiPad(threshold: number): void;
19
- setShakingThresholdForAndroid(threshold: number): void;
20
- setOnInvokeHandler(): void;
21
- setDidSelectPromptOptionHandler(): void;
22
- setOnSDKDismissedHandler(): void;
23
- addUserConsent(key: string, description: string, mandatory: boolean, checked: boolean, actionType: string | null): void;
24
- setProactiveReportingConfigurations(enabled: boolean, gapBetweenModals: number, modalDelayAfterDetection: number): void;
25
- addListener(eventName: string): void;
26
- removeListeners(count: number): void;
27
- }
28
- declare const _default: Spec;
29
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQBugReporting');
@@ -1,12 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface Spec extends TurboModule {
4
- setEnabled(isEnabled: boolean): void;
5
- sendJSCrash(data: UnsafeObject): Promise<void>;
6
- sendHandledJSCrash(data: UnsafeObject, userAttributes: UnsafeObject | null, fingerprint: string | null, nonFatalExceptionLevel: string | null): Promise<void>;
7
- setNDKCrashesEnabled(isEnabled: boolean): Promise<void>;
8
- addListener(eventName: string): void;
9
- removeListeners(count: number): void;
10
- }
11
- declare const _default: Spec;
12
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQCrashReporting');
@@ -1,8 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- export interface Spec extends TurboModule {
3
- setEnabled(isEnabled: boolean): void;
4
- show(): void;
5
- setEmailFieldRequiredForFeatureRequests(isEmailFieldRequired: boolean, types: string[]): void;
6
- }
7
- declare const _default: Spec;
8
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQFeatureRequests');
@@ -1,80 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface Spec extends TurboModule {
4
- getAllConstants(): UnsafeObject;
5
- setEnabled(isEnabled: boolean): void;
6
- isBuilt(): Promise<boolean>;
7
- init(token: string, invocationEvents: string[], debugLogsLevel: string, useNativeNetworkInterception: boolean, codePushVersion: string | null, appVariant: string | null, options: UnsafeObject | null, overAirVersion: UnsafeObject | null): void;
8
- show(): void;
9
- setCodePushVersion(version: string): void;
10
- setOverAirVersion(OTAserviceVersion: UnsafeObject): void;
11
- setAppVariant(appVariant: string): void;
12
- setLCQLogPrintsToConsole(printsToConsole: boolean): void;
13
- setSessionProfilerEnabled(isEnabled: boolean): void;
14
- setLocale(sdkLocale: string): void;
15
- setColorTheme(sdkTheme: string): void;
16
- setPrimaryColor(color: number | null): void;
17
- setString(string: string, key: string): void;
18
- networkLogAndroid(url: string, requestBody: string, responseBody: string | null, method: string, responseCode: number, requestHeaders: string, responseHeaders: string, duration: number): void;
19
- networkLogIOS(url: string, method: string, requestBody: string | null, requestBodySize: number, responseBody: string | null, responseBodySize: number, responseCode: number, requestHeaders: UnsafeObject, responseHeaders: UnsafeObject, contentType: string, errorDomain: string, errorCode: number, startTime: number, duration: number, gqlQueryName: string | null, serverErrorMessage: string | null, w3cExternalTraceAttributes: UnsafeObject): void;
20
- setNetworkLoggingEnabled(isEnabled: boolean): void;
21
- setNetworkLogBodyEnabled(isEnabled: boolean): void;
22
- setReproStepsConfig(bugMode: string, crashMode: string, sessionReplay: string): void;
23
- setTrackUserSteps(isEnabled: boolean): void;
24
- reportScreenChange(firstScreen: string): void;
25
- reportCurrentViewChange(screenName: string): void;
26
- addPrivateView(nativeTag: number | null): void;
27
- removePrivateView(nativeTag: number | null): void;
28
- logVerbose(message: string): void;
29
- logInfo(message: string): void;
30
- logDebug(message: string): void;
31
- logError(message: string): void;
32
- logWarn(message: string): void;
33
- clearLogs(): void;
34
- identifyUser(email: string, name: string, id: string | null): void;
35
- logOut(): void;
36
- logUserEvent(name: string): void;
37
- setUserData(data: string): void;
38
- setUserAttribute(key: string, value: string): void;
39
- getUserAttribute(key: string): Promise<string>;
40
- removeUserAttribute(key: string): void;
41
- getAllUserAttributes(): Promise<UnsafeObject>;
42
- clearAllUserAttributes(): void;
43
- showWelcomeMessageWithMode(mode: string): void;
44
- setWelcomeMessageMode(mode: string): void;
45
- appendTags(tags: string[]): void;
46
- resetTags(): void;
47
- getTags(): Promise<string[]>;
48
- addFeatureFlags(featureFlags: UnsafeObject): void;
49
- removeFeatureFlags(featureFlags: string[]): void;
50
- removeAllFeatureFlags(): void;
51
- setFileAttachment(filePath: string, fileName: string | null): void;
52
- setPreSendingHandler(): void;
53
- appendTagToReport(tag: string): void;
54
- appendConsoleLogToReport(consoleLog: string): void;
55
- setUserAttributeToReport(key: string, value: string): void;
56
- logDebugToReport(log: string): void;
57
- logVerboseToReport(log: string): void;
58
- logWarnToReport(log: string): void;
59
- logErrorToReport(log: string): void;
60
- logInfoToReport(log: string): void;
61
- addFileAttachmentWithURLToReport(url: string, filename: string | null): void;
62
- addFileAttachmentWithDataToReport(data: string, filename: string | null): void;
63
- willRedirectToStore(): void;
64
- isW3ExternalTraceIDEnabled(): Promise<boolean>;
65
- isW3ExternalGeneratedHeaderEnabled(): Promise<boolean>;
66
- isW3CaughtHeaderEnabled(): Promise<boolean>;
67
- registerFeatureFlagsChangeListener(): void;
68
- setOnFeaturesUpdatedListener(): void;
69
- enableAutoMasking(autoMaskingTypes: string[]): void;
70
- getNetworkBodyMaxSize(): Promise<number>;
71
- setTheme(theme: UnsafeObject): void;
72
- setFullscreen(isEnabled: boolean): void;
73
- setWebViewMonitoringEnabled(isEnabled: boolean): void;
74
- setWebViewNetworkTrackingEnabled(isEnabled: boolean): void;
75
- setWebViewUserInteractionsTrackingEnabled(isEnabled: boolean): void;
76
- addListener(eventName: string): void;
77
- removeListeners(count: number): void;
78
- }
79
- declare const _default: Spec;
80
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('Luciq');
@@ -1,16 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface Spec extends TurboModule {
4
- isNativeInterceptionEnabled(): boolean;
5
- registerNetworkLogsListener(type: string | null): void;
6
- updateNetworkLogSnapshot(url: string, callbackID: string, requestBody: string | null, responseBody: string | null, responseCode: number, requestHeaders: UnsafeObject, responseHeaders: UnsafeObject): void;
7
- hasAPMNetworkPlugin(): Promise<boolean>;
8
- resetNetworkLogsListener(): void;
9
- setNetworkLoggingRequestFilterPredicateIOS(id: string, value: boolean): void;
10
- forceStartNetworkLoggingIOS(): void;
11
- forceStopNetworkLoggingIOS(): void;
12
- addListener(eventName: string): void;
13
- removeListeners(count: number): void;
14
- }
15
- declare const _default: Spec;
16
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQNetworkLogger');
@@ -1,21 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface Spec extends TurboModule {
4
- setEnabled(isEnabled: boolean): void;
5
- show(): void;
6
- hasChats(): Promise<boolean>;
7
- getUnreadRepliesCount(): Promise<number>;
8
- setOnNewReplyReceivedHandler(): void;
9
- setPushNotificationsEnabled(isEnabled: boolean): void;
10
- setInAppNotificationEnabled(isEnabled: boolean): void;
11
- setInAppNotificationSound(isEnabled: boolean): void;
12
- setPushNotificationRegistrationToken(token: string): void;
13
- showNotification(data: UnsafeObject): void;
14
- setNotificationIcon(resourceId: number): void;
15
- setPushNotificationChannelId(id: string): void;
16
- setSystemReplyNotificationSoundEnabled(isEnabled: boolean): void;
17
- addListener(eventName: string): void;
18
- removeListeners(count: number): void;
19
- }
20
- declare const _default: Spec;
21
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQReplies');
@@ -1,17 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- export interface Spec extends TurboModule {
3
- setEnabled(isEnabled: boolean): void;
4
- setNetworkLogsEnabled(isEnabled: boolean): void;
5
- setLuciqLogsEnabled(isEnabled: boolean): void;
6
- setUserStepsEnabled(isEnabled: boolean): void;
7
- getSessionReplayLink(): Promise<string>;
8
- setSyncCallback(): Promise<void>;
9
- evaluateSync(shouldSync: boolean): void;
10
- setCapturingMode(mode: string): void;
11
- setScreenshotQuality(quality: string): void;
12
- setScreenshotCaptureInterval(intervalMs: number): void;
13
- addListener(eventName: string): void;
14
- removeListeners(count: number): void;
15
- }
16
- declare const _default: Spec;
17
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQSessionReplay');
@@ -1,18 +0,0 @@
1
- import type { TurboModule } from 'react-native';
2
- import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface Spec extends TurboModule {
4
- setEnabled(isEnabled: boolean): void;
5
- setAutoShowingEnabled(autoShowingSurveysEnabled: boolean): void;
6
- showSurvey(surveyToken: string): void;
7
- showSurveysIfAvailable(): void;
8
- getAvailableSurveys(): Promise<UnsafeObject[]>;
9
- hasRespondedToSurvey(surveyToken: string): Promise<boolean>;
10
- setShouldShowWelcomeScreen(shouldShowWelcomeScreen: boolean): void;
11
- setAppStoreURL(appStoreURL: string): void;
12
- setOnShowHandler(): void;
13
- setOnDismissHandler(): void;
14
- addListener(eventName: string): void;
15
- removeListeners(count: number): void;
16
- }
17
- declare const _default: Spec;
18
- export default _default;
@@ -1,2 +0,0 @@
1
- import { TurboModuleRegistry } from 'react-native';
2
- export default TurboModuleRegistry.getEnforcing('LCQSurveys');