Add attachments
Gleap offers the following method to attach files to your feedback items. The attachments won’t be removed after sending feedback as many customers requested them to be incremental. If you need to start over fresh after each report, simply use theremoveAllAttachments method.
- The first parameter is a base64 encoded string.
- The second parameter is the filename. Make sure to also include the file extension.
The file size is limited to 1MB for each file. In addition we limited the
maximum files count to 6 files. These limits make sure that the user
doesn’t have to transfer too much data while sending feedback.