I was using open_mail_app package, but since I moved to Flutter 3.29.3, the open_mail_app stopped working. So I tried this library, which works in iOS but fails for Android. Here is the error message I am getting:
new MailApp.fromJson (open_mail_app_plus.dart:410)
OpenMailAppPlus._getAndroidMailApps.<fn> (open_mail_app_plus.dart:263)
Iterable.toList (dart:core)
OpenMailAppPlus._getAndroidMailApps (open_mail_app_plus.dart:265)
OpenMailAppPlus.getMailApps (open_mail_app_plus.dart:249)
EmailMixins.openMailApp (email_mixins.dart:8)
Line 8 in EmailMixins has the following code:
final apps = await OpenMailAppPlus.getMailApps();
I am importing the package like this:
import 'package:open_mail_app_plus/open_mail_app_plus.dart';
Please look at it and let me know.
Thanks
I was using open_mail_app package, but since I moved to Flutter 3.29.3, the open_mail_app stopped working. So I tried this library, which works in iOS but fails for Android. Here is the error message I am getting:
Line 8 in EmailMixins has the following code:
I am importing the package like this:
Please look at it and let me know.
Thanks