我有一个 Gmail 插件,它在其 appsscript.json 文件中使用以下内容:
{
"timeZone": "GMT",
"dependencies": {
"enabledAdvancedServices": [{
"userSymbol": "Gmail",
"serviceId": "gmail",
"version": "v1"
}]
},
"webapp": {
"access": "ANYONE",
"executeAs": "USER_ACCESSING"
},
"oauthScopes": ["https://www.googleapis.com/auth/gmail.addons.execute", "https://mail.google.com/", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/gmail.settings.basic"],
"gmail": {
"name": "<REDACTED>",
"logoUrl": "<REDACTED>",
"contextualTriggers": [{
"unconditional": {
},
"onTriggerFunction": "getContextualAddOn"
}],
"primaryColor": "#41f470",
"secondaryColor": "#94f441"
}
}
我需要做些什么才能使插件在 Gmail 中可见吗?有时它似乎在几个小时后消失了,让它再次出现的唯一方法是卸载并重新安装它。
谢谢。