@luciq/react-native 19.3.0 → 19.4.0-44237-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.
- package/CHANGELOG.md +15 -0
- package/README.md +118 -0
- package/RNLuciq.podspec +6 -2
- package/android/build.gradle +25 -0
- package/android/native.gradle +1 -1
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqAPMModule.java +3 -3
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqBugReportingModule.java +28 -24
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqCrashReportingModule.java +18 -7
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqFeatureRequestsModule.java +1 -2
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqNetworkLoggerModule.java +24 -29
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqReactnativeModule.java +112 -16
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqReactnativePackage.java +2 -0
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqRepliesModule.java +4 -16
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqSessionReplayModule.java +5 -16
- package/android/src/main/java/ai/luciq/reactlibrary/RNLuciqSurveysModule.java +7 -15
- package/android/src/main/java/ai/luciq/reactlibrary/utils/ReportUtil.java +0 -7
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqAPMBaseSpec.java +9 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqBaseSpec.java +33 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqBugReportingBaseSpec.java +33 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqCrashReportingBaseSpec.java +9 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqFeatureRequestsBaseSpec.java +9 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqNetworkLoggerBaseSpec.java +33 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqRepliesBaseSpec.java +33 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqSessionReplayBaseSpec.java +33 -0
- package/android/src/newarch/java/ai/luciq/reactlibrary/RNLuciqSurveysBaseSpec.java +33 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqAPMBaseSpec.java +11 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqBaseSpec.java +22 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqBugReportingBaseSpec.java +22 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqCrashReportingBaseSpec.java +10 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqFeatureRequestsBaseSpec.java +10 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqNetworkLoggerBaseSpec.java +22 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqRepliesBaseSpec.java +22 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqSessionReplayBaseSpec.java +22 -0
- package/android/src/oldarch/java/ai/luciq/reactlibrary/RNLuciqSurveysBaseSpec.java +22 -0
- package/dist/modules/BugReporting.js +3 -3
- package/dist/modules/Luciq.d.ts +15 -0
- package/dist/modules/Luciq.js +22 -1
- package/dist/modules/Replies.js +1 -1
- package/dist/modules/Surveys.js +2 -2
- package/dist/native/NativeBugReporting.d.ts +4 -4
- package/dist/native/NativeCrashReporting.d.ts +2 -2
- package/dist/native/NativeLuciq.d.ts +5 -3
- package/dist/native/NativePackage.js +25 -2
- package/dist/native/NativeReplies.d.ts +1 -1
- package/dist/native/NativeSurveys.d.ts +2 -2
- package/dist/native/specs/NativeAPM.d.ts +21 -0
- package/dist/native/specs/NativeAPM.js +2 -0
- package/dist/native/specs/NativeBugReporting.d.ts +29 -0
- package/dist/native/specs/NativeBugReporting.js +2 -0
- package/dist/native/specs/NativeCrashReporting.d.ts +12 -0
- package/dist/native/specs/NativeCrashReporting.js +2 -0
- package/dist/native/specs/NativeFeatureRequests.d.ts +8 -0
- package/dist/native/specs/NativeFeatureRequests.js +2 -0
- package/dist/native/specs/NativeLuciq.d.ts +80 -0
- package/dist/native/specs/NativeLuciq.js +2 -0
- package/dist/native/specs/NativeNetworkLogger.d.ts +16 -0
- package/dist/native/specs/NativeNetworkLogger.js +2 -0
- package/dist/native/specs/NativeReplies.d.ts +21 -0
- package/dist/native/specs/NativeReplies.js +2 -0
- package/dist/native/specs/NativeSessionReplay.d.ts +17 -0
- package/dist/native/specs/NativeSessionReplay.js +2 -0
- package/dist/native/specs/NativeSurveys.d.ts +18 -0
- package/dist/native/specs/NativeSurveys.js +2 -0
- package/dist/utils/Enums.js +3 -1
- package/dist/utils/LuciqUtils.d.ts +1 -1
- package/dist/utils/LuciqUtils.js +0 -3
- package/ios/RNLuciq/LuciqAPMBridge.h +5 -5
- package/ios/RNLuciq/{LuciqAPMBridge.m → LuciqAPMBridge.mm} +48 -39
- package/ios/RNLuciq/LuciqBugReportingBridge.h +6 -6
- package/ios/RNLuciq/LuciqBugReportingBridge.mm +234 -0
- package/ios/RNLuciq/LuciqCrashReportingBridge.h +16 -5
- package/ios/RNLuciq/LuciqCrashReportingBridge.mm +91 -0
- package/ios/RNLuciq/LuciqFeatureRequestsBridge.h +1 -1
- package/ios/RNLuciq/{LuciqFeatureRequestsBridge.m → LuciqFeatureRequestsBridge.mm} +21 -16
- package/ios/RNLuciq/LuciqNetworkLoggerBridge.h +1 -30
- package/ios/RNLuciq/{LuciqNetworkLoggerBridge.m → LuciqNetworkLoggerBridge.mm} +46 -77
- package/ios/RNLuciq/LuciqReactBridge.h +13 -13
- package/ios/RNLuciq/{LuciqReactBridge.m → LuciqReactBridge.mm} +95 -34
- package/ios/RNLuciq/LuciqRepliesBridge.h +3 -3
- package/ios/RNLuciq/LuciqRepliesBridge.mm +86 -0
- package/ios/RNLuciq/LuciqSessionReplayBridge.h +5 -5
- package/ios/RNLuciq/{LuciqSessionReplayBridge.m → LuciqSessionReplayBridge.mm} +35 -25
- package/ios/RNLuciq/LuciqSurveysBridge.h +5 -5
- package/ios/RNLuciq/{LuciqSurveysBridge.m → LuciqSurveysBridge.mm} +34 -35
- package/ios/native.rb +1 -1
- package/package.json +9 -2
- package/src/modules/BugReporting.ts +3 -3
- package/src/modules/Luciq.ts +25 -1
- package/src/modules/Replies.ts +1 -1
- package/src/modules/Surveys.ts +2 -2
- package/src/native/NativeBugReporting.ts +3 -6
- package/src/native/NativeCrashReporting.ts +2 -2
- package/src/native/NativeLuciq.ts +7 -3
- package/src/native/NativePackage.ts +52 -2
- package/src/native/NativeReplies.ts +1 -1
- package/src/native/NativeSurveys.ts +2 -2
- package/src/native/specs/NativeAPM.ts +47 -0
- package/src/native/specs/NativeBugReporting.ts +53 -0
- package/src/native/specs/NativeCrashReporting.ts +23 -0
- package/src/native/specs/NativeFeatureRequests.ts +10 -0
- package/src/native/specs/NativeLuciq.ts +137 -0
- package/src/native/specs/NativeNetworkLogger.ts +31 -0
- package/src/native/specs/NativeReplies.ts +27 -0
- package/src/native/specs/NativeSessionReplay.ts +20 -0
- package/src/native/specs/NativeSurveys.ts +23 -0
- package/src/utils/Enums.ts +4 -1
- package/src/utils/LuciqUtils.ts +1 -6
- package/ios/RNLuciq/LuciqBugReportingBridge.m +0 -249
- package/ios/RNLuciq/LuciqCrashReportingBridge.m +0 -68
- package/ios/RNLuciq/LuciqRepliesBridge.m +0 -80
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -31,7 +31,7 @@ export const setOptions = (options) => {
|
|
|
31
31
|
*/
|
|
32
32
|
export const onInvokeHandler = (handler) => {
|
|
33
33
|
emitter.addListener(NativeEvents.ON_INVOKE_HANDLER, handler);
|
|
34
|
-
NativeBugReporting.setOnInvokeHandler(
|
|
34
|
+
NativeBugReporting.setOnInvokeHandler();
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
37
|
* Sets a block of code to be executed right after the SDK's UI is dismissed.
|
|
@@ -43,7 +43,7 @@ export const onSDKDismissedHandler = (handler) => {
|
|
|
43
43
|
emitter.addListener(NativeEvents.ON_DISMISS_HANDLER, (payload) => {
|
|
44
44
|
handler(payload.dismissType, payload.reportType);
|
|
45
45
|
});
|
|
46
|
-
NativeBugReporting.setOnSDKDismissedHandler(
|
|
46
|
+
NativeBugReporting.setOnSDKDismissedHandler();
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* Sets the threshold value of the shake gesture for iPhone/iPod Touch
|
|
@@ -160,7 +160,7 @@ export const setDidSelectPromptOptionHandler = (handler) => {
|
|
|
160
160
|
emitter.addListener(NativeEvents.DID_SELECT_PROMPT_OPTION_HANDLER, (payload) => {
|
|
161
161
|
handler(payload.promptOption);
|
|
162
162
|
});
|
|
163
|
-
NativeBugReporting.setDidSelectPromptOptionHandler(
|
|
163
|
+
NativeBugReporting.setDidSelectPromptOptionHandler();
|
|
164
164
|
};
|
|
165
165
|
/**
|
|
166
166
|
* Sets the default edge and offset from the top at which the floating button
|
package/dist/modules/Luciq.d.ts
CHANGED
|
@@ -26,6 +26,21 @@ export declare const init: (config: LuciqConfig) => void;
|
|
|
26
26
|
* @param appVariant the current App variant name
|
|
27
27
|
*/
|
|
28
28
|
export declare const setAppVariant: (appVariant: string) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Enables or disables WebView monitoring.
|
|
31
|
+
* @param isEnabled A boolean to enable/disable WebView monitoring.
|
|
32
|
+
*/
|
|
33
|
+
export declare const setWebViewMonitoringEnabled: (isEnabled: boolean) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Enables or disables WebView network tracking.
|
|
36
|
+
* @param isEnabled A boolean to enable/disable WebView network tracking.
|
|
37
|
+
*/
|
|
38
|
+
export declare const setWebViewNetworkTrackingEnabled: (isEnabled: boolean) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Enables or disables WebView user interactions tracking.
|
|
41
|
+
* @param isEnabled A boolean to enable/disable WebView user interactions tracking.
|
|
42
|
+
*/
|
|
43
|
+
export declare const setWebViewUserInteractionsTrackingEnabled: (isEnabled: boolean) => void;
|
|
29
44
|
/**
|
|
30
45
|
* Sets the Code Push version to be sent with each report.
|
|
31
46
|
* @param version the Code Push version.
|
package/dist/modules/Luciq.js
CHANGED
|
@@ -90,6 +90,27 @@ export const init = (config) => {
|
|
|
90
90
|
export const setAppVariant = (appVariant) => {
|
|
91
91
|
NativeLuciq.setAppVariant(appVariant);
|
|
92
92
|
};
|
|
93
|
+
/**
|
|
94
|
+
* Enables or disables WebView monitoring.
|
|
95
|
+
* @param isEnabled A boolean to enable/disable WebView monitoring.
|
|
96
|
+
*/
|
|
97
|
+
export const setWebViewMonitoringEnabled = (isEnabled) => {
|
|
98
|
+
NativeLuciq.setWebViewMonitoringEnabled(isEnabled);
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Enables or disables WebView network tracking.
|
|
102
|
+
* @param isEnabled A boolean to enable/disable WebView network tracking.
|
|
103
|
+
*/
|
|
104
|
+
export const setWebViewNetworkTrackingEnabled = (isEnabled) => {
|
|
105
|
+
NativeLuciq.setWebViewNetworkTrackingEnabled(isEnabled);
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Enables or disables WebView user interactions tracking.
|
|
109
|
+
* @param isEnabled A boolean to enable/disable WebView user interactions tracking.
|
|
110
|
+
*/
|
|
111
|
+
export const setWebViewUserInteractionsTrackingEnabled = (isEnabled) => {
|
|
112
|
+
NativeLuciq.setWebViewUserInteractionsTrackingEnabled(isEnabled);
|
|
113
|
+
};
|
|
93
114
|
/**
|
|
94
115
|
* Handles app state changes and updates APM network flags if necessary.
|
|
95
116
|
*/
|
|
@@ -623,7 +644,7 @@ export const onReportSubmitHandler = (handler) => {
|
|
|
623
644
|
const reportObj = new Report(tags, consoleLogs, luciqLogs, userAttributes, fileAttachments);
|
|
624
645
|
handler && handler(reportObj);
|
|
625
646
|
});
|
|
626
|
-
NativeLuciq.setPreSendingHandler(
|
|
647
|
+
NativeLuciq.setPreSendingHandler();
|
|
627
648
|
};
|
|
628
649
|
export const onNavigationStateChange = (prevState, currentState, _action) => {
|
|
629
650
|
const currentScreen = LuciqUtils.getActiveRouteName(currentState);
|
package/dist/modules/Replies.js
CHANGED
|
@@ -26,7 +26,7 @@ export const show = () => {
|
|
|
26
26
|
*/
|
|
27
27
|
export const setOnNewReplyReceivedHandler = (handler) => {
|
|
28
28
|
emitter.addListener(NativeEvents.ON_REPLY_RECEIVED_HANDLER, handler);
|
|
29
|
-
NativeReplies.setOnNewReplyReceivedHandler(
|
|
29
|
+
NativeReplies.setOnNewReplyReceivedHandler();
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Returns the number of unread messages the user currently has.
|
package/dist/modules/Surveys.js
CHANGED
|
@@ -45,7 +45,7 @@ export const setAutoShowingEnabled = (autoShowingSurveysEnabled) => {
|
|
|
45
45
|
*/
|
|
46
46
|
export const setOnShowHandler = (onShowHandler) => {
|
|
47
47
|
emitter.addListener(NativeEvents.WILL_SHOW_SURVEY_HANDLER, onShowHandler);
|
|
48
|
-
NativeSurveys.setOnShowHandler(
|
|
48
|
+
NativeSurveys.setOnShowHandler();
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* Sets a block of code to be executed right after the survey's UI is dismissed.
|
|
@@ -56,7 +56,7 @@ export const setOnShowHandler = (onShowHandler) => {
|
|
|
56
56
|
*/
|
|
57
57
|
export const setOnDismissHandler = (onDismissHandler) => {
|
|
58
58
|
emitter.addListener(NativeEvents.DID_DISMISS_SURVEY_HANDLER, onDismissHandler);
|
|
59
|
-
NativeSurveys.setOnDismissHandler(
|
|
59
|
+
NativeSurveys.setOnDismissHandler();
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* Shows survey with a specific token.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NativeEventEmitter, NativeModule } from 'react-native';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ExtendedBugReportMode, FloatingButtonPosition, InvocationEvent, InvocationOption, RecordingButtonPosition, ReportType, userConsentActionType } from '../utils/Enums';
|
|
3
3
|
export interface BugReportingNativeModule extends NativeModule {
|
|
4
4
|
setEnabled(isEnabled: boolean): void;
|
|
5
5
|
show(type: ReportType, options: InvocationOption[]): void;
|
|
@@ -18,9 +18,9 @@ export interface BugReportingNativeModule extends NativeModule {
|
|
|
18
18
|
setShakingThresholdForiPhone(threshold: number): void;
|
|
19
19
|
setShakingThresholdForiPad(threshold: number): void;
|
|
20
20
|
setShakingThresholdForAndroid(threshold: number): void;
|
|
21
|
-
setOnInvokeHandler(
|
|
22
|
-
setDidSelectPromptOptionHandler(
|
|
23
|
-
setOnSDKDismissedHandler(
|
|
21
|
+
setOnInvokeHandler(): void;
|
|
22
|
+
setDidSelectPromptOptionHandler(): void;
|
|
23
|
+
setOnSDKDismissedHandler(): void;
|
|
24
24
|
addUserConsent(key: string, description: string, mandatory: boolean, checked: boolean, actionType?: userConsentActionType): void;
|
|
25
25
|
setProactiveReportingConfigurations(enabled: boolean, gapBetweenModals: number, modalDelayAfterDetection: number): void;
|
|
26
26
|
}
|
|
@@ -19,8 +19,8 @@ export interface CauseCrashData {
|
|
|
19
19
|
}
|
|
20
20
|
export interface CrashReportingNativeModule extends NativeModule {
|
|
21
21
|
setEnabled(isEnabled: boolean): void;
|
|
22
|
-
sendJSCrash(data: CrashData
|
|
23
|
-
sendHandledJSCrash(data: CrashData
|
|
22
|
+
sendJSCrash(data: CrashData): Promise<void>;
|
|
23
|
+
sendHandledJSCrash(data: CrashData, userAttributes?: Record<string, string> | null, fingerprint?: string | null, nonFatalExceptionLevel?: NonFatalErrorLevel | null): Promise<void>;
|
|
24
24
|
setNDKCrashesEnabled(isEnabled: boolean): Promise<void>;
|
|
25
25
|
}
|
|
26
26
|
export declare const NativeCrashReporting: CrashReportingNativeModule;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { NativeEventEmitter, NativeModule, ProcessedColorValue } from 'react-native';
|
|
2
|
-
import type Report from '../models/Report';
|
|
3
2
|
import type { AutoMaskingType, ColorTheme, InvocationEvent, Locale, LogLevel, ReproStepsMode, StringKey, WelcomeMessageMode } from '../utils/Enums';
|
|
4
3
|
import type { NativeConstants } from './NativeConstants';
|
|
5
4
|
import type { W3cExternalTraceAttributes } from '../models/W3cExternalTraceAttributes';
|
|
@@ -56,7 +55,7 @@ export interface LuciqNativeModule extends NativeModule {
|
|
|
56
55
|
removeFeatureFlags(featureFlags: string[]): void;
|
|
57
56
|
removeAllFeatureFlags(): void;
|
|
58
57
|
setFileAttachment(filePath: string, fileName?: string): void;
|
|
59
|
-
setPreSendingHandler(
|
|
58
|
+
setPreSendingHandler(): void;
|
|
60
59
|
appendTagToReport(tag: string): void;
|
|
61
60
|
appendConsoleLogToReport(consoleLog: string): void;
|
|
62
61
|
setUserAttributeToReport(key: string, value: string): void;
|
|
@@ -72,11 +71,14 @@ export interface LuciqNativeModule extends NativeModule {
|
|
|
72
71
|
isW3ExternalGeneratedHeaderEnabled(): Promise<boolean>;
|
|
73
72
|
isW3CaughtHeaderEnabled(): Promise<boolean>;
|
|
74
73
|
registerFeatureFlagsChangeListener(): void;
|
|
75
|
-
setOnFeaturesUpdatedListener(
|
|
74
|
+
setOnFeaturesUpdatedListener(): void;
|
|
76
75
|
enableAutoMasking(autoMaskingTypes: AutoMaskingType[]): void;
|
|
77
76
|
getNetworkBodyMaxSize(): Promise<number>;
|
|
78
77
|
setTheme(theme: ThemeConfig): void;
|
|
79
78
|
setFullscreen(isEnabled: boolean): void;
|
|
79
|
+
setWebViewMonitoringEnabled(isEnabled: boolean): void;
|
|
80
|
+
setWebViewNetworkTrackingEnabled(isEnabled: boolean): void;
|
|
81
|
+
setWebViewUserInteractionsTrackingEnabled(isEnabled: boolean): void;
|
|
80
82
|
}
|
|
81
83
|
export declare const NativeLuciq: LuciqNativeModule;
|
|
82
84
|
export declare enum NativeEvents {
|
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
import { NativeModules as ReactNativeModules } from 'react-native';
|
|
2
|
-
|
|
1
|
+
import { NativeModules as ReactNativeModules, TurboModuleRegistry } from 'react-native';
|
|
2
|
+
const legacy = ReactNativeModules;
|
|
3
|
+
function resolve(name, fallback) {
|
|
4
|
+
return TurboModuleRegistry.get(name) ?? fallback;
|
|
5
|
+
}
|
|
6
|
+
const LCQAPM = resolve('LCQAPM', legacy.LCQAPM);
|
|
7
|
+
const LCQBugReporting = resolve('LCQBugReporting', legacy.LCQBugReporting);
|
|
8
|
+
const LCQCrashReporting = resolve('LCQCrashReporting', legacy.LCQCrashReporting);
|
|
9
|
+
const LCQFeatureRequests = resolve('LCQFeatureRequests', legacy.LCQFeatureRequests);
|
|
10
|
+
const Luciq = resolve('Luciq', legacy.Luciq);
|
|
11
|
+
const LCQReplies = resolve('LCQReplies', legacy.LCQReplies);
|
|
12
|
+
const LCQSurveys = resolve('LCQSurveys', legacy.LCQSurveys);
|
|
13
|
+
const LCQSessionReplay = resolve('LCQSessionReplay', legacy.LCQSessionReplay);
|
|
14
|
+
const LCQNetworkLogger = resolve('LCQNetworkLogger', legacy.LCQNetworkLogger);
|
|
15
|
+
export const NativeModules = {
|
|
16
|
+
LCQAPM,
|
|
17
|
+
LCQBugReporting,
|
|
18
|
+
LCQCrashReporting,
|
|
19
|
+
LCQFeatureRequests,
|
|
20
|
+
Luciq,
|
|
21
|
+
LCQReplies,
|
|
22
|
+
LCQSurveys,
|
|
23
|
+
LCQSessionReplay,
|
|
24
|
+
LCQNetworkLogger,
|
|
25
|
+
};
|
|
@@ -4,7 +4,7 @@ export interface RepliesNativeModule extends NativeModule {
|
|
|
4
4
|
show(): void;
|
|
5
5
|
hasChats(): Promise<boolean>;
|
|
6
6
|
getUnreadRepliesCount(): Promise<number>;
|
|
7
|
-
setOnNewReplyReceivedHandler(
|
|
7
|
+
setOnNewReplyReceivedHandler(): void;
|
|
8
8
|
setPushNotificationsEnabled(isEnabled: boolean): void;
|
|
9
9
|
setInAppNotificationEnabled(isEnabled: boolean): void;
|
|
10
10
|
setInAppNotificationSound(isEnabled: boolean): void;
|
|
@@ -11,8 +11,8 @@ export interface SurveysNativeModule extends NativeModule {
|
|
|
11
11
|
hasRespondedToSurvey(surveyToken: string): Promise<boolean>;
|
|
12
12
|
setShouldShowWelcomeScreen(shouldShowWelcomeScreen: boolean): void;
|
|
13
13
|
setAppStoreURL(appStoreURL: string): void;
|
|
14
|
-
setOnShowHandler(
|
|
15
|
-
setOnDismissHandler(
|
|
14
|
+
setOnShowHandler(): void;
|
|
15
|
+
setOnDismissHandler(): void;
|
|
16
16
|
}
|
|
17
17
|
export declare const NativeSurveys: SurveysNativeModule;
|
|
18
18
|
export declare enum NativeEvents {
|
|
@@ -0,0 +1,21 @@
|
|
|
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;
|
|
@@ -0,0 +1,29 @@
|
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,80 @@
|
|
|
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;
|
|
@@ -0,0 +1,16 @@
|
|
|
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;
|
|
@@ -0,0 +1,21 @@
|
|
|
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;
|
|
@@ -0,0 +1,17 @@
|
|
|
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;
|
|
@@ -0,0 +1,18 @@
|
|
|
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;
|