I am trying to launch the gmail app when a user taps on a button in my application. I am using the URL launcher package. Right now, I am testing on android and when I launch URLs for youtube or spotify, the app launches. However, when I try to launch gmail through a gmail url, it is not working.
Here is the URL that I am using: "https://mail.google.com/mail/u/0/#search/thisisasearch". Instead of launching to the app, it launches to the browser. Can anyone help me figure this one out?
Also if anyone knows how to implement this on iOS, that would be greatly appreciated!