Feedback Workflow Component
A versatile interface for user communication, offering options to report issues, provide feedback, request features, or contact support, ensuring user engagement and problem-solving.
Last updated
A versatile interface for user communication, offering options to report issues, provide feedback, request features, or contact support, ensuring user engagement and problem-solving.
Last updated
To install the Quest react-native-sdk
into your project, follow these steps:
Open your terminal/command prompt.
Navigate to your project's root directory using the cd
command if you're not already there.
Run the following command to install the quest-sdk
package using npm:
This command will download and install the package and its dependencies into your project.
Make sure your project has npm and Node.js installed, and that you have the necessary permissions to install packages in your project directory.
Import the QuestProvider Component: Import the QuestProvider
component from the @questlabs/react-sdk
package.
Pass the Required Props: Pass the required props to the QuestProvider
. The required props are apiKey
, entityId,
authenticationToken
and fontFamily.
To load external fonts, please refer this doc to setup expo-font on your expo app.
To integrate the FeedBackWorkFlow
component into your React native application, follow these steps.
Import useFeedBackWorkFlow Hook: Import the useFeedBackWorkFlow
component from the @questlabs/react-sdk
package.
Import the FeedBackWorkFlow Component: Import the FeedBackWorkFlow
component from the @questlabs/react-sdk
package.
Pass the Required Props: Pass the required props to the useFeedBackWorkFlow
. The required props are questId
, questUserId
, and userToken
or if user don't have quest User id then they can pass own userId to get questUserId and Token.
Don't not use QuestProvider and useFeedBackWorkFlow Hook in same file.
The Onboarding component accepts the following props
ContactUs
object
optional
For card And inner form heading and description
GeneralFeedback
object
optional
For card And inner form heading and description
ReportBug
object
optional
For card And inner form heading and description
RequestFeature
object
optional
For card And inner form heading and description
contactUrl
String
optional
Support team contact URL.
onCross
Function
optional
create the function for onCross.
onError
Function
optional
For Showing the Error.
questUserId
string
optional
provied quest user id
userToken
string
optional
Provied quest token
actions
ICriteria[]
optional
user need to provied filled data related to the section action name.
loading
boolean
optional
don't use in offline mode.
campaignVariationId
string
optional
Id For verification.
styleConfig
object
optional
An object containing Styling properties for styling various components within the get started process, including form, topbar, headings, descriptions, and buttons.
App.js
DemoComponent.tsx