We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b290a2 commit 7109debCopy full SHA for 7109deb
packages/core/src/js/feedback/defaults.ts
@@ -1,4 +1,5 @@
1
import { getCurrentScope } from '@sentry/core';
2
+import { Alert } from 'react-native';
3
4
import type { FeedbackFormProps } from './FeedbackForm.types';
5
@@ -20,7 +21,12 @@ const SUCCESS_MESSAGE_TEXT = 'Thank you for your report!';
20
21
export const defaultConfiguration: Partial<FeedbackFormProps> = {
22
// FeedbackCallbacks
23
onFormClose: () => {
- // By default the form is just unmounted
24
+ if (__DEV__) {
25
+ Alert.alert(
26
+ 'Development note',
27
+ 'onFormClose callback is not implemented. By default the form is just unmounted.',
28
+ );
29
+ }
30
},
31
32
// FeedbackGeneralConfiguration
0 commit comments