MCPcopy Create free account
hub / github.com/getsentry/sentry-react-native / feedbackAlertDialog

Function feedbackAlertDialog

packages/core/src/js/feedback/utils.ts:50–56  ·  view source on GitHub ↗
(title: string, message: string)

Source from the content-addressed store, hash-verified

48};
49
50export const feedbackAlertDialog = (title: string, message: string): void => {
51 if (isWeb() && typeof RN_GLOBAL_OBJ.alert !== 'undefined') {
52 RN_GLOBAL_OBJ.alert(`${title}\n${message}`);
53 } else {
54 Alert.alert(title, message);
55 }
56};

Callers 3

defaults.tsFile · 0.90
FeedbackFormClass · 0.90
renderMethod · 0.90

Calls 1

isWebFunction · 0.90

Tested by

no test coverage detected