Google chrome Chrome应用程序清单不允许我的URL';s

Google chrome Chrome应用程序清单不允许我的URL';s,google-chrome,google-chrome-app,chrome-web-store,Google Chrome,Google Chrome App,Chrome Web Store,我的清单具有以下权限行: “权限”:[“https://api.vineapp.com/*“,”存储“,”网络请求“,”http://platform.vine.co/*“,”背景“,”*://davine.co/*“,”通知“] 我已开始将我的应用程序上传并发布到Chrome网络商店,但它返回时出现以下错误: An error occurred: Failed to process your item. The field permissions.https://api.vineapp.co

我的清单具有以下权限行:

“权限”:[“https://api.vineapp.com/*“,”存储“,”网络请求“,
”http://platform.vine.co/*“,”背景“,”*://davine.co/*“,”通知“]

我已开始将我的应用程序上传并发布到Chrome网络商店,但它返回时出现以下错误:

An error occurred: Failed to process your item.

The field permissions.https://api.vineapp.com/* is not allowed in manifest.
The field permissions.http://platform.vine.co/* is not allowed in manifest.
The field permissions.*://davine.co/* is not allowed in manifest.

但Chrome应用程序文档中明确指出,您计划向其发出ajax/xhr请求的任何域都应该在清单上的权限中声明。我尝试从我的清单中删除它们并再次上传,但我遇到了大量CORS错误,我的应用程序被禁止发出请求。

我没有尝试使用通配符,但它应该可以删除尾随的星号,如文档所示:

此外,协议中带有通配符的url将不符合犹太教标准,请尝试以下方式:

"permissions": ["https://api.vineapp.com/", "storage", "webRequest",
"http://platform.vine.co/", "background","http://davine.co/", "https://davine.co/",
"notifications"]

并将http或https以外的任何内容添加到列表中。

您是否尝试过使用这种模式的通配符

"permissions": ["https://api.vineapp.com*", "storage", "webRequest",
      "http://platform.vine.co*", "background","*://davine.co*", "notifications"]
请注意,“引用外部资源”似乎与的规范不一致——我怀疑这是最近的变化,谷歌还没有纠正他们不一致的文档。(+1)