AppName and JavaScript extension

I have reversed PoClip extension inJS with header:

// #popclip
// name: Multiline
// icon: Multiline
// language: javascript
// required apps: [ "LibreOffice" ]

but this extension is not present if I select text in LibreOffice. I don’t know does name of app would be in apostrophes, but even if I remove them, extension is still not visible.

I have created another PopClip extension which just show (and copy to clipboard) AppName and it is presented as LibreOffice. What can be wrong?

Instead of the app name, you will need to put the Bundle ID of LibreOffice. The easiest way to find this is to use the Bundle ID extension.

Am I blind and don’t see this information in the documentation? If not - please update also this section.

I see only:

Dictionary, or array of dictionaries, describing the app(s) or website(s) associated with this action. You can, optionally, specify that the app must be present on the system for the action to work. See The app dictionary.

but in other parts (required apps, included apps, check installed) information about bundle is included.

BTW - in some place I’ve seen (in chanlog probably), that apps name was superseded by app keyword because “most of us will limit extension to the one application” what of course is not true (f.ex. a few different text editors may use the same extension). The question is - does apps is supported or not?
In the section:

is:
To specify multiple apps, use the apps field instead, supplying an array of dictionaries.

Sorry for such detailed questions but I’m the old man and learn the product from the documentation.

There are two different properties: required apps and apps. One does not supersede the other. Though similarly named, they have different purposes.

If you want to filter the action to only appear when selecting text in certain apps, use required apps property, which is an array of bundle identifiers, as documented:

If you want to check that an app is present on the system when the action is invoked, use app or apps property. This is useful for when the action sends the text to a certain app that must be present for the action to work. For example, Obsidian, Parcel, etc.