I want to store app information like license type, number of guests users, license based app restrictions etc. I am looking for the following features along with this.
This information should be visible to the user in the managed package but not editable (of course).
The information can only be edited by the system admin (i.e. he can change the license type and restrictions).
The info also needs to be accessed by Apex code, to read from it and possibly update fields in the future.
I am leaning on using custom metadata types. But so far it does not have any support for apex. I can use a custom object but I do not want to waste it for creating a single settings record. I am confused on how to go about this.
Any suggestions?