【发布时间】:2022-11-19 06:26:38
【问题描述】:
我们开发了一个 Google Workspace 插件,它使用备用运行时.它在 WEB 和 ANDROID 平台上运行良好,但是不在 iOS 上.在 Gmail iOS 应用程序中打开电子邮件时,底部没有插件图标。
需要澄清的是,该插件完全不在帐户中,因此清单文件可能存在解释问题。 Cloud Console 的日志浏览器中没有创建任何日志记录,因此那里没有详细信息。
打开与谷歌的支持票,将其上报给工程团队,他们说:
“我们今天收到了更新,我们已经能够在我们这边重现这个场景,而且问题似乎与插件有关,而不是它部署到 Marketplace 的方式。 在这种情况下,由于问题与 Add on 部署有关,我们将无法进一步调查,但如果您认为它与我们的错误有关,您可以通过访问以下链接提交错误 https://developers.google.com/gmail/api/support#bug或者您也可以访问 Stack Overflow,因为我们有数百名开发人员和 Google 工程师可以为您提供有关您遇到的问题的一些见解。“
这个部署有什么问题?我认为 Workspace 插件在所有平台上都是统一的。下面的清单文件。
{
"oauthScopes": ["https://www.googleapis.com/auth/gmail.send", "https://www.googleapis.com/auth/gmail.addons.execute", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/script.locale", "https://www.googleapis.com/auth/gmail.addons.current.message.readonly", "https://www.googleapis.com/auth/gmail.addons.current.action.compose", "https://www.googleapis.com/auth/gmail.addons.current.message.metadata"],
"addOns": {
"common": {
"name": "***",
"logoUrl": "***",
"useLocaleFromApp": true,
"universalActions": [{
"label": "My Emails",
"openLink": "***"
}, {
"label": "Frequently Asked Questions",
"openLink": "***"
}, {
"label": "Mobile Help",
"openLink": "***"
}, {
"label": "Contact us",
"openLink": "***"
}, {
"label": "My Account",
"openLink": "***"
}]
},
"gmail": {
"contextualTriggers": [{
"unconditional": {
},
"onTriggerFunction": "redacted"
}],
"composeTrigger": {
"selectActions": [{
"text": "redacted",
"runFunction": "redacted"
}],
"draftAccess": "METADATA"
},
"homepageTrigger": {
"runFunction": "redacted"
}
}
}
}
【问题讨论】:
标签: ios google-cloud-platform gmail google-apps-marketplace google-workspace-add-ons