Google 的收件箱是否有 iOS 邮件方案 url?

Is there an iOS mail scheme url for Google's Inbox?

如果您想检查您的用户是否有 Gmail(以便您可以切换到 Gmail 发送电子邮件),您可以查看他们是否可以打开 "googlegmail:///co?to="

Google 的新应用 Google Inbox 是否有等效项?

我试过 "googleinbox:///" 但没用。

有没有可以找到这些链接的地方? 尝试过:http://handleopenurl.com/,但甚至没有 Gmail(编辑现在这个网站已经死了。)

谢谢

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

  1. Download the app in iTunes on your Mac
  2. Go to the "My Apps" tab, right click on the app and choose "Show in Finder"
  3. Right click on the app file and "Open with" -> "Archive Utility"
  4. Open the extracted folder. Open "Payload" folder.
  5. Right click on application and choose "Show Package Contents"
  6. You've now got access to the Info.plist for the app and all the other resources: image, sounds, .strings, etc.