The FeatureManagement Class methods include the word package e.g.:
checkPackageBooleanValue(String apiName);
and the apiName
passed in doesn't have any namespace in the documentation examples. So presumably the package is identified automatically inside the methods.
I can think of two ways that that could be designed:
- It's the package that the request/transaction started in.
- It's the package of the code that calls the method.
Most of the time these would be the same, but I'd like to put this code in a base package that several other packages depend upon, and if 2 is how it works, I can't do that in a simple way.
So is it 1 or 2 or something else?