指向Gmail应用中特定邮件的深层链接 [英] Deep link to specific message in Gmail app

查看:57
本文介绍了指向Gmail应用中特定邮件的深层链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我成功拥有来自gmail api的消息网址:

I successfully have a message url from the gmail api:

https://mail.google.com/mail/?authuser=roy@companyemail.co#all/155134b5e66a9b06

但是,当我调用[[UIApplication sharedApplication] openURL:url]方法时,将打开Web客户端而不是本机iOS应用程序(并且仅显示收件箱,而不显示特定消息).不知道它是否与LSApplicationQueriesSchemes有关,但是不管如何-在Gmail iOS文档中找不到与此有关的任何文档,所以如果有人有任何想法!

However, when i call the [[UIApplication sharedApplication] openURL:url] method, the web client gets opened up instead of the native iOS application (and just shows the inbox, not the specific message). Not sure if it has to do with the LSApplicationQueriesSchemes or not, but regardless - couldn't find any documentation on this in the Gmail iOS documentation, so if anyone has any ideas!

谢谢

推荐答案

通过布雷特(Brett)发布的链接,此深层链接URL允许我打开gmail:

Through the links the Brett posted, this deep link url allowed me to open gmail:

googlegmail://

尽管如此,仍在搜索有关深层链接到特定电子邮件的说明

Still searching for instructions on deep linking to a specific email though

这篇关于指向Gmail应用中特定邮件的深层链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆