Hello. I’m developing a Figma plugin to export designs to applitools. This it the manifest:
{
  "name": "Applitools Plugin",
  "id": "1011412324421890620",
  "api": "1.0.0",
  "main": "plugin.js",
  "ui": "ui.html",
  "editorType": [
    "figjam",
    "figma"
  ],
  "networkAccess": {
    "allowedDomains": [
      "*.applitools.com"
    ]
  }
}and I see this in the console when I try to load the plugin’s manifest:
Manifest error: Invalid value for allowedDomains. '*.applitools.com' must include a scheme, such as https://.
 
but according to the documentation (https://www.figma.com/plugin-docs/manifest/#networkaccess) the manifest is valid.
I want to resolve CORS issue which currently I do using cors-anywhere on herokuapp, but this isn’t something I want to keep for several reasons. I’m using the applitools JS images sdk internally to communicate with applitools, which uses XMLHttpRequest internally. I wrapped it using “monkey-patch” to “proxy” the requests to Figma’s fetch command and tried setting the “networkAccess” and then it didn’t load.
Any suggestions?
