There are many ways to do this. I have used them in the past and have good and bad luck. Here are some requirements that I have with this library:
Do not automatically generate the list of open source licenses like this plugin. You end up with way too many items in your list. Sure, it finds everything for you and I appreciate that but for the end user, this list is hundreds of list items long.
Do not be a UI library like this library because (1) the UI might not look good for what you are looking for and (2) you now need to keep the androidx dependencies up-to-date.
Be flexible. Also allow creative commons attributions.
Be super easy to maintain. Super quick to get into an app. Should not be hard.
The user of the app should have this be usable. I do not like the apps that just have a super long list of text licenses dumped. I want this list to be something that is useful for aspiring app developers to view the list. And, yes, include the license for legal reaasons.
There are many ways to do this. I have used them in the past and have good and bad luck. Here are some requirements that I have with this library: