If you want to check if your user has Gmail (so you can switch to Gmail to send an email) you can see if they can open "googlegmail:///co?to="
Is there something equivalent for Google's new app, Google Inbox?
I tried "googleinbox:///" but it didn't work.
Is there a place where you can find these links? Tried: http://handleopenurl.com/, but doesn't even have Gmail (EDIT now this site is dead.)
Thanks
The Info.plist in the Inbox app lists 4 URL Schemes it will respond to:
inbox-gmail
inbox-gmail-x-callback
com.google.sso.296495646338-v31uuqp2kboh7qfi8jh5oga1lk1lb5sj
com.google.sso.294296358152-6s4pqed0qa6sk3m3k2pcmsu2jidh8n5u
The last two are most likely for single sign on callbacks, and the second is probably used for returning to Inbox after Inbox itself does an [UIAppliaction openURL:] to another Google app (e.g. Google Maps). I've tested "inbox-gmail" and it does open the Inbox app.
To open Inbox and compose an email you use the same url as gmail, but without the triple forward slash:
googlegmail:///co?to={email}&subject={subject}&body={body}
inbox-gmail://co?to={email}&subject={subject}&body={body}
Here's how you can access Info.plist for Inbox or any other app on the App store
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With