Closed jobinsjohn closed 1 year ago
Hello @jobinsjohn đź‘‹
Yes, this is the expected behavior. SPM doesn’t specify licences, so AcknowList doesn’t know what to display and falls back to the repo URL (where one can usually find the licence).
If you really want to embed the licence for your SPM dependencies, you’ll have to specify them from your code, by customizing the acknowledgements
property in your AcknowListViewController
.
Hello @jobinsjohn,
Sorry to bring back this old issue, but it turns out that I found a solution for the problem you reported here. As you can see in #113, AcknowList
will now try to fetch the missing libraries from the GitHub API. Not perfect, but a significant improvement in most cases.
I haven’t released it as a new version yet. You can try it on the main
branch. Let me know if you have any feedback.
Note: Only works with UIKit so far, not with SwiftUI.
I am using Acknowlist to show the licenses of the SPM packages that I am using. The view gives a list of the packages that I am using like as shown below
But when I tap on one of the entries, I am taken to the default landing page of the repository rather than going into the license page as shown below.
For example if I tap on "acknowlist", then the following page is shown
Is this the expected behavior?