Problem description:
I can’t define more than one file handler in the extension manifest.
Note: when I define only one handler, it works perfectly. This is about more than one file handlers breaking everything
Expected behavior:
Defining more than one file handler works, and the context menu for all the file types specified contains the file handler button
Actual behavior:
Defining more than one file handler in the manifest causes the extension to stop loading. (“Failed to load extension manifest”)
Steps to reproduce:
Create an extension
Fill out all of the fields
Replace the fileHandlers field with the one specified below
Load the extension
Notice the manifest does not load, and then remove the extension
Remove the second file handler from the fileHandlers list
That sounds great! Is this feature released already? (I know Replit is a PWA so I might need to force a service worker update before I get the new feature)
I figured out the solution by inspecting Replit’s source code!
Apparently if you have more than one file handler, the icon and name fields are required.
@ArnavBansal I think a docs page made by the extensions beta community would be really useful because then we could add tips like this for other extensions devs to reference