Skip to content

Conversation

@littledog623
Copy link

@littledog623 littledog623 commented Feb 26, 2024

Sometimes the artifact only declares license name, and the license url is empty. This results in the empty page for such artifact in the Google Play OssLicenseActivity. An example of such artifact is com.microsoft.identity:common: https://repo1.maven.org/maven2/com/microsoft/identity/common/17.0.0/common-17.0.0.pom, where only a <name>MIT License<\name> tag is provided. I think we should display the name tag if the license tag is absent.

Use license name as a fallback when license url is not available to make sure there is always something to display in the license.

@littledog623
Copy link
Author

Can someone please help review this pull request? Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant