setEnabledAttachmentTypes static method
Sets whether attachments in bug reporting and in-app messaging are enabled or not.
screenshot
A boolean to enable or disable screenshot attachments.
extraScreenshot
A boolean to enable or disable extra screenshot attachments.
galleryImage
A boolean to enable or disable gallery image
attachments. In iOS 10+,NSPhotoLibraryUsageDescription should be set in
info.plist to enable gallery image attachments.
screenRecording
A boolean to enable or disable screen recording attachments.
Implementation
static Future<void> setEnabledAttachmentTypes(
bool screenshot,
bool extraScreenshot,
bool galleryImage,
bool screenRecording,
) async {
return _host.setEnabledAttachmentTypes(
screenshot,
extraScreenshot,
galleryImage,
screenRecording,
);
}