Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instead open emaill, it opens new tab on browser #5

Open
grathi opened this issue Oct 27, 2020 · 4 comments
Open

Instead open emaill, it opens new tab on browser #5

grathi opened this issue Oct 27, 2020 · 4 comments

Comments

@grathi
Copy link

grathi commented Oct 27, 2020

Instead of open email, it opens a new tab on the browser sometimes while installing this plugin and using in the flutter web.

@grathi
Copy link
Author

grathi commented Oct 27, 2020

@vincevargadev
Copy link
Member

@grathi Could you upload the video again? The link doesn't work, maybe you left the GitHub issue tab before the upload was complete.

If you could also create a short example that demonstrates the issue and we could clone and execute locally, that would be appreciated.

With that said, I suspect that the issue is with the url_launcher plugin's web support and there is not much we can do in this package to fix your issue.

@grathi
Copy link
Author

grathi commented Oct 28, 2020

EmailIssue.mov.zip

@grathi
Copy link
Author

grathi commented Oct 28, 2020

CustomDialog( title: "Failed Test Case(s) Information", onEmailTap: () async { final url = Mailto( to: to, // bcc: [ // 'Mike&[email protected]', // ], subject: 'Testing', body: emailBody, ).toString(); if (await canLaunch(url)) { await launch(url); } else { log('Couldn\'t send email'); } },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants