Problem

  • when a user doesn't have an email application, the dialogue that appeared will ask the user to send an email manually to [email protected]

Proposed solution

  • Add a copy to clipboard button next to the email address

Mockups

Part of

  • #525
0

I have already made the changes, if this feature is okay, I will create a pr for the same

0

Sounds good, but after all, I think that this "no email" application thing is broken. I have Gmail installed, but it is still showing as no application installed

0

Yeah! Same in my case ! I will try to look into that also ! The expected behaviour is to directly open up the email or any other application that the use has locally with to as [email protected] . Right ?

0

Sounds good, but after all, I think that this "no email" application thing is broken. I have Gmail installed, but it is still showing as no application installed

As an Android java dev, I've recently decided not to check first if there are apps that can manage that URI. I just catch the exception:

        try {
            pContext.startActivity(pIntent);
            return true;
        } catch (ActivityNotFoundException e) {
            //
        }

This way I don't even need to put anything specific in AndroidManifest.xml (is that <query>?), as I don't need to know intrusively beforehand if there are apps that manage the URI.

Don't know how relevant it is in flutter with the packages we use.

0
© 2022 pullanswer.com - All rights reserved.