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

This commit is contained in:
David Adegoke 2024-10-31 02:10:40 +01:00 committed by GitHub
parent 5fc649023c
commit 752b6bbebf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 46 additions and 6 deletions

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'],