【问题标题】:Published Gmail Add-On Not Showing on Mobile Gmail App已发布的 Gmail 附加组件未显示在移动 Gmail 应用程序上
【发布时间】:2020-04-30 04:24:05
【问题描述】:

Google Developers page here 上写着“扩展 Gmail 的 G Suite 插件可以在桌面和移动客户端上执行此操作。”

My published add-on linked here 在市场上。它只是扩展 gmail(我在下面包含了我的清单文件)。但是,我的插件只出现在网络上。我无法让它显示在移动设备上。

我做错了什么还是有错误?为什么我已发布的 Gmail 插件没有显示在移动 Gmail 应用程序上?

感谢您的帮助!

清单文件(appscript.json):

 {
  "timeZone": "GMT",
  "dependencies": {
  },
  "gmail": {
    "name": "Smarty",
    "logoUrl": "https://images.squarespace-cdn.com/content/v1/5e55a48565fc4c78f503ac25/1586923750635-O2EA9H2ZLCH4B926L8T3/ke17ZwdGBToddI8pDm48kJK4Mm1kch8SFO9ZNkN1NT97gQa3H78H3Y0txjaiv_0fDoOvxcdMmMKkDsyUqMSsMWxHk725yiiHCCLfrh8O1z5QHyNOqBUUEtDDsRWrJLTmN9YSRtfoTLg6dUq-6F17A0FFZK5fArcnK1IqGweyunyWChwIwkIJ_P7MaZif-uMs/SmartyDescriptor.png",
    "contextualTriggers": [{
      "unconditional": {
      },
      "onTriggerFunction": "getContextualAddOn"
    }],
    "primaryColor": "#40c2ff",
    "secondaryColor": "#e84f81"
  },
  "oauthScopes": [
    "https://www.googleapis.com/auth/calendar", 
    "https://www.googleapis.com/auth/gmail.addons.execute", 
    "https://www.googleapis.com/auth/gmail.addons.current.message.readonly",
    "https://www.googleapis.com/auth/userinfo.email",
    "https://www.googleapis.com/auth/script.external_request", 
    "https://www.google.com/m8/feeds"
  ],
  "urlFetchWhitelist": [
    "https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment-with-locales.js",
    "https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.28/moment-timezone-with-data.js",
    "https://api.wit.ai/"
  ],
  "runtimeVersion": "V8"
}

【问题讨论】:

  • 你搞清楚了吗?我也有同样的问题

标签: gmail gmail-addons google-developers-console gsuite-addons


【解决方案1】:

只是为了确定移动设备的含义:它是移动 gmail 应用程序 (android/iOS),而不是移动网络浏览器。因为它在后者中不起作用

您需要在您的 gmail 应用程序上打开一封电子邮件,滚动到底部并单击文本“可用插件”旁边的插件图标,请参阅https://developers.google.com/gsuite/add-ons/how-tos/starting-addons#on_mobile_gmail_only

目前这是唯一的方法。由于有此限制,您只能从电子邮件中打开它,因此电子邮件之外没有主页或视图。所以那里的附加组件根本不可用。见https://developers.google.com/gsuite/add-ons/how-tos/starting-addons#on_mobile_gmail_only

这可能就是你没有找到它的原因

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-08-19
    • 1970-01-01
    • 1970-01-01
    • 2011-06-29
    • 1970-01-01
    • 2017-04-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多