play-services-plugins icon indicating copy to clipboard operation
play-services-plugins copied to clipboard

Use license name for license info when license url is empty

Open littledog623 opened this issue 1 year ago • 1 comments
trafficstars

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 avatar Feb 26 '24 09:02 littledog623

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

littledog623 avatar Feb 26 '24 11:02 littledog623