google / play-services-plugins

Plugins to help with using Google Play services SDK.
https://developers.google.com/android/guides/overview
Apache License 2.0
458 stars 135 forks source link

Cannot retrieve licenses on the devices with Play Service disabled. #267

Open dangerousor opened 1 year ago

dangerousor commented 1 year ago

Describe the bug We found there were some types of devices whose Play Service might be disabled by default at the very first-time users use it. On that condition, we found the open-source licenses activity cannot display well. What we got is an empty page. From the logcat, we saw the reason is the disable status of Play Service. While as we know, the licenses data have already been packaged into application during compile time. Which means, there is no reason that we get into fail when Play Service is disabled.

To Reproduce Steps to reproduce the behavior:

  1. Integrate OSS License plugin
  2. Disable Play Service
  3. Start OssLicensesMenuActivity
  4. See empty page

Expected behavior All license can be displayed on the page

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.