FeedbackReporter
mode
#
Use this prop to set when feedback reporter modal should appear.
Type |
---|
'onScreenShot' |
Example:
theme
#
Use this prop to customize the colors
and fonts
. See theme documentation for more information.
Example:
modalProps
#
Use this prop to override the modal behaviour and elements in the modal header.
header
#
Prop | Type |
---|---|
left | { label?: string; onPress?: () => void; component?: ReactNode; } |
heading | string |
right | { label?: string; onPress?: () => void; component?: ReactNode; } |
Example:
slack
#
Use this prop to enable slack integration. See slack documentation for more information.
botToken *
#
See slack documentation on how to get botToken
.
Type |
---|
string |
channel
#
Use this prop to set default slack public channel.
Type |
---|
string |
order
#
Use this prop to order slack components, exclude any control that you wish to hide from this array.
Type | Default |
---|---|
array of enums('slack_switch' , 'slack_channels_selector' ) | ['slack_switch', 'slack_channels_selector'] |
Example:
jira
#
Use this prop to enable slack integration. See JIRA documentation for more information.
domain *
#
See JIRA documentation on how to get domain
.
Type |
---|
string |
username
#
See JIRA documentation on how to get username
.
Type |
---|
string |
token
#
See JIRA documentation on how to get token
.
Type |
---|
string |
projectField
#
Use this prop to set a default project to submit JIRA issue to.
Type |
---|
{ defaultValue: string } |
issueTypeField
#
Use this prop to set a default issue type to submit JIRA issue using.
Type |
---|
{ defaultValue: string } |
order
#
Use this prop to order jira components, exclude any control that you wish to hide from this array.
Type | Default |
---|---|
array of enums('jira_switch' , 'jira_projects' , 'jira_issue_types' , 'jira_account_linking' ) | ['jira_switch', 'jira_projects', 'jira_issue_types', 'jira_account_linking'] |
meta
#
Use this prop to pass meta data that can modify the jira issue. Look at the options here
Type | Default |
---|---|
{ labels: string[] } | undefined |
Example:
extraSource
#
Use this prop to enable extra attachments using react-native-image-crop-picker package.
Type |
---|
'react-native-image-crop-picker' |
Example:
devNotes
#
Use this prop to add developer notes to any feedback report.
Note: Following sample uses react-native-device-info library to capture device information.
Type |
---|
string or (() => Promise<string>) or (() => string) |
Example:
disableBreadrumbs
#
Use this prop to disable breadcrumbs collection.
Type |
---|
boolean |
Example:
hideAttachments
#
Use this prop to hide attachments tab.
Type |
---|
boolean |
Example: