In-app feedback for Windows apps
In-app feedback allows you to include feedback, attach and annotate images/screenshots, include logs and diagnostics, and report a bug. Before you start integrating In-app Feedback, make sure that you have already integrated Apptics with your app.
Add WinUIAppticsFeedback(WinUI) / AppticsFeedback(UWP) library reference (dll) into your project from the downloaded Apptics dlls.
Show the feedback pop-up
You can show the default feedback pop-up using the below code.
For UWP apps
Copied
For WinUI apps
Copied
You can customize the feedback pop-up by applying style to each element of the pop-up.
Copied
For UWP apps
Copied
For WinUI apps
Copied
Send the feedback API
If you want to use a custom feedback pop-up, build your own UI, and call the below function to send feedback using Apptics.
Copied
Params:
- string - feedback message
- type - feedback type
- bool - should include diagnostic info
- bool - should include log
- list<StorageFiles> - bug images/screenshots
- list<StorageFiles> - log files
Set sender email id
You can set the sender email id for the feedback, if you want. If you do not set the sender email id, the feedback will be received as anonymous feedback in Apptics.
Copied
To allow anonymous feedback
Enable the anonymous option so that the users can share their feedback anonymously.
Copied
Set support email id
Use the below to set the support email id.
Copied
Set diagnose info
Use the below to set the diagnostic info.
Copied
Alert anonymous feedback
You can alert the users if they choose to share the feedback anonymously.
Copied
Set log location
By default, feedback logs are written in "AppData\Local\Packages\your.package.name\LocalState\Apptics\AppticsFeedbackLogs".
You can change the location where the feedback logs should be written. You can set your folder/location.
For example - "AppData\Local\Packages\your.package.name\LocalState\DemoFolder\AppticsFeedbackLogs"
Copied
Clear log / diagnose info
You can clear the diagnose info or the log files by the using below.
Copied
Write log
Use the below to write feedback logs directly to Apptics.
Copied