The edge extension keys

Nidhi 1 Reputation point
2020-11-03T04:57:30.347+00:00

I have been wanting to add a "minimum_edge_version" key to my manifest file of edge extension. as shown in your documentation here :https://learn.microsoft.com/en-us/microsoft-edge/extensions/api-support/supported-manifest-keys/json-manifest-example

But when I added the key , it shows error in edge developer saying the key is not recognised. 36959-minimum-edge-version-error.png

Now as mentioned in your other documentation https://learn.microsoft.com/en-us/microsoft-edge/extensions/, this key "minimum_edge_version" is not valid as its is not even present in the list....

So my only question is how can I add the "minimum_edge_version" key to my manifest file or not? if yes how?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,237 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepak-MSFT 2,191 Reputation points Microsoft Vendor
    2020-11-03T07:55:26.457+00:00

    @Nidhi ,
    From the picture of the error message, it looks like you are developing an extension for the MS Edge Chromium browser.

    37093-183.png

    If we try to visit the documentation link that you had posted in the original post, you can notice that the documentation is for the MS Edge legacy browser.

    The key minimum_edge_version mentioned there will not work with the extension for the MS Edge Chromium browser.

    To add the minimum version in the manifest file of the extension, I suggest trying to use the "minimum_chrome_version": "versionString" key.

    Sample of the manifest:

    "name": "Test extension",  
      "version": "0.0.0.1",  
      "manifest_version": 2,  
      "minimum_chrome_version": "86.0.622.58",  
      "description": "This is Test extension",  
    

    I tested this key by adding it to the manifest and try to load the extension in a different version of the Edge Chromium browser. Based on my test result key is working properly and the extension not generating the error for this key.

    ----------

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments