skip to Main Content
await launchUrl(Uri.parse("mailto:"));

Takes me to compose, I just want to open the mail app.

I expected to open the mail app, but it’s not working, please suggest any package or lib for it

2

Answers


  1. You can use like below :

    launch("https://mail.google.com/mail/u/0/#inbox")
    

    Or you can use this package:

    https://pub.dev/packages/external_app_launcher

    Login or Signup to reply.
  2. this will help you to open app device_apps 2.2.0

    link : https://pub.dev/packages/device_apps

    call this code using package name

    DeviceApps.openApp('com.google.android.gm');
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search