我的清单具有以下权限行:
"permissions": ["https://api.vineapp.com/*", "storage", "webRequest",
"http://platform.vine.co/*", "background","*://davine.co/*", "notifications"]
我已经开始将我的应用上传并发布到 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 错误,并且我的应用程序被禁止发出请求。