fix: Generic fixes of bugs from Support (#1774)

This commit is contained in:
David Adegoke
2024-10-31 04:10:40 +03:00
committed by GitHub
parent 5fc649023c
commit 752b6bbebf
10 changed files with 46 additions and 6 deletions
+8
View File
@@ -62,6 +62,14 @@ class ExceptionHandler {
await _addDeviceInfo(_file!);
// Check if a mail client is available
final bool canSend = await FlutterMailer.canSendMail();
if (Platform.isIOS && !canSend) {
debugPrint('Mail app is not available');
return;
}
final MailOptions mailOptions = MailOptions(
subject: 'Mobile App Issue',
recipients: ['support@cakewallet.com'],